src/wcmf/lib/model/output/DotOutputStrategy.php
private function getIndex($node) {
    $oidStr = $node->getOID()->__toString();
    if (!isset($this->nodeIndexMap[$oidStr])) {
      $this->nodeIndexMap[$oidStr] = $this->getNextIndex();
    }
    return $this->nodeIndexMap[$oidStr];
  }
private function getIndex($node) {
    $oidStr = $node->getOID()->__toString();
    if (!isset($this->nodeIndexMap[$oidStr])) {
      $this->nodeIndexMap[$oidStr] = $this->getNextIndex();
    }
    return $this->nodeIndexMap[$oidStr];
  }
private function getIndex ( $ node ) { $ oidStr = $ node -> getOID ( ) -> __toString ( ) ; if ( ! isset ( $ this -> nodeIndexMap [ $ oidStr ] ) ) { $ this -> nodeIndexMap [ $ oidStr ] = $ this -> getNextIndex ( ) ; } return $ this -> nodeIndexMap [ $ oidStr ] ; }
Get the node index.
@param $node The node to get the index of
@return Number
Get the node index .