roberrrt-s / Information-Visualization

Repository for the InfoViz 2020 course at the University of Amsterdam
0 stars 0 forks source link

Place nodes on left and right side depending on user #10

Closed joshuaonwezen closed 4 years ago

joshuaonwezen commented 4 years ago

https://stackoverflow.com/questions/40941524/d3-force-layout-how-to-force-a-group-of-node-to-stay-in-a-given-area

Use the variable "d.followed", it is set to either 0, 1 or 2 depending on if it's followed by a user or just recommended (0)