Skip to main content

get_node_attributes

Function get_node_attributes 

Source
pub fn get_node_attributes(graph: &Graph, name: &str) -> HashMap<String, String>
Expand description

Get a specific attribute from all nodes.

Returns a map from node name to attribute value (as string). Nodes without the attribute are omitted.