Table of Contents

Class DotExportOptions<TVertex, TEdge>

Namespace
Graph1x.Serialization
Assembly
Graph1x.dll
public sealed record DotExportOptions<TVertex, TEdge> : IEquatable<DotExportOptions<TVertex, TEdge>> where TVertex : notnull where TEdge : IEdge<TVertex>

Type Parameters

TVertex

The vertex type.

TEdge

The edge type.

Inheritance
DotExportOptions<TVertex, TEdge>
Implements
IEquatable<DotExportOptions<TVertex, TEdge>>
Inherited Members

Properties

EdgeLabel

Gets the function producing an edge's label attribute. When null, edges are emitted without attributes.

public Func<TEdge, string>? EdgeLabel { get; init; }

Property Value

Func<TEdge, string>

GraphName

Gets the name emitted in the graph header. Defaults to "G".

public string GraphName { get; init; }

Property Value

string

VertexLabel

Gets the function producing a vertex's DOT identifier. Defaults to ToString().

public Func<TVertex, string>? VertexLabel { get; init; }

Property Value

Func<TVertex, string>