-
Notifications
You must be signed in to change notification settings - Fork 52
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
Feature/interactive_physical_layout #4
Feature/interactive_physical_layout #4
Conversation
@@ -200,18 +217,18 @@ Vizceral.defaultProps = { | |||
connectionHighlighted: () => {}, | |||
definitions: {}, | |||
filters: [], | |||
graphsUpdated: () => {}, | |||
graphsUpdated: () => undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the change? These have default empty functions so they are just no-ops if the user does not provide listeners to things they do not care about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the moment I thought all of those lambda expressions were creating functions that returned empty POJO's, but I learnt this is not the case. I'll undo them since I prefer the old syntax
…o results in updateData being called) Added more verbosity, coming from a better safe than sorry/defensive coding perspective
Hey Justin!
Merged with master and adopted your much simpler condition for calling updateData. Kind regards, Jasper Brekelmans |
…interactive_physical_layout # Conflicts: # src/vizceral.jsx
…issue where defaults for allowDraggingOfNodes and showLabels are not passed to Visceral initially. Remove code I forgot to remove
1/3 Pull requests on repositories Netflix/vizceral, Netflix/vizceral-example and Netflix/vizceral-react with the following features around "optimizing layout manually":
How to run: