fix: Fix network JS to use new serialized relationship format

This commit is contained in:
James Graham
2020-04-17 11:38:59 +01:00
parent 2b0ba8d12e
commit 19735e9771

View File

@@ -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()
} }
}) })
} }