diff --git a/packages/mindplot/src/components/persistence/XMLSerializerTango.ts b/packages/mindplot/src/components/persistence/XMLSerializerTango.ts index b7551016..fbd98485 100644 --- a/packages/mindplot/src/components/persistence/XMLSerializerTango.ts +++ b/packages/mindplot/src/components/persistence/XMLSerializerTango.ts @@ -106,7 +106,7 @@ class XMLSerializerTango implements XMLMindmapSerializer { } } - if (topic.areChildrenShrunken() && topic.getType() !== 'CentralTopic') { + if ((topic.areChildrenShrunken() && topic.getChildren().length > 0) && topic.getType() !== 'CentralTopic') { parentTopic.setAttribute('shrink', 'true'); }