| Zest: Layout of Graph with GraphContainer [message #897113] |
Sat, 21 July 2012 19:12  |
Stefan Ettrup Messages: 3 Registered: July 2012 |
Junior Member |
|
|
Hi All.
I'm having a problem with resizing of nested GraphContainer nodes.
In the example I'm having I have a graph containing four GraphContainer components A,B,C and D.

These containers contains a different numbers of nodes. However it doesn't seem to be resizing properly. This can be seen on the picture.
If I then for instance call "A.setSize(1000,1000);" the nodes inside this container is just resized, such that I still have the same space issue.
How can I get the GraphContainer size bigger, while maintaining the same size for nodes inside this container?
Help is very much appreciated.
Thanks in advance.
Attachment: zest1.png
(Size: 38.06KB, Downloaded 280 times)
[Updated on: Sat, 21 July 2012 19:12] Report message to a moderator
|
|
|
|
|
|
|
| Re: Zest: Layout of Graph with GraphContainer [message #996311 is a reply to message #995023] |
Tue, 01 January 2013 14:02  |
Zoltan Ujhelyi Messages: 98 Registered: July 2009 |
Member |
|
|
Hi Brandon,
sadly, we had no time to work with GraphContainers recently, so they are still a lot of known issues with them. Additionally, the built-in graph layouts also cannot handle really well the special cases possible (e.g. connecting a top-level node with a contained node makes it hard to determine a good layout).
In other words, making the GraphContainers useful needs a lot of work in general for we do not have the effort to do it - and that also consists of defining a re-usable public API for them.
About the tickets and modifications from the other thread: we are not authorized to take in the code from the Eclipse Forums directly into Zest because of IP reasons - such modifications should have been attached to a Bugzilla ticket.
Alltogether, if you have the time, and can (and are allowed to) updating the code to a better version, please attach the required changes to the mentioned tickets (and also report back here, as I am not cc-ed for all the existing tickets), and I am ready to review the code, and then integrate it to the Zest code base.
Sorry that I cannot help anymore,
Zoltán
|
|
|
Powered by
FUDForum. Page generated in 0.02146 seconds