ObjectProfile / Roassal3

The Roassal Visualization Engine
MIT License
97 stars 52 forks source link

We need an interaction for the treelayout and rectangle pack layout #72

Closed akevalion closed 4 years ago

akevalion commented 5 years ago

Martin has created a nice interaction with RSTreeLayout an RSRectanglePackLayout. We need that in roassal as a basic interaction

akevalion commented 5 years ago

There is a new version of roassal3 with RSRectanglePackLayout with a simple example image

akevalion commented 4 years ago

I think that we can close this issue RSHierarchyPacker is an interaction that moves the shapes by hierarchy and put events to the canvas to change the position of each node

| builder classes |
builder := RSUMLClassBuilder new.
classes := { 'Roassal3-Layouts'. 'Roassal3' }
    flatCollect: [:pkgname | (RPackage organizer
        packageNamed: pkgname) definedClasses ].
builder classes: classes.
builder renderer: RSTorchUMLClassRenderer new.
builder build.
builder canvas @ RSHierarchyPacker.
^ builder canvas.

Think that we can close this issue

bergel commented 4 years ago

Is there a reason why RSHierarchyPacker only works with RSRectanglePackLayout ?

bergel commented 4 years ago

Anyway, seems to work well for RSRectanglePackLayout. Well done!