Class CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.CompoundVertexData
Data for the compound vertices.
Inheritance
System.Object
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.CompoundVertexData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GraphShape.Algorithms.Layout
Assembly: GraphShape.dll
Syntax
protected class CompoundVertexData : CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData
Constructors
| Improve this Doc View SourceCompoundVertexData(TVertex, CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData, Boolean, Point, Size, Thickness, CompoundVertexInnerLayoutType)
Initializes a new instance of the CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.CompoundVertexData class.
Declaration
public CompoundVertexData(TVertex vertex, CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData movableParent, bool isFixedToParent, Point position, Size size, Thickness borders, CompoundVertexInnerLayoutType innerVertexLayoutType)
Parameters
Type | Name | Description |
---|---|---|
TVertex | vertex | Target vertex. |
CompoundFDPLayoutAlgorithm.VertexData<> | movableParent | Moveable parent vertex data. |
System.Boolean | isFixedToParent | Indicates if the vertex position is fixed to its parent. |
Point | position | Vertex position. |
Size | size | Vertex size. |
Thickness | borders | Vertex borders. |
CompoundVertexInnerLayoutType | innerVertexLayoutType | Vertex layout type. |
Fields
| Improve this Doc View SourceBorders
The thickness of the borders of the compound vertex.
Declaration
public readonly Thickness Borders
Field Value
Type | Description |
---|---|
Thickness |
InnerVertexLayoutType
Gets the layout type of the compound vertex.
Declaration
public readonly CompoundVertexInnerLayoutType InnerVertexLayoutType
Field Value
Type | Description |
---|---|
CompoundVertexInnerLayoutType |
Properties
| Improve this Doc View SourceChildren
Children vertices data.
Declaration
public ICollection<CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData> Children { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<CompoundFDPLayoutAlgorithm.VertexData<>> |
InnerCanvasCenter
Gets or sets the inner canvas center position.
Declaration
public Point InnerCanvasCenter { get; set; }
Property Value
Type | Description |
---|---|
Point |
InnerCanvasSize
The size of the inner canvas of the compound vertex.
Declaration
public Size InnerCanvasSize { get; set; }
Property Value
Type | Description |
---|---|
Size |
Size
Gets the actual size of the vertex (inner size + border + anything else...).
Declaration
public override Size Size { get; }
Property Value
Type | Description |
---|---|
Size |
Overrides
Methods
| Improve this Doc View SourceRecalculateBounds()
Recompute vertex bounds.
Declaration
public void RecalculateBounds()