Skip to content
anvakaPublic

About

Neighborhood beautification: Graph layout through message passing

Resources

Stars

27 stars

Watchers

2 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

Neighborhood beautification

This code implements Neighborhood beautification graph layout algorithm proposed by Severino F. Galán and Ole J. Mengshoel.

I extended it by adding a new step that pushes nodes away from each other in the local neighborhood.

The hardest part of the algorithm right now is finding correct coefficients for each message passing step, but still I love the algorithm for its simplicity and potential for extensions. It serves well as a starting point to new exploration/algorithms.

  • You can launch the playground here: http://anvaka.github.io/nb/
  • You can select a predefined graph or you can drop a dot file straight into the browser window to load it

Local development

# Clone the source code:
https://github.com/anvaka/nb.git

# install dependencies
cd nb
npm install

# now you are ready start the dev server:
npm start

Once the dev server is started - it will print the local address where the website is running with hot reload (you change the code - it updates the website)

Support

You can always reach out to me on twitter if you have any questions. If you love this code, please consider sponsoring it https://github.com/sponsors/anvaka .

License

MIT

About

Neighborhood beautification: Graph layout through message passing

Resources

Stars

27 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages