Class MsaglToStringGraphPopulator<TVertex, TEdge>
MSAGL graph populator (with string formatting).
Inheritance
System.Object
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>
MsaglGraphPopulator<TVertex, TEdge>
MsaglDefaultGraphPopulator<TVertex, TEdge>
MsaglToStringGraphPopulator<TVertex, TEdge>
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: QuikGraph.MSAGL
Assembly: QuikGraph.MSAGL.dll
Syntax
public sealed class MsaglToStringGraphPopulator<TVertex, TEdge> : MsaglDefaultGraphPopulator<TVertex, TEdge>, IAlgorithm<IEdgeListGraph<TVertex, TEdge>>, IComputation, IAlgorithmComponent where TEdge : IEdge<TVertex>
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |
Constructors
| Improve this Doc View SourceMsaglToStringGraphPopulator(IEdgeListGraph<TVertex, TEdge>, String, IFormatProvider)
Initializes a new instance of the MsaglToStringGraphPopulator<TVertex, TEdge> class.
Declaration
public MsaglToStringGraphPopulator(IEdgeListGraph<TVertex, TEdge> visitedGraph, string format = null, IFormatProvider formatProvider = null)
Parameters
Type | Name | Description |
---|---|---|
IEdgeListGraph<TVertex, TEdge> | visitedGraph | Graph to convert to MSAGL graph. |
System.String | format | Graph format. |
System.IFormatProvider | formatProvider | Graph format provider. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceFormat
Vertex id format.
Declaration
public string Format { get; }
Property Value
Type | Description |
---|---|
System.String |
FormatProvider
Vertex format provider.
Declaration
public IFormatProvider FormatProvider { get; }
Property Value
Type | Description |
---|---|
System.IFormatProvider |
Methods
| Improve this Doc View SourceGetVertexId(TVertex)
Gets the vertex identifier.
Declaration
protected override string GetVertexId(TVertex vertex)
Parameters
Type | Name | Description |
---|---|---|
TVertex | vertex | Vertex to get id. |
Returns
Type | Description |
---|---|
System.String | Vertex id. |
Overrides
QuikGraph.MSAGL.MsaglDefaultGraphPopulator<TVertex, TEdge>.GetVertexId(TVertex)