simply edited nhGraph to accomplish new graph stuff