--- In [email protected], "phoberomys" <[EMAIL PROTECTED]> wrote: > > There are a few java implementations of this that have been around for > awhile ( http://prefuse.org/ , http://www.touchgraph.com/ ) but > attempts at doing graph layout in as2 usually croaked when graphs > reached any level of complexity. > > Is anybody building anything like this in as3? I am thinking about > starting work on building a system starting from this javascript > implementation: > http://www.kylescholz.com/blog/2006/06/using_force_directed_graphs.html > > Thoughts? Would anyone else be interested in working on this with me? >
I did this with Flash 8 and ActionScript 2.0. For each graph edge, I used a spring formula to keep nodes together. For each node, I used a repulsion formula to bounce them off each other. Each node was represented by a drawn cirlce movie clip and a textfield in the center of the circle for the node name. It does get a little sluggish when over 25 nodes are in the graph, luckily that was a low probability for my project. Anyways... long story short, I'm porting it to Flex/AS3 this week probably. It's a fun project. I can't wait to see if it's faster using the new stuff. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

