public function __construct(array $nodes, array $relationships) { $this->nodes = $nodes; $this->relationships = $relationships; }