pygraphistry
pygraphistry copied to clipboard
Add `Hide Standalone Nodes` as a URL parameter.
Add Hide Standalone Nodes as a URL parameter.
Add this option to be able to check the box for Hide Standalone Nodes making it possible to hide standalone nodes at load.
You should now be able to do &pruneOrphans=true (or .settings(url_params={'pruneOrphans': 'true'}))
Landed w/ server 2.34.14 🚀
There seems to be a bug with setting .settings(url_params={'pruneOrphans': 'true'})
On initial load, the Hide Standalone Nodes setting is selected, but it doesn't seem to be working

However, toggling it Off and On again manually, seems to get the desired result of lesser number of nodes

Could you pls help to take a look?
Interesting, thanks -- I'm betting this is a timing issue, where somehow the url param is not getting loaded in the initial pageload filter pipeline. Meanwhile, loading it on a delay (wait 2-3s for post-load) w/ the JS API client is probably a workaround for JS embedding API users, but not for pure URL (ex: Python) embeddings.
Will add to our core engine tracker, thank you!