Zest: How to change the connection line style?

169 Views Asked by At

I'm using GraphViewer of Zest. I've also used content and label provider for it. The line or connection doesn't contain a arrow in one of it's end. How to change the style of the line? I'm following this tutorial: http://www.vogella.com/tutorials/EclipseZest/article.html

1

There are 1 best solutions below

1
hungpq On

You just have to use style for graphconnection.

new MyGraphConnection(graph, ZestStyles.CONNECTIONS_DIRECTED, source, destination)