Implementation of general graph plotter using force directed algoritm