working on force directed graph