Hi Damir,
In a recent copy of Moose, you can use Mondrian/Roassal to do similar visualizations. As an example of how you could create a similar output to the GraphViz for your example data, you could try the following code in a workspace:
|view class| view := ROMondrianViewBuilder new. class := { 'Car' -> 'tire1'. 'Car' -> 'tire2'. 'Car' -> 'tire3'. 'Car' -> 'tire4'. }. class do: [:e| view shape circle withText node: e value]. view shape circle withText node: class first key. view edgesFromAssociations: class; treeLayout. view open
I am sure there are better ways to handle this, but this is roughly what I've been using myself. If you are working with class diagrams (or visualizing code), you should definitely look into importing the code into Moose itself, and utilizing its analysis tools - they are interesting and continue to evolve (and get more interesting).
-Chris
On Wed, Apr 17, 2013 at 8:59 AM, Damir Majer damir@majcon.de wrote:
Hi,
I´m searching for Options to visualize diagrams, for example an class-diagram. Is there an graphViz-Implementation in Pharo or better other Options to display Diagrams? (here is the graphViz-Dot-Example: graph ethane { Car -- tire1 [type=s]; Car -- tire2 [type=s]; Car -- tire3 [type=s]; Car -- tire4 [type=s]; }
Thanks for routing me in the right direction!
Cheers, Damir
-- Damir Majer ... be agile: www.majcon.de -- View this message in context: http://forum.world.st/Options-for-Visualization-tp4682144.html Sent from the Moose mailing list archive at Nabble.com.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev