Interface ILayoutAlgorithm<TVertex, TEdge, TGraph>
Represents a layout algorithm.
Inherited Members
QuikGraph.Algorithms.IAlgorithm<TGraph>.VisitedGraph
QuikGraph.Algorithms.IComputation.Compute()
QuikGraph.Algorithms.IComputation.Abort()
QuikGraph.Algorithms.IComputation.SyncRoot
QuikGraph.Algorithms.IComputation.State
QuikGraph.Algorithms.IComputation.StateChanged
QuikGraph.Algorithms.IComputation.Started
QuikGraph.Algorithms.IComputation.Finished
QuikGraph.Algorithms.IComputation.Aborted
Namespace: GraphShape.Algorithms.Layout
Assembly: GraphShape.dll
Syntax
public interface ILayoutAlgorithm<TVertex, in TEdge, out TGraph> : IAlgorithm<TGraph>, IComputation 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 SourceVerticesPositions
Vertices positions associations.
Declaration
IDictionary<TVertex, Point> VerticesPositions { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<TVertex, Point> |
Methods
| Improve this Doc View SourceGetEdgeInfo(TEdge)
Returns the extra layout information of the edge (or null).
Declaration
object GetEdgeInfo(TEdge edge)
Parameters
| Type | Name | Description |
|---|---|---|
| TEdge | edge |
Returns
| Type | Description |
|---|---|
| System.Object |
GetVertexInfo(TVertex)
Returns the extra layout information of the vertex (or null).
Declaration
object GetVertexInfo(TVertex vertex)
Parameters
| Type | Name | Description |
|---|---|---|
| TVertex | vertex |
Returns
| Type | Description |
|---|---|
| System.Object |
Events
| Improve this Doc View SourceIterationEnded
Fired when a layout iteration has been done.
Declaration
event LayoutIterationEndedEventHandler<TVertex> IterationEnded
Event Type
| Type | Description |
|---|---|
| LayoutIterationEndedEventHandler<TVertex> |
ProgressChanged
Fired when layout algorithm progress changed.
Declaration
event ProgressChangedEventHandler ProgressChanged
Event Type
| Type | Description |
|---|---|
| ProgressChangedEventHandler |