/** * Create a new node inside a graph * @param SimpleGraph $oGraph * @param string $sId The unique identifier of this node inside the graph * @param number $x Horizontal position * @param number $y Vertical position */ public function __construct(SimpleGraph $oGraph, $sId, $x = 0, $y = 0) { parent::__construct($oGraph, $sId); $this->x = $x; $this->y = $y; $this->bFiltered = false; }
public function __construct($oGraph, $sId, $iMinUp, $fThreshold) { parent::__construct($oGraph, $sId); $this->SetProperty('min_up', $iMinUp); $this->SetProperty('threshold', $fThreshold); }
public function __construct($data, array $connectedNodes = null) { parent::__construct($data, $connectedNodes); $this->reset(); }
public function __construct(array $values = []) { parent::__construct($values['namespace'], $values['tag'], $values); }