Skip to content

Updated diagram#2

Merged
charleyRV merged 3 commits intomainfrom
feature/diagram
Apr 9, 2026
Merged

Updated diagram#2
charleyRV merged 3 commits intomainfrom
feature/diagram

Conversation

@charleyRV
Copy link
Copy Markdown
Collaborator

No description provided.

@charleyRV charleyRV merged commit 1afe6c5 into main Apr 9, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 69bf2f719f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const LANE_W = 230;
const LANE_GAP = 40;
const NODE_W = 200;
const NODE_H = 100;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use dynamic node height for wrapped text

The new fixed NODE_H = 100 makes node sizing independent of content even though rendering can include up to two title lines, two subtitle lines, and a file reference line. For nodes where both title and subtitle wrap and fileRef is present, the subtitle and ref text baselines collide near the bottom of the box, so labels overlap or clip and become unreadable; this is a regression from the previous text-height-based sizing.

Useful? React with 👍 / 👎.

if (rowDiff <= 1) {
// Adjacent rows: straight vertical line
d = "M " + x1 + "," + y1 + " L " + x2 + "," + y2;
labelX = x1 + from.width / 2 + 14;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep same-lane edge labels within the canvas

For same-lane edges, labelX now adds from.width / 2 on top of the center point, which places start-anchored labels at the lane’s extreme right edge. In the rightmost lane this leaves only a few pixels before the SVG boundary, so typical labels (more than a few characters) extend beyond the viewBox and are visibly cut off.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants