A library for generating Graphviz DOT language files for visualizing graphs.
```rust use dotavious::{Dot, Edge, Graph, GraphBuilder, Node}; use std::io; use std::io::Read;
// can also start building a named undirected graph via GraphBuilder::new_named_undirected
let graph = GraphBuilder::newnameddirected("example")
.addnode(Node::new("N0"))
.addnode(Node::new("N1"))
.add_edge(Edge::new("N0", "N1"))
.build()
.unwrap();
let dot = Dot { graph };
println!("{}", dot);
which produces
digraph example {
N0;
N1;
N0 -> N1;
}
```
and when rendered will look like