#506·archify

feat: allow domain-appropriate node icons independently of technical types

Author: tt-a1iCreated Sep 22, 2026Updated Sep 28, 2026

Problem

A holiday workflow renders holidays with code brackets, a make-up workday with a shield, and time boundaries with an external-link symbol. These corner icons are selected by technical node types, so choosing colors also forces an unrelated visual meaning. The default workflow legend compounds the mismatch with Agent logic / Policy / External system.

Agreed scope

Add an optional icon field to nodes/components/participants/states across the five existing diagram modes. Provide a small renderer-owned SVG catalog including calendar, clock, person, briefcase, flag, and moon, plus existing symbols and none to hide the icon. Omission retains the current type-based symbol. Icon selection must not change type, colors, topology, routing, legend grouping, or Viewer interactions. Reuse existing custom legend labels to express Holiday / Make-up work / Time marker.

No remote icon loading, arbitrary SVG, new node types, or automatic domain inference. Existing brand marks remain independent.

Acceptance

  • A holiday example can choose calendar/moon/briefcase/clock symbols and meaningful legend labels.
  • Unknown icon names fail validation; omission preserves existing rendered output; none removes only the corner icon.
  • Cover all five modes, brand coexistence, light/dark browser captures, and export-safe inline SVG.

Maintainer requested this issue and implementation in the current task. Comparison base: 5289f6867f048a7450ec5718f58459613a84cf41.