Show / Hide Table of Contents

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>
Implements
IAlgorithm<IEdgeListGraph<TVertex, TEdge>>
IComputation
IAlgorithmComponent
Inherited Members
MsaglDefaultGraphPopulator<TVertex, TEdge>.OnStarted(EventArgs)
MsaglDefaultGraphPopulator<TVertex, TEdge>.OnFinished(EventArgs)
MsaglDefaultGraphPopulator<TVertex, TEdge>.AddNode(TVertex)
MsaglDefaultGraphPopulator<TVertex, TEdge>.GetVertexId(TVertex)
MsaglDefaultGraphPopulator<TVertex, TEdge>.GetVertexLabel(String, TVertex)
MsaglDefaultGraphPopulator<TVertex, TEdge>.AddEdge(TEdge)
MsaglGraphPopulator<TVertex, TEdge>.MsaglGraph
MsaglGraphPopulator<TVertex, TEdge>.NodeAdded
MsaglGraphPopulator<TVertex, TEdge>.OnNodeAdded(MsaglVertexEventArgs<TVertex>)
MsaglGraphPopulator<TVertex, TEdge>.EdgeAdded
MsaglGraphPopulator<TVertex, TEdge>.OnEdgeAdded(MsaglEdgeEventArgs<TVertex, TEdge>)
MsaglGraphPopulator<TVertex, TEdge>.InternalCompute()
MsaglGraphPopulator<TVertex, TEdge>.AddNode(TVertex)
MsaglGraphPopulator<TVertex, TEdge>.AddEdge(TEdge)
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.SyncRoot
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.State
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Compute()
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Abort()
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.StateChanged
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.OnStateChanged(EventArgs)
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Started
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.OnStarted(EventArgs)
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Finished
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.OnFinished(EventArgs)
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Aborted
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.OnAborted(EventArgs)
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.VisitedGraph
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Services
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.GetService<T>()
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.TryGetService<T>(T)
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.TryGetService(Type, Object)
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.ThrowIfCancellationRequested()
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Initialize()
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.InternalCompute()
AlgorithmBase<IEdgeListGraph<TVertex, TEdge>>.Clean()
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 Source

MsaglToStringGraphPopulator(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

visitedGraph is null.

Properties

| Improve this Doc View Source

Format

Vertex id format.

Declaration
public string Format { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FormatProvider

Vertex format provider.

Declaration
public IFormatProvider FormatProvider { get; }
Property Value
Type Description
System.IFormatProvider

Methods

| Improve this Doc View Source

GetVertexId(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)

Implements

IAlgorithm<TGraph>
IComputation
IAlgorithmComponent

Extension Methods

GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, XmlReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, String, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeAndValidateFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String, Action<XmlWriter, TGraph>, Action<XmlWriter, TVertex>, Action<XmlWriter, TEdge>)
  • Improve this Doc
  • View Source
In This Article
Back to top QuikGraph