-
Notifications
You must be signed in to change notification settings - Fork 4
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 Mermaid diagram subgraph links fail/flowchart NOT supported #13
Comments
Here is also a graph that fails to be rendered: graph TB
When the incoming activity triggers the flow (don't edit or delete this step)
subgraph account_and_contact_found-False
direction TB
Create_case_for_unknown_customer
Set_variable_3
end
subgraph account_and_contact_found-True
direction TB
Create_case_for_known_customer
Set_variable_2
end
subgraph Condition-False
direction TB
Set_variable_6
end
subgraph Condition-True
direction TB
Set_variable
Set_variable_4
end
Initialize_variable --> Initialize_variable_2
Initialize_variable_2 --> Initialize_variable_4
Initialize_variable_4 --> Initialize_variable_5
Initialize_variable_5 --> Compose
Compose --> Condition
Condition --> Set_variable
Set_variable --> Set_variable_4
Condition --> Set_variable_6
Condition --> Get_customer_contact_and_account
Get_customer_contact_and_account --> Initialize_variable_3
Initialize_variable_3 --> account_and_contact_found
account_and_contact_found --> Create_case_for_known_customer
Create_case_for_known_customer --> Set_variable_2
account_and_contact_found --> Create_case_for_unknown_customer
Create_case_for_unknown_customer --> Set_variable_3
account_and_contact_found --> Connect_the_record_to_the_incoming_activity__don't_edit_or_delete_this_step_
When the incoming activity triggers the flow (don't edit or delete this step) --> Initialize_variable
|
@acieslik As a solution I could add support for converting Mermaid mmd Diagram File To SVG as documented here: https://github.com/mermaid-js/mermaid-cli?tab=readme-ov-file#transform-a-markdown-file-with-mermaid-diagrams What do you think? |
I did some tests and if I just convert to mermaid diagram to png using the mermaid-cli it can be used in an Azure DevOps Wiki. I'll continue to do some more tests and if everything works I will add a parameter that converts the mermaid to png if required for Azure DevOps Wiki. |
Fixed with latest release v1.1.5. |
When you publish your Logic App or Power Automate Flow markdown documentation on an Azure DevOps wiki the mermaid diagram does not supports subgraphs.
See https://github.com/MicrosoftDocs/azure-devops-docs/issues/12028
Fix: Change graph to flowchart.
The text was updated successfully, but these errors were encountered: