aysylu / loom

Graph library for Clojure. Mailing list https://groups.google.com/forum/#!forum/loom-clj
http://aysy.lu/loom/
887 stars 108 forks source link

Allow graph traversal using zippers #85

Closed crimeminister closed 5 years ago

crimeminister commented 8 years ago

It would be interesting to allow for graph traversal and modification using the zipper idiom that some Clojure developers already employ for working with tree shaped data, e.g.

(clojure.zip/graph-zip g v)

would return a zipper for traversing / updating graph g where vertex v ∈ g is selected as the "root".