SpringLayout
open class SpringLayout : Layout
Implements the Spring-Embedder graph layout algorithm. This class inherits Layout.
-
Initializes a new instance of the SpringLayout class.
Declaration
Swift
public override init()
Return Value
The newly created instance of the SpringLayout.
-
Gets or sets the desired distance between nodes.
Declaration
Swift
open var nodeDistance: Double
-
Gets or sets for how many iterations to run the layout routine.
Declaration
Swift
open var iterations: Int