How could I get spline edges for mxHierarchicalLayout or mxHierarchicalLayout?

asked 18 Apr '11, 23:10

MaSEL's gravatar image

MaSEL
114
accept rate: 0%


Set the edge styles to curved:

style[mxConstants.STYLE_CURVED] = '1';

and tell the hierarchical to assume curves when laying out:

mxCoordinateAssignment.prototype.edgeStyle = mxHierarchicalEdgeStyle.CURVE;
link

answered 26 Feb '13, 06:16

David's gravatar image

David
4.9k21831
accept rate: 47%

Sorry but there is no such thing as mxConstants.STYLE_CURVED in Jgraph. Maybe this answer is out-dated? Can you please update on how to employ splined edges with my desired layout ?

Thanks for your time.

link

answered 19 Apr '13, 03:11

ofou's gravatar image

ofou
1
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×100

Asked: 18 Apr '11, 23:10

Seen: 3,024 times

Last updated: 19 Apr '13, 03:11