graph

Macro graph 

Source
macro_rules! graph {
    (
        nodes: ($($nodes:expr),*),
        connections: {
            $(
                $left_node:ident $( : $output:ident )? => {
                    $(
                        $right_node:ident $( : $input:ident )?
                    ),* $(,)?
                }
            )*
        }
    ) => { ... };
}
Expand description

Syntax sugar for building a graph