rdftk_io 0.3.3

This crate provides traits for reading and writing Statements and Graphs as well as implementations of these for common representations.
Documentation
/*!
Provides for writing a `Graph` instance in the [GraphViz](https://graphviz.gitlab.io/) dot file
format.


# Example

```rust
use rdftk_io::dot::{DotOptions, DotWriter};
# use objio::{HasOptions, ObjectWriter};
# use rdftk_core::model::graph::Graph;
# fn make_graph() -> Graph { rdftk_core::model::graph::Graph::default() }

let mut options = DotOptions::default().with_blank_labels(true);

let writer = DotWriter::default().with_options(options);

let result = writer.write_to_string(&make_graph());
```

*/

// ------------------------------------------------------------------------------------------------
// Public Values
// ------------------------------------------------------------------------------------------------

/// The display name of this serialization format.
pub const NAME: &str = "GraphViz";

/// The common file extension for this serialization format.
pub const FILE_EXTENSION: &str = "dot";

/// The MIME type used for this serialization format.
pub const MIME_TYPE: &str = "text/vnd.graphviz";

// ------------------------------------------------------------------------------------------------
// Modules
// ------------------------------------------------------------------------------------------------

mod writer;
pub use writer::{DotOptions, DotWriter};