It'd be great to improve the demo for a more effective testing of the algorithm. Here are some suggestions:
[x] Allow user to input the graph (in .graphml like many of our other demos?) for testing. Marke all nodes to be outside the hierarchy by default
[x] Let user select and mark nodes in the hierarchy (a button for resetting all nodes in the hierarchy and one for adding selected nodes to the hierarchy?) Nodes in the hierarchy should be colored distinctly. We also need to mark selected nodes (using underlay? use a darker gray than the one we get when left clicking on a node?) distinctly.
[x] Upon layout, when we detect the components outside the hierarchy we should color them distinctly (one distinct color per component) as well.
The new buttons for new functionality could be on the top of the canvas like "Run Layout" since we probably won't have many of these.
It'd be great to improve the demo for a more effective testing of the algorithm. Here are some suggestions:
The new buttons for new functionality could be on the top of the canvas like "Run Layout" since we probably won't have many of these.