Skip to content

A lightweight, decentralized, and node-centric graph system

Notifications You must be signed in to change notification settings

Dooders/AnarchyGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnarchyGraph Logo

Project Status

Rules of AnarchyGraph

  1. Be independent
  2. Be simple
  3. Be optimized

Installation

pip install anarchygraph

Usage

Adding Edges

from anarchy import AnarchyNode

node1 = AnarchyNode(1)
node2 = AnarchyNode(2)
node3 = AnarchyNode(3)

# Add edges to Node1
node1.edges.add(node2.node_id, node2)
node1.edges.add(node3.node_id, node3)

print(node1.edges())

Random Graph

from anarchy.graph import RandomGraph

g = RandomGraph()

g.edges()

About

A lightweight, decentralized, and node-centric graph system

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published