@nodescript/core
Advanced tools
Comparing version 0.18.0 to 0.18.1
@@ -396,4 +396,9 @@ import { isSchemaCompatible } from '../util/index.js'; | ||
switch (cache) { | ||
case 'auto': | ||
return this.linkMap.get(node.id).size > 1; | ||
case 'auto': { | ||
const links = this.linkMap.get(node.id); | ||
if (links.size > 1) { | ||
return true; | ||
} | ||
return [...links].some(link => link.prop.expand); | ||
} | ||
case 'always': | ||
@@ -400,0 +405,0 @@ return true; |
{ | ||
"name": "@nodescript/core", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Visual programming language for Browser and Node", |
Sorry, the diff of this file is not supported yet
134674
2386