Skip to content
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

Azure DevOps Wiki - Flow Diagram node text alignment #1289

Closed
JulianHayward opened this issue Mar 2, 2020 · 2 comments
Closed

Azure DevOps Wiki - Flow Diagram node text alignment #1289

JulianHayward opened this issue Mar 2, 2020 · 2 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@JulianHayward
Copy link

In Azure DevOps Wiki using the Mermaid extension the Flow Diagram node text alignment is aligned left and the node width is doubled.

Steps to reproduce the behavior

In Azure DevOps Wiki create a new page and use code:
image

::: mermaid
 graph TD;
 A[Boss] --> B[L1 Joe];
 A --> G[L1 Bob];
 B --> C[L2 Joe<br> Sue];
 B --> D[L2 Joe<br> Finn];
 B --> E[L2 Joe<br> Jane];
 G --> H[L2 Bob<br> Miguelangelonilo];
 G --> I[L2 Bob<br> Anna];
 I --> J[L3 Anna<br> Me];
:::

output looks like this:

image

whilst on the Mermaid Live Editor it looks like this:

 graph TD;
 A[Boss] --> B[L1 Joe];
 A --> G[L1 Bob];
 B --> C[L2 Joe<br> Sue];
 B --> D[L2 Joe<br> Finn];
 B --> E[L2 Joe<br> Jane];
 G --> H[L2 Bob<br> Miguelangelonilo];
 G --> I[L2 Bob<br> Anna];
 I --> J[L3 Anna<br> Me];

image

@JulianHayward JulianHayward added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Mar 2, 2020
@GDFaber
Copy link
Member

GDFaber commented Mar 2, 2020

Hi @JulianHayward, thanks for reaching out. The problem you've run into has also been documented in #1177. Do you agree to closing your issue in favor of #1177?

@JulianHayward
Copy link
Author

hi @GDFaber - sure thing..

@GDFaber GDFaber closed this as completed Mar 5, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Mar 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants