Skip to content

docs: restyle intro pipeline figure to dj.Diagram notation (adaptive) - #250

Open
dimitri-yatsenko wants to merge 1 commit into
mainfrom
docs/intro-pipeline-figure-restyle
Open

docs: restyle intro pipeline figure to dj.Diagram notation (adaptive)#250
dimitri-yatsenko wants to merge 1 commit into
mainfrom
docs/intro-pipeline-figure-restyle

Conversation

@dimitri-yatsenko

Copy link
Copy Markdown
Member

Restyles the intro-page pipeline figure (src/images/pipeline.svg, shown on index.md) to the modernized dj.Diagram notation, and updates the illustrated schema.

Visual

  • Muted tier palette with colored strokes (was the old saturated fills): Manual/Lookup rectangles, Imported/Computed ovals.
  • Edge thickness encodes cardinality — thick = 1:1 (Scan → AverageFrame), thin = one-to-many — matching the #1533/#1534 rule.
  • Theme-adaptive (auto): light by default, dark via prefers-color-scheme so it reads on both docs themes. Degrades to the light palette where the media query isn't honored.

Schema

  • Activity is now a Part of Segmentation, drawn inside a master-part entity cluster.
  • The cell_mask and trace object-store attributes moved onto Segmentation.Activity; the master keeps num_cells.
  • The make() snippet now inserts into self.Activity.

Mirrors the same figure regenerated in datajoint-python's README (on the #1534 diagram-restyle branch).

Redraw the intro-page pipeline figure in the modernized dj.Diagram notation:
muted tier palette with colored strokes, ovals for Imported/Computed and
rectangles for Manual/Lookup, thick/thin edges encoding cardinality, and a
master-part entity cluster. Activity is now a Part of Segmentation, with the
cell_mask and trace object-store attributes on the part and a make() that
inserts into Segmentation.Activity. The SVG is theme-adaptive (auto): light by
default, dark via prefers-color-scheme so it reads on both docs themes.
@dimitri-yatsenko dimitri-yatsenko added the documentation Improvements or additions to documentation label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant