Add document type icons to graph nodes #153

Open
lost-rob0t wants to merge 9 commits from feat/graph-document-type-icons into main
lost-rob0t commented 2026-07-29 17:14:39 +00:00 (Migrated from github.com)

Summary

  • add inline SVG graph icons for every canonical StarIntel v0.9 document type;
  • render the icon inside each Cytoscape node while keeping dtype color and shape styling;
  • use a generic document icon for unknown/custom dtypes and a dedicated unresolved icon;
  • increase the icon size for research nodes;
  • verify the icon map stays synchronized with starintel_doc.dtypes.

Coverage

  • canonical dtype coverage test for all 50 document types;
  • separator normalization and fallback tests;
  • graph style tests for node icon sizing and dtype-specific icon rules.

Validation

GitHub Actions is the merge gate. Do not merge unless formatting, lint, typecheck, unit/integration tests, build, artifact validation, and Chromium tests pass.

## Summary - add inline SVG graph icons for every canonical StarIntel v0.9 document type; - render the icon inside each Cytoscape node while keeping dtype color and shape styling; - use a generic document icon for unknown/custom dtypes and a dedicated unresolved icon; - increase the icon size for research nodes; - verify the icon map stays synchronized with `starintel_doc.dtypes`. ## Coverage - canonical dtype coverage test for all 50 document types; - separator normalization and fallback tests; - graph style tests for node icon sizing and dtype-specific icon rules. ## Validation GitHub Actions is the merge gate. Do not merge unless formatting, lint, typecheck, unit/integration tests, build, artifact validation, and Chromium tests pass.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/graph-document-type-icons:feat/graph-document-type-icons
git switch feat/graph-document-type-icons

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/graph-document-type-icons
git switch feat/graph-document-type-icons
git rebase main
git switch main
git merge --ff-only feat/graph-document-type-icons
git switch feat/graph-document-type-icons
git rebase main
git switch main
git merge --no-ff feat/graph-document-type-icons
git switch main
git merge --squash feat/graph-document-type-icons
git switch main
git merge --ff-only feat/graph-document-type-icons
git switch main
git merge feat/graph-document-type-icons
git push origin main
Sign in to join this conversation.
No description provided.