Can we somehow improve node outputs for problems?

When I get output like this

{"$id":"1","neighbors":[{"$id":"2","neighbors":[{"$ref":"1"},{"$id":"3","neighbors":[{"$ref":"2"},{"$id":"4","neighbors":[{"$ref":"3"},{"$ref":"1"}],"val":4}],"val":3},{"$ref":"1"},{"$ref":"3"}],"val":2},{"$ref":"4"}],"val":1}

it's really difficult to read and find out where I went wrong. Is it possible to have the output be a different representation of a graph? Maybe an adjacency list?

Comments (1)