Skip to content

A javascript library for interactive planar maps (embedded planar graphs)

License

Notifications You must be signed in to change notification settings

tgbudd/planarmap.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A javascript library for interactive planar maps (embedded planar graphs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages