public function addIncoming(EdgeInterface $edge): void
    {
            $edge_encapsulated = EncapsulatedEdge::fromEdge($edge);
            $this->from[(string) $edge->tail()->id()][(string) $edge->id()] = $edge_encapsulated;
            $this->in[(string) $edge->id()] = $edge_encapsulated;
            $this->master->emit("modified");
    }
public function addIncoming(EdgeInterface $edge): void
    {
            $edge_encapsulated = EncapsulatedEdge::fromEdge($edge);
            $this->from[(string) $edge->tail()->id()][(string) $edge->id()] = $edge_encapsulated;
            $this->in[(string) $edge->id()] = $edge_encapsulated;
            $this->master->emit("modified");
    }
public function addIncoming ( EdgeInterface $ edge ) : void { $ edge_encapsulated = EncapsulatedEdge :: fromEdge ( $ edge ) ; $ this -> from [ ( string ) $ edge -> tail ( ) -> id ( ) ] [ ( string ) $ edge -> id ( ) ] = $ edge_encapsulated ; $ this -> in [ ( string ) $ edge -> id ( ) ] = $ edge_encapsulated ; $ this -> master -> emit ( "modified" ) ; }
Adds an incoming edge to the list.

The edge must be already initialized.

@param EdgeInterface $edge

@return void
Adds an incoming edge to the list .