Repository navigation
Use host-reported parents for notebook dependency graphs - #43
Merged
Merged
Conversation
The host can report a dependency without a shared name or rule out one that name matching would infer. Use its parent IDs in both graph views, and infer edges from definitions and references only for cells that omit their parents. Update the minimap’s connections and highlighted variables when the host changes just those edges.
manzt
force-pushed
the
marimo-0.26/cell-parents
branch
from
November 25, 2026 14:44
632a971 to
a6f1a91
Compare
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.
Marimo 0.26.0 can report the direct parents of each cell. Matching definitions to references can miss a dependency without a shared name, or draw an edge the host has explicitly ruled out.
Use the host’s parent IDs in the graph explainer and minimap. An empty parent list means the cell has no dependencies. When a host omits the list for a cell, Moku still infers its parents from definitions and references. The minimap also refreshes its connections and highlighted variables when only the parent IDs change.