Class GraphVizWriter
A Writer which generates GraphViz DOT Format files from an RDF Graph.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRdf.dll
Syntax
public class GraphVizWriter : BaseRdfWriter, IRdfWriter, IPrettyPrintingWriter, ICollapseLiteralsWriter
Properties
| Improve this Doc View SourceCollapseLiterals
Gets/Sets whether to collapse distinct literal nodes.
Declaration
public bool CollapseLiterals { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PrettyPrintMode
Gets/Sets Pretty Print Mode for the Writer.
Declaration
public bool PrettyPrintMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceSave(IGraph, string)
Saves a Graph into GraphViz DOT Format.
Declaration
public override void Save(IGraph g, string filename)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to save. |
string | filename | File to save to. |
Overrides
| Improve this Doc View SourceSaveInternal(IGraph, TextWriter)
Saves a Graph into GraphViz DOT Format.
Declaration
protected override void SaveInternal(IGraph g, TextWriter output)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to save. |
System.IO.TextWriter | output | Stream to save to. |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the writer which is a description of the syntax it produces.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()
Events
| Improve this Doc View SourceWarning
Event that is raised if there is a potential problem with the RDF being output
Declaration
public override event RdfWriterWarning Warning
Event Type
Type | Description |
---|---|
RdfWriterWarning |
Overrides
Remarks
This class does not raise this event.