The IDEA plugin (downloadable from Sparx plugin page, or Google it) has a function to generate html report with search function, have not looked into it myself but it may be what you are looking for.
I tried this plugin, but it generates a different html version of the model and unfortunately it is not suitable for my application.
I was looking for a modification of html template a sort of:
<div> <input type="text" id="myInput" onkeyup="searchDiagram()" placeholder="Search for diagrams..">
</div><script> function searchDiagram() {}
</script>Anyone has an idea how to write the function searchDiagram in order to search into html export a diagram name?