Skip to content

Releases: dsiu/rescript-graphology

v0.1.0

30 Jan 06:50

Choose a tag to compare

Initial Release

Type-safe ReScript bindings for Graphology, a robust JavaScript graph library.

Features

  • Core Graph Operations: Full CRUD operations for nodes and edges with attributes
  • Graph Types: Support for directed, undirected, multi-graphs, and mixed graphs
  • Algorithms:
    • Shortest path: Dijkstra, A*, unweighted (bidirectional & single-source)
    • Simple path algorithms
    • Graph traversal: BFS, DFS
  • Layout Algorithms: Circular, CirclePack, Rotation
  • Graph Generators: Complete, path, cycle, clique, star, karate club, etc.
  • Import/Export: GEXF format and SVG rendering
  • Iterator Support: Native JavaScript Iterator protocol

Technical Details

  • Built for ReScript v12.x with ES modules
  • Functor-based architecture for type safety
  • 532 passing tests

See CHANGELOG.md for details.