Repository navigation
Conversation
… its card A map node can carry `logo`, an SVG or PNG path relative to the map file like an intake source's `logo`. embed_logos inlines it, and the card shows it on a small white tile where the kind sigil sits (the details panel too). Card size, colour and layout do not change; a node without `logo` renders as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Summary by QodoShow official product logos on visual map nodes
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
…x tile A card whose width came from its name ran the name under the logo tile. A card with a logo now keeps its name 36 px clear on both sides (and grows to match), and the logo draws at 16 px centred in a 20 px tile, clear of the status tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
A map node can now carry
logo: an SVG or PNG path relative to the map file, like an intake source'slogo.embed_logosinlines it at render, so the page still works offline, and the card draws it on a small white tilewhere the kind sigil sits (the details panel too). The card's size, colour and tab do not change, so layouts and the
check are unaffected; a node without
logorenders exactly as before. The mark is never recoloured, and the whitetile keeps it readable in both themes.
Why: architecture maps read faster when a card shows the product it runs on (GitHub, Postgres, Caddy ...). The idea
and the "official marks only, never recoloured" rule come from caru-ini/stack-diagram (MIT).
Tested: a three-node map with an SVG and a PNG logo renders with both inlined, check clean (0 crossings, 0 overlaps),
in light and dark. Changed:
assets/template.html(card, panel, two CSS rules),scripts/visual.py(
embed_logoscovers nodes),references/schema.md(the field).Raised by Anh Trinh
🤖 Generated with Claude Code