public function linkedTo(string $variable = null, array $labels = []): self
    {
        $path = new self;
        $path->elements = $this
            ->elements
            ->add(Relationship::both())
            ->add(new Node($variable, $labels));
        $path->lastOperation = Node::class;

        return $path;
    }