Update UI and refine node property display for compatible with legacy data

This commit is contained in:
yangdx
2025-03-11 15:54:41 +08:00
parent 30310c2845
commit f1d312a2ce
3 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ const refineNodeProperties = (node: RawNodeType): NodeType => {
relationships.push({
type: 'Target',
id: neighbourId,
label: neighbour.properties['entity_id']
label: neighbour.properties['entity_id'] ? neighbour.properties['entity_id'] : neighbour.labels.join(', ')
})
}
}