pub fn get_node_attributes(graph: &Graph, name: &str) -> HashMap<String, String>
Get a specific attribute from all nodes.
Returns a map from node name to attribute value (as string). Nodes without the attribute are omitted.