fn region_identifier(node_id: &GlobalNodeId, region_id: &RegionId) -> String {
        let mut region_ident = format!(
            "{}{}",
            Node::node_identifier(node_id),
            if region_id.0.is_empty() { "" } else { "_r" }
        );

        for i in 0..region_id.0.len() {
            region_ident.push_str(&region_id.0[i].to_string());
            if i < region_id.0.len() - 1 {
                region_ident.push('_');
            }
        }
        region_ident
    }
/// Generate unique name for a region to use as a node label in a visual
/// graph.
Generate unique name for a region to use as a node label in a visual
graph.
Generate unique name for a region to use as a node label in a visual graph .
fn region_identifier(node_id: &GlobalNodeId, region_id: &RegionId) -> String {
        let mut region_ident = format!(
            "{}{}",
            Node::node_identifier(node_id),
            if region_id.0.is_empty() { "" } else { "_r" }
        );
        for i in 0..region_id.0.len() {
            region_ident.push_str(&region_id.0[i].to_string());
            if i < region_id.0.len() - 1 {
                region_ident.push('_');
            }
        }
        region_ident
    }
fn region_identifier ( node_id : & GlobalNodeId , region_id : & RegionId ) -> String { let mut region_ident = format ! ( " " Node node_identifier ( node_id ) if region_id 0 is_empty ( ) { " " } else { " " } ) ; for i in 0 .. region_id . 0 . len ( ) { region_ident . push_str ( & region_id . 0 [ i ] . to_string ( ) ) ; if i < region_id . 0 . len ( ) - 1 { region_ident . push ( '_' ) ; } } region_ident }
Generate unique name for a region to use as a node label in a visual
graph.
Generate unique name for a region to use as a node label in a visual graph .
node_id
&GlobalNodeId
region_id
&RegionId