Botond Ballo
unread,Jun 19, 2009, 2:16:01 PM6/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cytoscape-discuss
Hello,
I'm writing a plugin for cytoscape that contains a new layout
algorithm, and I'm wondering how I can make an edge curved using the
API. For example, if I use the Editor to create two nodes and two
edges between them, the second edge will be smoothly curved. That's
what I'm after.
I tried calling setLineType(EdgeView.CURVED_LINES) on the EdgeView,
but that alone does nothing. Do I also need to call addHandle() on the
EdgeView? If so, how do I figure out what coordinates to pass to
addHandle().
Thanks,
Botond.