You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(comments): apply COMMENT to entities and relationships, toggle in place
- Parse table-level COMMENT (MySQL CREATE TABLE ... COMMENT='...') and
DBML Table Note: '...' / Note { '...' }; relationships pick up
Ref [note: '...'] or fall back to the FK column's COMMENT.
- generateChenModelData uses pickLabel for entities and relationships,
embedding nameLabel/commentLabel on every node so the toggle can switch
without regenerating the graph.
- setShowComment now mutates labels in place and refreshes connected edges
instead of calling handleGenerate, preserving layout.
- Rewrite custom-node update for entity/attribute/relationship to mutate
shapes in place: keeps G6's keyShape reference valid, recomputes size on
label change, and toggles the PK underline. Fixes rectangle edits not
showing the new label and edges not reconnecting until the node is
dragged.
- Editor finishEditing refreshes edges connected to the edited node so
endpoints follow the new bbox immediately.
- Rename Chinese label "属性显示注释" -> "展示 COMMENT".
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments