Class TreeEdge
This holds TreeLayout-specific information about Links.
Namespace: Northwoods.Go.Layouts
Assembly: Northwoods.GoDiagram.Avalonia.TreeLayout.dll
Syntax
public class TreeEdge : Network<TreeVertex, TreeEdge, TreeLayout>.Edge
Remarks
This class inherits from Network<V, E, Y>.Edge.
Constructors
TreeEdge(TreeNetwork)
This constructs an edge that does not know about any Link and sets its network.
Declaration
public TreeEdge(TreeNetwork network)
Parameters
Type | Name | Description |
---|---|---|
TreeNetwork | network |
Properties
RelativePoint
Gets or sets a Point, relative to the parent node, that may be useful in routing this link.
Declaration
public Point RelativePoint { get; set; }
Property Value
Type | Description |
---|---|
Point |
Methods
Commit()
Commits the position of the Link and routes it.
Declaration
public override void Commit()
Overrides
Northwoods.Go.Layouts.Network<Northwoods.Go.Layouts.TreeVertex, Northwoods.Go.Layouts.TreeEdge, Northwoods.Go.Layouts.TreeLayout>.Edge.Commit()