diff --git a/people/templates/people/network.html b/people/templates/people/network.html
index 144a27a..b55b2c7 100644
--- a/people/templates/people/network.html
+++ b/people/templates/people/network.html
@@ -104,8 +104,8 @@
group: 'edges',
data: {
id: 'relationship-' + relationship.pk.toString(),
- source: 'person-' + relationship.source.toString(),
- target: 'person-' + relationship.target.toString()
+ source: 'person-' + relationship.source.pk.toString(),
+ target: 'person-' + relationship.target.pk.toString()
}
})
}