Class DataSetGraphvizAlgorithm
An algorithm that renders a DataSet graph to the Graphviz DOT format.
Inheritance
System.Object
DataSetGraphvizAlgorithm
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.Data
Assembly: QuikGraph.Data.dll
Syntax
public class DataSetGraphvizAlgorithm : GraphvizAlgorithm<DataTable, DataRelationEdge>
Constructors
| Improve this Doc View SourceDataSetGraphvizAlgorithm(DataSetGraph)
Initializes a new instance of the DataSetGraphvizAlgorithm class.
Declaration
public DataSetGraphvizAlgorithm(DataSetGraph visitedGraph)
Parameters
Type | Name | Description |
---|---|---|
DataSetGraph | visitedGraph | Graph to convert to DOT. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
DataSetGraphvizAlgorithm(DataSetGraph, GraphvizImageType)
Initializes a new instance of the DataSetGraphvizAlgorithm class.
Declaration
public DataSetGraphvizAlgorithm(DataSetGraph visitedGraph, GraphvizImageType imageType)
Parameters
Type | Name | Description |
---|---|---|
DataSetGraph | visitedGraph | Graph to convert to DOT. |
GraphvizImageType | imageType | Target output image type. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Methods
| Improve this Doc View SourceFormatRelation(Object, FormatEdgeEventArgs<DataTable, DataRelationEdge>)
Formats a DataRelationEdge (a relation between tables).
Declaration
protected virtual void FormatRelation(object sender, FormatEdgeEventArgs<DataTable, DataRelationEdge> args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The GraphvizAlgorithm<TVertex, TEdge> performing the formatting. |
FormatEdgeEventArgs<System.Data.DataTable, DataRelationEdge> | args | Edge event arguments. |
FormatTable(Object, FormatVertexEventArgs<DataTable>)
Formats a System.Data.DataTable (a table).
Declaration
protected virtual void FormatTable(object sender, FormatVertexEventArgs<DataTable> args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The GraphvizAlgorithm<TVertex, TEdge> performing the formatting. |
FormatVertexEventArgs<System.Data.DataTable> | args | Vertex event arguments. |