Module graphviz_rust::attributes
source · [−]Expand description
graphviz attributes
Examples:
use graphviz_rust::attributes::{color, color_name, GraphAttributes, NodeAttributes};
use into_attr::IntoAttribute;
use dot_structures::*;
use dot_generator::*;
fn test() {
assert_eq!(GraphAttributes::center(true), attr!("center",true));
assert_eq!(
NodeAttributes::color(color_name::antiquewhite1),
attr!("color","antiquewhite1"));
assert_eq!(color::default().into_attr(), attr!("color","black"));
}
Structs
Enums
The attributes appearing on the edge
The attributes appearing on the root graph
The attributes appearing on the node
The attributes appearing on the subgraph