started code changes for the jsPlumb graph