public function addGraphMetadata(GraphNode $node, GraphMetadataInterface $data)
    {
        $this->nodes[] = [
            'node'   => $node,
            'object' => $data,
        ];

        return $this;
    }