How to 'cluster' nodes of same group in force directed graph

1,290 views
Skip to first unread message

Amey Sakhadeo

unread,
Jan 9, 2013, 7:46:22 AM1/9/13
to d3...@googlegroups.com
Hi,

I am using D3 to generate a force directed graph. My graph would have nodes, each of which belong to a particular 'cluster' group.
Does D3 have any built in feature to help me achieve something like this:


instead of this:

Any help is greatly appreciated! Thanks!


Makoto Inoue

unread,
Jan 9, 2013, 8:11:59 AM1/9/13
to d3...@googlegroups.com
Hi, Amey.

Can you integrate with these examples?


Not sure how it affects the force once you connect nodes with links though.

Makoto

Christina Christodoulakis

unread,
Aug 18, 2013, 7:04:29 AM8/18/13
to d3...@googlegroups.com
Hello!!

did you manage to solve this? I would appreciate the solution, I'm having the same trouble.

regards,
Christina

Victor Powell

unread,
Aug 18, 2013, 8:25:26 PM8/18/13
to d3...@googlegroups.com
you can use fixed, invisible, foci nodes that are attached by links to all of a single groups nodes. then, move around and animate the foci nodes. here's a simple example:


- victor
Reply all
Reply to author
Forward
0 new messages