Macro net_ensembles::dot_options
source · [−]macro_rules! dot_options {
( $( $x:expr ),* ) => { ... };
}
Expand description
You can chain/combine options with the dot_options!
macro:
use net_ensembles::dot_constants::*;
use net_ensembles::dot_options;
dot_options!(SPLINES, TRANSPARENT_BG, NO_OVERLAP, "fontsize=50;");
// Note, the macro is equivalent to
let chain = [SPLINES, TRANSPARENT_BG].join("\n\t");
assert!(chain == dot_options!(SPLINES, TRANSPARENT_BG) );