All examples By author By category About

samuelleach

Force layout graph with colour-coded node neighbours.

First attempt at making a colour-coded graph, with code snippets inspired from the D3 community.

Green => Friend and follower.

Red => Follower

Blue => Friend.

Improvements needed:

  1. Smooth transition on the arrow head.

  2. Better positioning of the arrow heads.