Class UndirectedGraph<TVertex, TEdge>
public class UndirectedGraph<TVertex, TEdge> : IUndirectedGraph<TVertex, TEdge>, IEdgeSet<TVertex, TEdge> where TEdge : IEdge<TVertex>
Type Parameters
TVertexTEdge
- Inheritance
-
UndirectedGraph<TVertex, TEdge>
- Implements
-
IUndirectedGraph<TVertex, TEdge>IEdgeSet<TVertex, TEdge>
- Inherited Members
Constructors
UndirectedGraph()
public UndirectedGraph()
Properties
Edges
public IEnumerable<TEdge> Edges { get; set; }
Property Value
- IEnumerable<TEdge>
Methods
ToGraphviz()
public string ToGraphviz()
Returns
ToGraphviz(bool, Dictionary<string, bool>?, Dictionary<(string, string, double), bool>?, Dictionary<(string, string, double), bool>?, string?)
public string ToGraphviz(bool darkMode, Dictionary<string, bool>? markedVertices, Dictionary<(string, string, double), bool>? markedEdges, Dictionary<(string, string, double), bool>? boldEdges, string? fileName)
Parameters
darkModeboolmarkedVerticesDictionary<string, bool>markedEdgesDictionary<(string, string, double), bool>boldEdgesDictionary<(string, string, double), bool>fileNamestring