Fixes made to addNode and addLink for Graph