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

Static layout on empty graph gives error #22

Closed
hasanbalci opened this issue May 20, 2020 · 1 comment
Closed

Static layout on empty graph gives error #22

hasanbalci opened this issue May 20, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hasanbalci
Copy link
Contributor

When static layout is called on zero number of elements, layout gives error in console.

@hasanbalci hasanbalci added the bug Something isn't working label May 20, 2020
@hasanbalci hasanbalci self-assigned this May 20, 2020
hasanbalci added a commit that referenced this issue May 21, 2020
Don't enter the detailed layout process if there is no nodes
@hasanbalci
Copy link
Contributor Author

@ugurdogrusoz You can verify this in Newt by hiding all elements and applying static layout. Before it was giving error, now it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants