Skip to content

docs: fix orthogonal projection description and add cross-links - #1030

Merged
tbouffard merged 1 commit into
mainfrom
docs/fix_perimeter_and_edgestyle
Mar 26, 2026
Merged

docs: fix orthogonal projection description and add cross-links#1030
tbouffard merged 1 commit into
mainfrom
docs/fix_perimeter_and_edgestyle

Conversation

@redfish4ktc

@redfish4ktc redfish4ktc commented Mar 26, 2026

Copy link
Copy Markdown
Member

In perimeters.md, replace the reference to the internal Graph.isOrthogonal method with a user-facing explanation: orthogonal behavior is determined by the isOrthogonal metadata property of the EdgeStyle in the EdgeStyleRegistry.

In edge-styles.md, replace the placeholder in the EdgeStyleMetaData warning with details about the impact of
isOrthogonal on perimeter point computation.

Add cross-links between both pages on this topic.

Summary by CodeRabbit

  • Documentation
    • Clarified how edge terminal points are computed on vertex perimeters.
    • Explained how edge styling properties control orthogonal projection behavior.
    • Added cross-references between related documentation sections.

In perimeters.md, replace the reference to the internal
`Graph.isOrthogonal` method with a user-facing explanation:
orthogonal behavior is determined by the `isOrthogonal` metadata
property of the EdgeStyle in the EdgeStyleRegistry.

In edge-styles.md, replace the XXX placeholder in the
EdgeStyleMetaData warning with details about the impact of
`isOrthogonal` on perimeter point computation.

Add cross-links between both pages on this topic.
@redfish4ktc redfish4ktc added the documentation Improvements or additions to documentation label Mar 26, 2026
@coderabbitai

coderabbitai Bot commented Mar 26, 2026

Copy link
Copy Markdown

Walkthrough

Documentation updates clarifying that edge orthogonality determination has been moved from a hardcoded list in Graph.isOrthogonal to being driven by EdgeStyleRegistry via each EdgeStyle's isOrthogonal metadata property.

Changes

Cohort / File(s) Summary
Documentation Updates
packages/website/docs/usage/edge-styles.md, packages/website/docs/usage/perimeters.md
Added and updated documentation explaining that EdgeStyleMetaData.isOrthogonal determines how edge terminal points are computed on the vertex perimeter, replacing prior hardcoded behavior with registry-driven metadata.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is minimal and lacks required checklist items and structured sections specified in the template. Complete the PR description using the template: add PR Checklist items, provide issue reference (closes #1030), explain problem/benefit, confirm testing and documentation updates, and verify Conventional Commits title format.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and accurately describes the main changes: fixing the orthogonal projection description and adding cross-links between documentation files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@tbouffard
tbouffard merged commit ddf5df6 into main Mar 26, 2026
8 checks passed
@tbouffard
tbouffard deleted the docs/fix_perimeter_and_edgestyle branch March 26, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants