simple_dot 0.1.1

Simple API for creating GraphViz DOT files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use simple_dot::{attributes::Styled, graph::Graph};

pub mod common;

#[test]
fn test_cluster_example() {
    let root = common::gallery_cluster_example();

    assert!(root.has_attributes());

    assert!(root.has_nodes());
    assert!(root.has_edges());
    assert!(root.has_sub_graphs());
}