Something to consider when looking into https://sourceforge.net/tracker/?func=detail&aid=3551320&group_id=73840&atid=539119
I have an AggregateLayout with several CircleLayouts. There is a workaround above which allows the user to change the Size or Graph of each CircleLayout after it is initialised.
However, there is still one more problem. Lets say there is only one CircleLayout and it is displaying a subGraph in a little circle. If the user moves vertices (contained in the CircleLayout) and then adds some more vertices to its Graph, then the user's translations are ignored and the subGraph is again drawn at the original location.
There are two ways to think about how the AggregateLayout *should* behave: (a) remember the user's translations for each node or (b) to calculate the average of all the vertices in the subLayout and use it as the new centre.
I'm afraid I cannot do a workaround because every time I try to get the location of a vertex (by calling AggregateLayout.transform) then it doesn't seem to tell me the user's translations.
Log in to post a comment.