Thanks to SVG you can find the text in the JointJS+ diagram elements and navigate to them using the browser search. However, there are cases where you want to use a custom search, for example if you only want to search by data stored in models or if the text you are looking for is part of a collapsed branch. In this case, custom search is useful. See below for an example of how to implement such a search, which we demonstrate on our own sitemap generated from an XML file. Enjoy!
Enter any text in the search bar and check if you can find it in our sitemap. Study the source code of this demo to see how the sitemap is generated using XML and how the custom search is implemented.
The source code of this demo is available as part of the JointJS+ commercial license. Don't have a license yet? Start a trial and use the source code of this and many other demos for free, with no obligations, for 30 days.