Fix relation info in kownledge graph UI
This commit is contained in:
@@ -95,9 +95,9 @@ const refineNodeProperties = (node: RawNodeType): NodeType => {
|
||||
const neighbour = state.rawGraph.getNode(neighbourId)
|
||||
if (neighbour) {
|
||||
relationships.push({
|
||||
type: isTarget ? 'Target' : 'Source',
|
||||
type: 'Target',
|
||||
id: neighbourId,
|
||||
label: neighbour.labels.join(', ')
|
||||
label: neighbour.properties['entity_id']
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user