Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpettitt/dagre performance #8

Open
anvaka opened this issue Aug 13, 2014 · 0 comments
Open

cpettitt/dagre performance #8

anvaka opened this issue Aug 13, 2014 · 0 comments

Comments

@anvaka
Copy link
Owner

anvaka commented Aug 13, 2014

@cpettitt I wrote a simple script which lets users render graphs from graph generators library with dagre.

First of all, your library does very interesting layouts and usually very fast! I just wanted to show the source code to you. Is there any way we could make it run even faster?

Here are some examples (warning don't try this on mobile phone. It may kill the browser):

Grid 10x10

dagre
vis
vivagraph

Grid 100x10

dagre
vis
vivagraph

Balanced Binary Tree with 4 levels

dagre
vis
vivagraph

Graph settings is passed in the query string. List of arguments:

  • graph - name of a graph from generators library. Case sensitive. E.g. ladder, circularLadder. grid by default;
  • n - optional. First argument to a graph generator function. 10 by default;
  • m - optional. Second argument to a graph generator function (if required). 10 by default;
  • k - optional. Third argument to a graph generator function (if required). 10 by default;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant