Show / Hide Table of Contents

Class GraphVizWriter

A Writer which generates GraphViz DOT Format files from an RDF Graph.
Inheritance
System.Object
BaseRdfWriter
GraphVizWriter
Implements
IRdfWriter
IPrettyPrintingWriter
ICollapseLiteralsWriter
Inherited Members
BaseRdfWriter.Save(IGraph, TextWriter)
BaseRdfWriter.Save(IGraph, TextWriter, Boolean)
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)
Namespace: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public class GraphVizWriter : BaseRdfWriter, IRdfWriter, IPrettyPrintingWriter, ICollapseLiteralsWriter

Properties

| Improve this Doc View Source

CollapseLiterals

Gets/Sets whether to collapse distinct literal nodes.
Declaration
public bool CollapseLiterals { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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 Source

Save(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.
System.String filename File to save to.
Overrides
BaseRdfWriter.Save(IGraph, String)
| Improve this Doc View Source

SaveInternal(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
BaseRdfWriter.SaveInternal(IGraph, TextWriter)
| Improve this Doc View Source

ToString()

Gets the String representation of the writer which is a description of the syntax it produces.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Events

| Improve this Doc View Source

Warning

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
BaseRdfWriter.Warning
Remarks
Not used by this Writer

Implements

IRdfWriter
IPrettyPrintingWriter
ICollapseLiteralsWriter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • CollapseLiterals
    • PrettyPrintMode
  • Methods
    • Save(IGraph, String)
    • SaveInternal(IGraph, TextWriter)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX