simple_graph

Simple Graph Library

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

Summary

Latest Version 0.1.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-09-02 07:21

Authors

  • Eric Lee

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 - - - - - - -

Dependencies

Package Version Optional
nim >= 0.17.3 No

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)