You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Graph node attributes contain inconsistent node attributes depending on initialization.
This makes downstream code unnecessarily complex and unreliable
Example:
import dwave_networkx as dnx
P = dnx.pegasus_graph(6, coordinates=False)
print(P.nodes[20])
P = dnx.pegasus_graph(6, coordinates=True)
print(P.nodes[0, 0, 4, 0])
P = dnx.pegasus_graph(6, nice_coordinates=True)
print(P.nodes[0, 0, 0, 0, 0])