public function toEndpoints()
    {
        $endpoints = [];

        $children = $this->getChildEdges();
        foreach ($children as $child) {
            $endpoints[] = '/'.implode('/', $child);
        }

        return $endpoints;
    }