Stimp
February 28th, 2009, 05:28 AM
I want to implement a force-directed layout in my Flash program. On my search for an already-made component I bumped into these:
SpringGraph (http://mark-shepherd.com/blog/springgraph-flex-component/) (Flex component)
Flare (http://flare.prefuse.org/) (Flare has a force directed layout class, but also a Flex component)
GraphGear (http://www.creativesynthesis.net/blog/projects/graph-gear/) (AS2 implementation of force directed layout)
Graph.as (http://sawamuland.com/flash/graph.html) (AS3 implementation, but not so smooth)
All these classes are not directly implementable in Flash. I tried to get the latest Flare running in Flash by using the Flex SDK files as well as for Springgraph, but this seems like a too complex way to create a force directed layout. The GraphGear is quite nice and compact, but written in AS2. Graph.as is too experimental to directly implement.
I am thinking about porting GraphGear to AS3, but maybe somebody here already has experience with the implementation of a force-directed layout in Flash? Or anyone has tried to use one of these components in Flash?
SpringGraph (http://mark-shepherd.com/blog/springgraph-flex-component/) (Flex component)
Flare (http://flare.prefuse.org/) (Flare has a force directed layout class, but also a Flex component)
GraphGear (http://www.creativesynthesis.net/blog/projects/graph-gear/) (AS2 implementation of force directed layout)
Graph.as (http://sawamuland.com/flash/graph.html) (AS3 implementation, but not so smooth)
All these classes are not directly implementable in Flash. I tried to get the latest Flare running in Flash by using the Flex SDK files as well as for Springgraph, but this seems like a too complex way to create a force directed layout. The GraphGear is quite nice and compact, but written in AS2. Graph.as is too experimental to directly implement.
I am thinking about porting GraphGear to AS3, but maybe somebody here already has experience with the implementation of a force-directed layout in Flash? Or anyone has tried to use one of these components in Flash?