#5237 added support for node with label/description

This commit is contained in:
Ashish Jain
2024-04-26 12:46:53 +02:00
parent dd5bfb3b24
commit 8102ba4d52

View File

@@ -589,7 +589,8 @@ const dataFetcher = (parentId, doc, nodes, edges) => {
} else { } else {
nodes.push({ nodes.push({
...item, ...item,
labelText: item.id, id: item.id,
labelText: item.descriptions?.length > 0 ? item.descriptions[0] : item.id,
// description: item.id, // description: item.id,
labelType: 'text', labelType: 'text',
labelStyle: '', labelStyle: '',