got all edges and nodes to work