On Monday, 12 December 2022 at 14:12:11 UTC+1 Francesco Bonazzi wrote: > What about merging it as experimental API? In case you are not sure about > the state of the current code, we have a "*sandbox*" module in SymPy for > temporary experiments. >
That's a nice idea, I had forgotten about the sandbox folder. Though I hesitate to trigger full CI-tests on every commit for something that might even lack proper tests in its infancy (GUI-stuff is notoriously hard to efficiently unit test...). On that topic, has a "sandbox" repo under the sympy-org ever been discussed? I feel like that would be a less intrusive place for the humble beginnings for this kind of projects. On Monday, December 12, 2022 at 6:30:08 a.m. UTC+1 Aaron Meurer wrote: > You might also look at mermaid instead of graphviz. Although ideally I >> think you'd want something where you can dynamically expand/collapse >> the tree elements. Otherwise, this sort of thing would be unusable for >> any expression that isn't fairly small. >> > Agreed, surprisingly I found it very hard to find any preexisting framework to visualize large graphs (trees), gephi <https://github.com/gephi/gephi> looks competent, but its looks like it's a Java based GUI. The most promising widget like package for the notebook might be ipysigma <https://github.com/medialab/ipysigma>. But it doesn't look like it (or sigmajs really) supports collapsing subtrees (they focus on general graphs instead of trees <https://github.com/jacomyal/sigma.js/issues/366#issuecomment-52150108>). P.S. Just a list of URLs for some bits and pieces that do parts of what I envision: - d3-collapsible-tree-demo <https://github.com/kyhau/d3-collapsible-tree-demo> (note sure if this is the original <https://bl.ocks.org/mbostock/4339083> or vice versa) - renderjson <http://caldwell.github.io/renderjson/> - ...the renderjson is pretty much what's included in: IPython.display.JSON, which I learned in this stackoverflow thread <https://stackoverflow.com/questions/18873066/pretty-json-formatting-in-ipython-notebook> . - collapsible d3 with zoom <https://stackoverflow.com/a/17509553/790973> (demo <http://jsfiddle.net/nrabinowitz/fF4L4/2/>) Björn -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/91cb4e89-b3b2-4e36-8de0-5dc1f42f2090n%40googlegroups.com.
