NPashaP / Viz

BSD 3-Clause "New" or "Revised" License
106 stars 39 forks source link

Update doesn't work properly #5

Closed kafom closed 7 years ago

kafom commented 8 years ago

Pasha, Thanks for adding the update. However it only works when the data changes but not the number of connections.

See the example below. As shown when you run the program, the edges do not update correctly.

<!DOCTYPE html>

NPashaP commented 8 years ago

The update is designed for when the values change and not the groups.

I will look into adding exit and enter for new groups in the update. I am not sure what kind of transition they should have, I will have to figure those out.

nightire commented 6 years ago

@NPashaP So any progress on groups exit and/or enter?

Is there an alternative way to update whole chart? I'm thinking maybe I can destroy it entirely then redrawing, but I can't find how to destroy it...