Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » zest GraphConnection text
zest GraphConnection text [message #745489] Sat, 22 October 2011 21:27
rudot is currently offline rudotFriend
Messages: 1
Registered: October 2011
Junior Member
Hi,
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.

Thanks
Previous Topic:Node Deselection
Next Topic:expand and collapse an editpart by clicking on it
Goto Forum:
  


Current Time: Wed Nov 26 04:27:57 GMT 2014

Powered by FUDForum. Page generated in 0.01786 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software