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.