|Adding Custom Connections [message #781560]
||Sat, 21 January 2012 17:01
| Snakebyte Missing name
Registered: November 2011
today i tried a little bit with Zest and already got it working really well.
Here is a code snippet i used to draw a simple connection between two nodes.
GraphNode node1 = new GraphNode(graph, SWT.NONE, "Jim");
GraphNode node2 = new GraphNode(graph, SWT.NONE, "Jack");
new GraphConnection(graph, ZestStyles.CONNECTIONS_DIRECTED, node1,
Doing this draws me a directed edge with a filled closed arrow.
In my Use Case i need both , directed edges with filled closed arrow, and directed edges with closed (non-filled) arrow.
Can i define my one connections in any way ?
Powered by FUDForum
. Page generated in 0.01991 seconds