From ae3db5063ba357c9447950aa58d665cb81e71589 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 7 Mar 2022 12:39:15 -0800 Subject: [PATCH] Mark node as non collapsed if the last node. --- packages/mindplot/src/components/Topic.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mindplot/src/components/Topic.ts b/packages/mindplot/src/components/Topic.ts index f646ce1d..f51a4fa0 100644 --- a/packages/mindplot/src/components/Topic.ts +++ b/packages/mindplot/src/components/Topic.ts @@ -1093,6 +1093,7 @@ abstract class Topic extends NodeGraph { const connector = targetTopic.getShrinkConnector(); if ($defined(connector)) { connector.setVisibility(false); + targetTopic.isCollapsed(false); } } }