Skip to content

Fix truncated state variables and warped box issues#89

Open
SIDDHARTH1-1CHAUHAN wants to merge 1 commit into
PathwayCommons:masterfrom
SIDDHARTH1-1CHAUHAN:fix-issues-88-80
Open

Fix truncated state variables and warped box issues#89
SIDDHARTH1-1CHAUHAN wants to merge 1 commit into
PathwayCommons:masterfrom
SIDDHARTH1-1CHAUHAN:fix-issues-88-80

Conversation

@SIDDHARTH1-1CHAUHAN
Copy link
Copy Markdown

This commit addresses two visual rendering bugs:

Issue #88: State variables were getting truncated when labels were long. The stadium shape was using max(width, height) * 0.24 for corner radius, which caused issues when width became much larger than height. Changed to use height/2 for proper semicircular ends.

Issue #80: Long node labels were causing boxes to appear warped. Added text-wrap property to enable multi-line labels within fixed node boundaries, maintaining proper SBGN glyph dimensions.

Fixes #88
Fixes #80
By: Siddharth Chauhan

This commit addresses two visual rendering bugs:

Issue PathwayCommons#88: State variables were getting truncated when labels were long.
The stadium shape was using max(width, height) * 0.24 for corner radius,
which caused issues when width became much larger than height. Changed to
use height/2 for proper semicircular ends.

Issue PathwayCommons#80: Long node labels were causing boxes to appear warped.
Added text-wrap property to enable multi-line labels within fixed node
boundaries, maintaining proper SBGN glyph dimensions.

Fixes PathwayCommons#88
Fixes PathwayCommons#80
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.

Truncated state variable Sbgn units of information and statevars have a warped box if the label is too long

1 participant