Class GraphVizGenerator
A Class which creates GraphViz Graphs entirely dynamically.
Inheritance
System.Object
GraphVizGenerator
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: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public class GraphVizGenerator
Constructors
| Improve this Doc View SourceGraphVizGenerator(String)
Creates a new GraphVizGenerator.
Declaration
public GraphVizGenerator(string format)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | Format for the Output (svg is default). |
Remarks
Only use this form if you're certain that dot.exe is in your PATH otherwise the code will throw an error.
|
Improve this Doc
View Source
GraphVizGenerator(String, String)
Creates a new GraphVizGenerator.
Declaration
public GraphVizGenerator(string format, string gvdir)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | Format for the Output. |
System.String | gvdir | Directory in which GraphViz is installed. |
Properties
| Improve this Doc View SourceFormat
Gets/Sets the Format for the Output.
Declaration
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGenerate(IGraph, String, Boolean)
Generates GraphViz Output for the given Graph.
Declaration
public void Generate(IGraph g, string filename, bool open)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to generated GraphViz Output for. |
System.String | filename | File you wish to save the Output to. |
System.Boolean | open | Whether you want to open the Output in the default application (according to OS settings) for the filetype after it is Created. |