Table of Contents

Class UndirectedGraph<TVertex, TEdge>

Namespace
Italbytz.Graph
Assembly
Italbytz.Graph.dll
public class UndirectedGraph<TVertex, TEdge> : IUndirectedGraph<TVertex, TEdge>, IEdgeSet<TVertex, TEdge> where TEdge : IEdge<TVertex>

Type Parameters

TVertex
TEdge
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

string

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

darkMode bool
markedVertices Dictionary<string, bool>
markedEdges Dictionary<(string, string, double), bool>
boldEdges Dictionary<(string, string, double), bool>
fileName string

Returns

string