Shape of the mapper changes whenever I refresh the HTML file
Hi,
This is a great visualization tool but i find that shape of the mapper changes whenever I refresh the HTML file, Is there a way around it?
Thanks Kunal
What behavior do you desire? That it stay like it was before the refresh?
Any "saved" node positioning is technically possible using browser local storage. The positioning is done via the javascript d3 force library, which will allow initial node positions to be set. However, no such functionality is baked into the current rendered html file. As-is, the nodes get recreated and redrawn, and re-force-gravitied, anew for each refresh.
On Fri, Sep 13, 2019, 12:54 AM dangkunal [email protected] wrote:
Hi,
This is a great visualization tool but i find that shape of the mapper changes whenever I refresh the HTML file, Is there a way around it?
Thanks Kunal
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scikit-tda/kepler-mapper/issues/179?email_source=notifications&email_token=AAI6Y7NN7KVYJS3I4NAOJ7LQJM2INA5CNFSM4IWMUYD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLFDOVQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI6Y7JP4OJATIHOLSA63YTQJM2INANCNFSM4IWMUYDQ .
Hi, I have a similar issue. When I changed a color function. The visualization becomes completely different look. How can I make figures where coordinates of clusters are fixed but different color function as seen in?: https://www.ayasdi.com/blog/office-of-the-cdo/when-is-breast-cancer-like-ovarian-cancer/
Not possible at the moment, but I have tinkered with better control over color functions before, and I can implement something that lets a user switch between several color functions without refreshing the page. I also have played with code to drag-and-lock the position of a node.
On Tue, Oct 1, 2019, 9:40 AM takakoyama [email protected] wrote:
Hi, I have a similar issue. When I changed a color function. The visualization becomes completely different look. How can I make figures where coordinates of clusters are fixed but different color function as seen in?:
https://www.ayasdi.com/blog/office-of-the-cdo/when-is-breast-cancer-like-ovarian-cancer/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scikit-tda/kepler-mapper/issues/179?email_source=notifications&email_token=AAI6Y7MNO2HJ7DW5EX73DVLQMNVPNA5CNFSM4IWMUYD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEABXGDY#issuecomment-537096975, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI6Y7P7JN5TC7V4QFLXUU3QMNVPNANCNFSM4IWMUYDQ .