Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.49 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.49 KB

Planarmap.js

Planamap.js is a (very preliminary) javascript library that allows for easy interaction with planar maps (= embedded planar graphs) in the browser. It allows users/scripts to change the combinatorics of a planar map, while the embedding is automatically updated using a force-driven layout algorithm.

Check out some examples here:

Planar map editor

So far the main application is a planar map editor, which allows loading and saving of planar maps in SVG or JSON format. Try the editor here: (http://hef.ru.nl/~tbudd/planarmap/examples/editor.html)

Any comments, suggestions, contributions are more than welcome.

Dependencies

  • d3.js: Planarmap.js was modeled in the spirit of D3.js and D3.js is used to interact with the DOM.

The editor currently relies on:

License

MIT license: free to reuse. If used in an academic context, attribution (to Timothy Budd) would be appreciated but is not mandatory.