Skip to content

docs(Diagram): Add Diagram component documentation #3089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

dimodi
Copy link
Contributor

@dimodi dimodi commented Jul 3, 2025

Some more API links will be added later.

@dimodi dimodi requested review from a team as code owners July 3, 2025 13:34

The Layered Diagram layout has the following sub types:

* `Down`—the root shape is at the top and all descendants are arranged below it
Copy link
Contributor

Choose a reason for hiding this comment

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

End all list items with a full stop as at least one of them is a complete sentence.

Suggested change
* `Down`—the root shape is at the top and all descendants are arranged below it
* `Down`—the root shape is at the top and all descendants are arranged below it.


* Distance between linked shapes
* Connection lengths
* Crossings between layers of shapes.
Copy link
Contributor

Choose a reason for hiding this comment

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

None of the list items is a complete sentence, so skip the end punctuation here.

Suggested change
* Crossings between layers of shapes.
* Crossings between layers of shapes


* `Circle`—you can use different `Width` and `Height` values to define an ellipse.
* `Image`&mdash;all shape types support text labels, but only the `Image` shape can display a graphic. Use the `<DiagramShape>` `Source` parameter to define the image URL or data URI.
* `Rectangle` (default)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* `Rectangle` (default)
* `Rectangle` (default).

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