Files
OpenMAIC/packages
e58c700082 fix(generation): keep diagram node position off the hover transform (#1339)
* fix(generation): keep diagram node position off the hover transform

A CSS `transform` overrides the SVG `transform` presentation attribute, so a
generated `.node:hover { transform: ... }` rule wipes out the `translate()`
that positions the node and snaps it toward the origin while hovered. The
diagram prompt only asked to "avoid hover transform conflicts", which was too
vague to prevent this.

Spell out the contract instead: the outer `<g>` carries positioning only, and
hover/active animations apply to an inner group.

Refs #1300

Co-authored-by: Cursor <cursoragent@cursor.com>

* chore(generation): bump package version to 0.3.4

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: wyuc <wang-yc24@mails.tsinghua.edu.cn>
2026-09-02 03:54:25 -04:00
..