Show / Hide Table of Contents

Class CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.CompoundVertexData

Data for the compound vertices.

Inheritance
System.Object
CompoundFDPLayoutAlgorithm.VertexData<>
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.CompoundVertexData
Inherited Members
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.Vertex
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.Parent
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.MovableParent
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.IsFixedToParent
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.Level
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.Position
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.SpringForce
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.RepulsionForce
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.GravitationForce
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.ApplicationForce
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.ApplyForce(Double)
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 Source

CompoundVertexData(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 Source

Borders

The thickness of the borders of the compound vertex.

Declaration
public readonly Thickness Borders
Field Value
Type Description
Thickness
| Improve this Doc View Source

InnerVertexLayoutType

Gets the layout type of the compound vertex.

Declaration
public readonly CompoundVertexInnerLayoutType InnerVertexLayoutType
Field Value
Type Description
CompoundVertexInnerLayoutType

Properties

| Improve this Doc View Source

Children

Children vertices data.

Declaration
public ICollection<CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData> Children { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<CompoundFDPLayoutAlgorithm.VertexData<>>
| Improve this Doc View Source

InnerCanvasCenter

Gets or sets the inner canvas center position.

Declaration
public Point InnerCanvasCenter { get; set; }
Property Value
Type Description
Point
| Improve this Doc View Source

InnerCanvasSize

The size of the inner canvas of the compound vertex.

Declaration
public Size InnerCanvasSize { get; set; }
Property Value
Type Description
Size
| Improve this Doc View Source

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
CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph>.VertexData.Size

Methods

| Improve this Doc View Source

RecalculateBounds()

Recompute vertex bounds.

Declaration
public void RecalculateBounds()

Extension Methods

GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape