|
I'm currently evaluating this framework for a custom workflow builder. Do you know if there is a feature to add additional points on edges? \nBy additional points I mean a guide on the edge that can allow you to drag it to modify the path of the edge.\nSo I would like something like: \neditor.graph.insertEdge(editor.graph.getDefaultParent(), null,'label',edge1,edge2); |
|
You can add waypoints as follows for a given edge: \nedge.getGeometry().points = [new mxPoint(x, y)]; \nHere is an example that does this (lines 347 and 353). \nSee also: mxConstants.STYLE_EDGE I tested it. It's exactly what I was looking for. Thank you!!!
(24 Mar '11, 01:09)
gargamel25
|