Interface ILayoutContext<TVertex, TEdge, TGraph>
Represents a graph layout context.
Namespace: GraphShape.Algorithms.Layout
Assembly: GraphShape.dll
Syntax
public interface ILayoutContext<TVertex, TEdge, out TGraph>
where TEdge : IEdge<TVertex> where TGraph : IVertexAndEdgeListGraph<TVertex, TEdge>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
TGraph | Graph type. |
Properties
| Improve this Doc View SourceGraph
Graph concerned by the layout.
Declaration
TGraph Graph { get; }
Property Value
Type | Description |
---|---|
TGraph |
Mode
Layout mode.
Declaration
LayoutMode Mode { get; }
Property Value
Type | Description |
---|---|
LayoutMode |
Positions
Vertices positions.
Declaration
IDictionary<TVertex, Point> Positions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TVertex, Point> |
Sizes
Vertices sizes.
Declaration
IDictionary<TVertex, Size> Sizes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<TVertex, Size> |