|zest GraphConnection text [message #745489]
||Sat, 22 October 2011 21:27
Registered: October 2011
I am doing some visualization with zest. I have a graph and for each edge I would like to show a short label. I think the natural way is to use this approach:
graphConnection.setText("This is a text");
You can see here www.vogella.de/articles/EclipseZest/images/simple10.gif how it looks like.
I have 2 questions:
1. Is it possible to use a different color for the text than for the graph edge? (In the linked picture both are green)
2. Is it possible to make the text appear along the graph edge? I mean that the text should not cross the edge but I would like it to appear next to the edge in the same direction as the edge.
Powered by FUDForum
. Page generated in 0.01557 seconds