macro_rules! stmt {
($k:expr) => { ... };
}
Expand description
represents an element of graph or subgraph which is, in turn, just a wrapper for the underlying structure as node,edge, subgraph etc. #Example:
fn stmt_test() {
use dot_generator::*;
use dot_structures::*;
assert_eq!(stmt!(node!()), Stmt::Node(Node::new(NodeId(id!(), None), vec![])));
}