integrated readygraph functionality

Implemented changes for ReadyGraph. Fixed the bugs.