added make-graph (in addition to make-node)