Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

disruptek/gram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

97 Commits

Repository files navigation

gram

Test Matrix GitHub release (latest by date) Minimum supported Nim version License

Simple generic graphs

Goals

  • generic node and edge types
  • predictably fast performance
  • predictably mild memory behavior
  • predictably idiomatic API
  • hard to misuse

Installation

$ nimph clone disruptek/gram

or if you're still using Nimble like it's 2012,

$ nimble install https://github.com/disruptek/gram

Graphviz (dot) Output

For this, you'll need to install haxscramper's hmisc and hasts libraries; then you can import gram/graphviz to get the dotRepr and toPng procedures.

$ nimph clone hmisc
$ nimph clone hasts

Documentation

I'm going to try a little harder with these docs by using runnableExamples so the documentation demonstrates current usage examples and working tests despite the rapidly-evolving API.

See the documentation for the gram module as generated directly from the source.

License

MIT

About

generic graphs in Nim πŸ•Έ

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /