public function node($id, array $attributes = array())
    {
        $this->instructions[] = new Node($id, $attributes, $this);

        return $this;
    }
public function node($id, array $attributes = array())
    {
        $this->instructions[] = new Node($id, $attributes, $this);

        return $this;
    }
public function node ( $ id , array $ attributes = array ( ) ) { $ this -> instructions [ ] = new Node ( $ id , $ attributes , $ this ) ; return $ this ; }
Created a new node on graph.

@param string $id         Identifier of node
@param array  $attributes Attributes to set on node

@return Graph Fluid-interface
Created a new node on graph .