The code for this is commented out here, just need to find out how to use it. https://github.com/freifunk/vis.api.freifunk.net/blob/a3e576e336629bbccb9f3fadf44f510120f0f665/visualisations/graphs/graph3.js#L80