Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement force simulation in squeak #36

Open
LucPrestin opened this issue May 30, 2022 · 1 comment
Open

Implement force simulation in squeak #36

LucPrestin opened this issue May 30, 2022 · 1 comment

Comments

@LucPrestin
Copy link
Owner

LucPrestin commented May 30, 2022

Describe the solution you'd like

Currently, whenever we want to look at the visualization of a graph generated from a trace, we have to export it to a json file to then load it into a visualization written in JavaScript that runs in a browser.

This was made this way, because I new how to use d3 and the visualization is ultimately just a tool for insight-gaining. It has some problems though. When we moved the aggregations back into squeak, that also meant that we could no longer have a look into the aggregations that we made. The way back to the data broke off.

To shorten the feedback look and allow for some kind of going back to the data, it would be good to have the visualization in squeak too.

Hints & Thoughts

  • one way would be to re-implement d3-force in squeak. For a discussion on that, have a look at the wiki.
@LucPrestin LucPrestin added the type::enhancement New feature or request label May 30, 2022
@LinqLover
Copy link

Just three very random pointers, not necessarily of your interest:

  • There is MagicMouse which allows you to embed a browser (for instance for your localhost HTML w/ JS) in Squeak as a scalable Morph. This way you could use real D3.js
  • Iirc Roassal3 has a force direct graph visualization type that should work in latest Squeak Trunk
  • Another implementation of force direct graphs should be included in the block management of Sandblocks

@LucPrestin LucPrestin added product::force-graph type::enhancement New feature or request and removed type::enhancement New feature or request labels Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants