Select a node or region using mouse and identify which node(s) are selected by a user
I am new in ZGRViewer's applications. I am generating visual plots of graphs in a Jpanel from a dot file. I am using ZGRViewer, a GraphViz/DOT Viewer. Now my requirement is: using mouse user may want to select a node or region in the visual plots (generated by ZGRViewer) of the graph and want to know which node(s) are selected by the mouse click/mouse motion. In reference to the attached file, user may want to select a node like, C_8 or want to select a region, containing nodes C_8, C_9, N_7, O_10 using the mouse and identify nodes/node label(s) associated with mouse click or selection.