Class CompoundLayoutContext<TVertex, TEdge, TGraph>
Compound graph layout context.
Inheritance
System.Object
LayoutContext<TVertex, TEdge, TGraph>
CompoundLayoutContext<TVertex, TEdge, TGraph>
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
public class CompoundLayoutContext<TVertex, TEdge, TGraph> : LayoutContext<TVertex, TEdge, TGraph>, ICompoundLayoutContext<TVertex, TEdge, TGraph>, ILayoutContext<TVertex, TEdge, TGraph> where TEdge : IEdge<TVertex> where TGraph : class, IBidirectionalGraph<TVertex, TEdge>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
TGraph | Graph type. |
Constructors
| Improve this Doc View SourceCompoundLayoutContext(TGraph, IDictionary<TVertex, Point>, IDictionary<TVertex, Size>, LayoutMode, IDictionary<TVertex, Thickness>, IDictionary<TVertex, CompoundVertexInnerLayoutType>)
Initializes a new instance of the CompoundLayoutContext<TVertex, TEdge, TGraph> class.
Declaration
public CompoundLayoutContext(TGraph graph, IDictionary<TVertex, Point> positions, IDictionary<TVertex, Size> sizes, LayoutMode mode, IDictionary<TVertex, Thickness> verticesBorders, IDictionary<TVertex, CompoundVertexInnerLayoutType> layoutTypes)
Parameters
Type | Name | Description |
---|---|---|
TGraph | graph | Graph to layout. |
System.Collections.Generic.IDictionary<TVertex, Point> | positions | Vertices positions. |
System.Collections.Generic.IDictionary<TVertex, Size> | sizes | Vertices sizes. |
LayoutMode | mode | Layout mode. |
System.Collections.Generic.IDictionary<TVertex, Thickness> | verticesBorders | Vertices borders. |
System.Collections.Generic.IDictionary<TVertex, CompoundVertexInnerLayoutType> | layoutTypes | Layout types. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceLayoutTypes
Layout types per vertex.
Declaration
public IDictionary<TVertex, CompoundVertexInnerLayoutType> LayoutTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TVertex, CompoundVertexInnerLayoutType> |
VerticesBorders
Vertices borders.
Declaration
public IDictionary<TVertex, Thickness> VerticesBorders { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TVertex, Thickness> |