# Prompt Version 9: UML Annotation Target Clarity Delta

Use this as a delta over `state-uml-recreated.prompt.md` after the eighth
rendered SVG/draw.io pass.

## Append Lines

- Every annotation arrow must have an explicit visual target. The arrowhead
  should land on the annotated element boundary or on the specific line segment
  being described.
- Annotation arrows must not disappear behind the element they annotate.
- Annotation labels must not cover state names, action text, connector labels,
  or connector lines.
- If an annotation points to a state-internal action, prefer a direct vertical or
  horizontal pointer and move the label to create enough room.
- If an annotation points to a transition line, place the arrowhead near the
  line without hiding the line's semantic direction.
- Keep annotation labels and annotation arrows editable in draw.io when they are
  present in the rendered SVG.

## Modify Lines

- Change `label boundary clearance` to include annotation labels and annotation
  arrows, not only state and transition labels.
- Change `editable/rendered equivalence` to require red annotation text and red
  annotation arrows as editable draw.io cells when present in SVG.

## Validation Additions

- For every red annotation, answer: what exact element or line does it annotate?
- Verify the arrowhead visibly reaches that exact target.
- Verify annotation labels do not obscure the target text or connector label.
