constructGraph created