simple_graph

Simple Graph Library

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-22 05:28

Installation

nimble install simple_graph
choosenim install simple_graph
git clone https://github.com/erhlee-bird/simple_graph

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
simple_graph - - - - - - -

Source

Repository https://github.com/erhlee-bird/simple_graph
Homepage https://github.com/erhlee-bird/simple_graph
Documentation View Documentation
Registry Source nimble_official

README

Simple Graph

Quick and easy graph data structure library for Nim.

Examples

import simple_graph

var G: DirectedGraph[char] = DirectedGraph[char]()
G.initGraph()

G.addNode('a')
G.addNode('b')
G.addNode('c')

G.addEdge('a', 'b')

G.delNode('b')

for node in G.nodes():
  echo($node)