yangdx commited on
Commit
76e617d
·
1 Parent(s): c20c1d8

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

Browse files
lightrag/api/webui/assets/{index-BCtjO3U7.js → index-D45TbtOl.js} RENAMED
Binary files a/lightrag/api/webui/assets/index-BCtjO3U7.js and b/lightrag/api/webui/assets/index-D45TbtOl.js differ
 
lightrag/api/webui/index.html CHANGED
Binary files a/lightrag/api/webui/index.html and b/lightrag/api/webui/index.html differ
 
lightrag_webui/src/components/graph/PropertiesView.tsx CHANGED
@@ -97,7 +97,7 @@ const refineNodeProperties = (node: RawNodeType): NodeType => {
97
  relationships.push({
98
  type: 'Target',
99
  id: neighbourId,
100
- label: neighbour.properties['entity_id']
101
  })
102
  }
103
  }
 
97
  relationships.push({
98
  type: 'Target',
99
  id: neighbourId,
100
+ label: neighbour.properties['entity_id'] ? neighbour.properties['entity_id'] : neighbour.labels.join(', ')
101
  })
102
  }
103
  }