private function detectCircularDepedency($appName, $node, $getDependency)
    {
        $todo = [];
        foreach ($this->nodeFamilyTree as $app => $appNodes) {
            foreach ($appNodes as $appNode) {
                $todo[$appNode->getNameWithApp()] = $getDependency($appNode->getNameWithApp());
            }
        }
        Tools::topologicalSort($todo);
    }