[][src]Function petgraph_evcxr::draw_graph_with_attr_getters

pub fn draw_graph_with_attr_getters<'a, G>(
    g: G,
    config: &'a [Config],
    get_edge_attributes: &'a dyn Fn(G, G::EdgeRef) -> String,
    get_node_attributes: &'a dyn Fn(G, G::NodeRef) -> String
) where
    G: NodeIndexable + IntoNodeReferences + IntoEdgeReferences,
    G: GraphProp,
    G::NodeWeight: Display,
    G::EdgeWeight: Display