Skip to content

Plot styles and effects, plus fully refreshed README screenshots - #17

Merged
Joshuaakaspace merged 2 commits into
mainfrom
claude/semantica-repo-evaluation-essnux
Aug 16, 2026
Merged

Joshuaakaspace merged 2 commits into
mainfrom
claude/semantica-repo-evaluation-essnux

Conversation

@Joshuaakaspace

Copy link
Copy Markdown
Collaborator

Follows the merged #16 with two commits: the plot effects system, and a full screenshot refresh.

Styles and effects for the library plots

v.plot_graph(style="dark", focus="Acme Corp")     # neighborhood focus + glow
v.plot_timeline(highlight="Ada Lovelace")          # one lifeline, spotlit

my_style = graphier.PlotStyle(background="#101418", colors={"PERSON": "#ffb86b"})
v.plot_graph(style=my_style)
  • graphier.PlotStyle — paper (default) and dark presets, or fully custom (background, inks, grid, node ring, per-label color overrides layered over the preset). The dark preset reuses the app's dark-theme entity palette, keeping web UI and notebook visually coherent.
  • focus= on plot_graph — the entity and its neighborhood stay vivid, the focus node gets a soft two-ring glow, everything else fades toward the style's background (the app's hover effect, in a figure). Edge labels only render inside the vivid set; the title names the entity.
  • highlight= on plot_timeline — one or more lifelines spotlit (bold label, larger dots, stronger span) while the rest recede.
  • Unknown style strings and missing focus entities raise clear ValueErrors. Faded colors blend toward the style's background, so effects work identically on any theme.

dark focus

Refreshed README screenshots

All five app screenshots recaptured from the live demo vault with the current build — the old set predated several features:

  • Editor shot now shows the + Doc upload, the Notes/Graph/Timeline toggle, vault search, and + Link suggestion buttons
  • Timeline shot finally includes the lifeline chart heading the chronology
  • Entity page, graph canvas, and intelligence panel re-taken with the current palette (including the colorblind-safe CONCEPT fix)

Testing

6 new tests (61 total): preset and custom styles applied to figure backgrounds, invalid-style and missing-focus errors, focus title, and the highlight spotlighting exactly one bolded row. Full suite green after rebase.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QVbxD1gd3gsC6zXKE6L3ya


Generated by Claude Code

claude added 2 commits August 16, 2026 09:04
- graphier.PlotStyle: paper (default) and dark presets, or fully custom
  (background, inks, grid, node ring, per-label color overrides merged
  over the preset palette). The dark preset uses the app's dark-theme
  entity colors.
- plot_graph(focus="Acme Corp"): the entity and its neighborhood stay
  vivid — the focus node gets a soft two-ring glow — while everything
  else fades toward the background, mirroring the app's hover effect.
  Edge labels only render inside the vivid set; the title names the
  focused entity.
- plot_timeline(highlight=...): one or more lifelines spotlit (bold row
  label, larger dots, stronger span line) while the rest recede.
- Unknown style strings and missing focus entities raise clear
  ValueErrors. PlotStyle exported at package top level.
- README gains the effects snippet + dark-focus showcase figure;
  6 new tests (61 total).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QVbxD1gd3gsC6zXKE6L3ya
Recaptured from the live demo vault with the latest build: the editor
shot now shows the full toolbar (+ Doc upload, Notes/Graph/Timeline
toggle, vault search) and + Link suggestion buttons; the timeline shot
finally includes the lifeline chart above the year-grouped event list;
entity page, graph canvas, and vault-intelligence panel re-taken with
the current palette (including the CONCEPT color fix).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QVbxD1gd3gsC6zXKE6L3ya
@Joshuaakaspace
Joshuaakaspace merged commit cbf0dc0 into main Aug 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants