06-04-2008, 05:12 PM
Good morning,
hope all are well.
This demo is the result of my further investigation into the possibility of applying different layouts on distinct subsets of the same underlying graph.
This demo displays its graph as follows
The demo uses modifications of the CricleLayout and RadialTreeLayout in order to achieve this. These modifcations enable their user to specify filter methods in order to restrict the nodes to be handled by the layouts.
Obviously the demo does what was desired. Nevertheless please be aware that the modifications of the layouts are not tested to be of general usage, they were just modified to fulfill the purpose of this specific “proof of concept” demo. (filtering according to tree depth ...)
I hope a filtering/predicate feature like that will at one point be part of the flare lib, the range of possibilities springing from layouts on graph subsets seem to be very promising.
Feedback as usual most welcome
[attachment=197]
cheers
martin
this demo in action
requires flare version 2008.07.29 or higher
hope all are well.
This demo is the result of my further investigation into the possibility of applying different layouts on distinct subsets of the same underlying graph.
This demo displays its graph as follows
- nodes within a distance of 2 from the last clicked node are displayed according to the RadialTreeLayout
- further nodes are arranged around this radial graph according to the CircleLayout
The demo uses modifications of the CricleLayout and RadialTreeLayout in order to achieve this. These modifcations enable their user to specify filter methods in order to restrict the nodes to be handled by the layouts.
Obviously the demo does what was desired. Nevertheless please be aware that the modifications of the layouts are not tested to be of general usage, they were just modified to fulfill the purpose of this specific “proof of concept” demo. (filtering according to tree depth ...)
I hope a filtering/predicate feature like that will at one point be part of the flare lib, the range of possibilities springing from layouts on graph subsets seem to be very promising.
Feedback as usual most welcome
[attachment=197]
cheers
martin
this demo in action
requires flare version 2008.07.29 or higher
