aplbrain / grand

Your favorite Python graph libraries, scalable and interoperable. Graph databases in memory, and familiar graph APIs for cloud databases.
Apache License 2.0
80 stars 6 forks source link

Networkit Backend and Dialect #6

Closed j6k4m8 closed 3 years ago

j6k4m8 commented 3 years ago
import grand
from grand.backends import NetworkitBackend

G = grand.Graph(backend=NetworkitBackend())

G.nx.add_edge("foo", "bar", baz=True)
>>> print(G.nx.edges(data=True))
[('foo', 'bar', {'baz': True})]
j6k4m8 commented 3 years ago

tests are passing merge it in before anyone notices