[][src]Module rdftk_io::dot

Provides for writing a Graph instance in the GraphViz dot file format.

This writer also as certain options that govern the output generated, these are set using the DotOptions structure which can be passed to DotWriter::new.

use rdftk_io::dot::{DotOptions, DotWriter};

let mut options = DotOptions::default();
options.blank_labels = true;
let writer = DotWriter::new(options);

Structs

DotOptions

Used to set configurable components of the generated dot file. A default set of options may be be used by using the Default implementation on DotWriter, or by passing the Default implementation of DotOptions to DotWriter::new.

DotWriter

This struct implements the GraphWriter trait and will write out a serialized form for the entire graph.

Constants

FILE_EXTENSION

The common file extension for this serialization format.

MIME_TYPE

The MIME type used for this serialization format.

NAME

The display name of this serialization format.