feat(provenance): add autk-provenance module with provenance tracking and session insights#68
Open
JP109 wants to merge 21 commits into
Open
feat(provenance): add autk-provenance module with provenance tracking and session insights#68JP109 wants to merge 21 commits into
JP109 wants to merge 21 commits into
Conversation
… to annotate action nodes with insights manually
…nce for all kinds of charts and maps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey, this PR adds
autk-provenance, a new module we built on top of the existing Autark stack.Every interaction a user makes, like picking features on the map, brushing a chart, toggling a layer,
panning the camera, gets recorded as a node in a branching graph. You can navigate back and
forward through that graph and every view restores to exactly what it looked like at that point.
Branches happen naturally when you go back and take a different path.
The easiest way in is
renderInsightsWorkspace, which wires up a full coordinated workspace(map + scatter + bar chart + parallel coordinates + histogram + provenance trail + session
insights) from a single function call.
createAutarkProvenanceis there if you want to bringyour own layout, and
createProvenancehandles non-Autark state shapes.There's also a session insight engine that reads the graph and summarizes the session and allows users to annotate nodes.
We had to touch a few of the existing modules to make it work.
autk-mapnow exposes viewportlisteners and per-layer highlight methods.
autk-plotgot owned vs coordinated selection, brushevents, and a new Histogram type. Nothing existing was broken or removed.
Two gallery examples are under
autk-provenance/if you want to run it:all-plots-provenanceis the full workspace,
map-plot-provenanceis a lighter map-only version.