Cool :-)
Alexandre
On 10 May 2010, at 13:06, Tudor Girba wrote:
Hi,
Just for fun, I created a class in the GraphViz package that takes a given view script and generates files with different layouts. This might be useful for deciding on the kinds of layouts that might be appropriate for your graphs. I put this in the MondrianGraphVizLayout package because I have hard references to GraphViz classes.
Here is an example: MOAllLayouts exportView: [:view | view nodes: (1 to: 100). view shape arrowedLine. view edges: (1 to: 100) from: [:x | x // 10] to: #yourself. view nodes: (100 to: 200). view shape arrowedLine. view edges: (100 to: 200) from: [:x | (x // 10) + 100 ] to: #yourself. ]
The result is attached here.
Cheers, Doru
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
<layouts.zip> _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev