Skip to main content

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
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 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.

Previous Topic:Limit ScrollableGraphicalViewer height, so it actually scrolls
Next Topic:Command Stack change and save action
Goto Forum:

Current Time: Thu Oct 21 19:30:18 GMT 2021

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

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

Back to the top