onierstrasz / IMAD

experiments using Gt and Mondrian to build executable domain models
MIT License
3 stars 1 forks source link

How to correctly layout graphs with fixed positions? #34

Closed onierstrasz closed 3 years ago

onierstrasz commented 3 years ago

HypernodeElement>>#initializeFor: needs to set a layout that will react to children with explicitly assigned positions. BlBasicLayout works, but for some reason has empty measuredBounds.

Is there another layout object to use? Do we need to set the bounds explicitly? Should we define another subclass of BlLayout?

onierstrasz commented 3 years ago

AS: Please try with BlFitLayout first