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

Add a polymorphism for autoRescale settings. #347

Closed
Yomguithereal opened this issue Jul 17, 2014 · 1 comment
Closed

Add a polymorphism for autoRescale settings. #347

Yomguithereal opened this issue Jul 17, 2014 · 1 comment

Comments

@Yomguithereal
Copy link
Collaborator

Would be nice to be able to determine autoRescale option for only nodes and edges' sizes but not position for instance.

The proposition here is to create a polymorphism on the autoRescale option:

// Enable full autoRescale
settings.autoRescale = true;

// Fully disable autoRescale
settings.autoRescale = false;

// "à la carte" autoRescale
settings.autoRescale = ['nodes.size', 'edges.size'];
settings.autoRescale = ['nodes.position'];

@sheymann, is that helping for #338 ?

@sheymann
Copy link
Contributor

Yes it would definitely make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants