I have a graph in which the nodes have 0 or more successors and 0 or more predecessors. I want to make a visualization (preferably through JAVA) such that:
- There should be a search box. If I enter the id of the node the node should appear on the screen.
- If I left click a node, it's children should appear below the node(in tree representation).
- If I right click the node then it's parent should appear above the node.
- If I double click any node then it should have same effect as searching the node(as in point 1)
I want to know what approach should I follow (any package etc.)? Is there some similar implementation whose code I may reuse?