image code jupyter notebook import matplotlib.pyplot as plt import networkx as nx try: import pygraphviz
image code jupyter notebook import matplotlib.pyplot as plt import networkx as nx G = nx.grid_2d_graph(5, 5) pos = nx.spring_layout(G, k=0.3)
image code jupyter notebook import matplotlib.pyplot as plt import networkx as nx G = nx.grid_2d_graph(5, 5) nx.draw(G)
image code jupyter notebook %matplotlib inline import matplotlib.pyplot as plt import networkx as nx G = nx.Graph()
image code gremlin schema.vertexLabel("Atom").ifNotExists().partitionBy("id", Text).property("name", Text).create(); schema.edgeLabel('bond').ifNotExists().from('Atom').to('Atom').create() O1 = g.addV("Atom").property("id", "O1").property("name", "O").next();
image code gremlin schema.vertexLabel("Key").ifNotExists().partitionBy("name", Text).create(); schema.vertexLabel("Code").ifNotExists().partitionBy("name", Text).create(); schema.edgeLabel('hit').ifNotExists().from('Code').to('Key').create()
image gremlin code schema.vertexLabel("Player"). ifNotExists(). partitionBy("name", Text). property("position", Text). create();
image gremlin code schema.vertexLabel("Customer"). ifNotExists(). partitionBy("name", Text). create();