Trees and Tables Synchronous View
A quick demo of possible directions for graph views in W&B
Created on December 8|Last edited on December 8
Comment
Graph as View or Controller for Tables
Proposal: Allow for bidrectional synchronization of user actions from a Table and a Graph such that both panels can be used as a view and a controller.
Possible UX affordances
- hover on node: for any node in the graph, show samples generated from that node
- highlight subgraphs and update Table view to match
- click on an edge to highlight the path from the root through that edge and filter the Table below to only the nodes on that path
- click on any two nodes to highlight the path(s) connecting them and update the Table to contain only the nodes in the highlighted subgraph
- create a graph from a Table query: filter the Table then create a graph/tree from the contents of specific column(s)
- basic level: dendrogram custom chart as an option PanelPlot
- advanced level: build the tree/graph heuristically (e.g. using edit distance between lots of different prompts)

Sample results for a collection of prompts
Use a .contains() column to group samples based on prompt subfields (e.g. .contains("Claude Monet"), .contains("in an enchanted garden"), .contains("giant"))
You can edit the target string directly in the second Table below.
As an example, it looks like the "Claude Monet" artwork in the top row has more clear brush strokes and almost a canvas-like texture, compared to the very smooth or photo-realistic textures in the bottom row.
Run: easy-darkness-15
16
Hover on a node to see matching samples


Highlight subgraphs

Add a comment