Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Disabling collision transition for clustering examples #1270

Merged

Conversation

langsmith
Copy link
Contributor

This pr primarily adds usage of style.setTransition(new TransitionOptions(0, 0, false)); to improve the clustering examples. Disabling the collision animation shows the data cluster and break apart faster.

cc @adrianababakanian , who's doing some clustering work right now.

Before:

slow transition icons
slow transition circles

After:

no transition icons
no transition circles

@langsmith langsmith force-pushed the ls-adding-transitionoptions-speed-to-clustering-icon-example branch from ba2181c to 26ee35c Compare November 19, 2019 17:59
@langsmith langsmith force-pushed the ls-adding-transitionoptions-speed-to-clustering-icon-example branch from 26ee35c to 05ba150 Compare November 19, 2019 18:23
@langsmith langsmith merged commit 4fc8249 into master Nov 19, 2019
@langsmith langsmith deleted the ls-adding-transitionoptions-speed-to-clustering-icon-example branch November 19, 2019 18:41
@langsmith langsmith mentioned this pull request Jan 8, 2020
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants