Gets or sets the stretch factor in radial layouts.
Namespace: MindFusion.Graphs
File: RadialTreeLayout.js
JavaScript Copy Code |
---|
get stretchFactor() {} |
Number
A stretch factor that lets you set ellipse eccentricity. The default value is 1.
Set stretchFactor to a value larger than 1 in order to stretch level circles into ellipses, providing more space for the layout when using wider nodes.