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

[graph] Support filtering/collapsing of data flow regions to make huge graphs readable #3

Open
utaal opened this issue May 27, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@utaal
Copy link
Member

utaal commented May 27, 2019

This may be needed for complex graphs like Frank's epic doop graph.

Various snippets from #1:


@frankmcsherry

I've been thinking a bit about how to present these, and one thought was: maybe it makes sense to have two nodes for the feedback node, and to not connect them other than visually. This maybe allows the graph to dangle a bit better, and reveals the acyclic definitions.

@comnik

I think this could be a good use case for a touch of interactivity, e.g. draw the nodes somewhat differently to indicate an outgoing / incoming feedback edge, and then highlight the pair when the user hovers on either of the two nodes.

As an experiment, I built an extra script for adding DataScript into the mix. This is intended to be completely opt-in, without changing anything about the current representation.

I also added a hook to re-render the whole thing reactively.

This should give us a low-overhead (no React!) way to experiment with a few more dynamic features, such as highlighting feedback edges.

It would be helpful to have scopes be exported as well, which would allow us to do things such as collapsing / expanding scopes.

@utaal utaal added the enhancement New feature or request label May 27, 2019
@utaal utaal changed the title [graph-tool] Support filtering/collapsing of data flow regions to make huge graphs readable [graph] Support filtering/collapsing of data flow regions to make huge graphs readable May 28, 2019
@namibj
Copy link
Contributor

namibj commented Feb 10, 2021

I second this, and raise you RSLint's scope-analytics largely-autogenerated dataflow (via differential-dataflow).

I expect this to get worse, considering there are some places where there should be delta-query multijoins instead of chained binary joins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants