mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
fix: Fix network JS to use new serialized relationship format
This commit is contained in:
@@ -104,8 +104,8 @@
|
|||||||
group: 'edges',
|
group: 'edges',
|
||||||
data: {
|
data: {
|
||||||
id: 'relationship-' + relationship.pk.toString(),
|
id: 'relationship-' + relationship.pk.toString(),
|
||||||
source: 'person-' + relationship.source.toString(),
|
source: 'person-' + relationship.source.pk.toString(),
|
||||||
target: 'person-' + relationship.target.toString()
|
target: 'person-' + relationship.target.pk.toString()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user