Skip to content

Commit f5b70be

Browse files
authored
Reformat DefaultAzureCredential flow chart (Azure#23222)
1 parent 7206c69 commit f5b70be

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

sdk/azidentity/img/mermaidjs/DefaultAzureCredentialAuthFlow.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
11
```mermaid
22
%% STEPS TO GENERATE IMAGE
33
%% =======================
4-
%% 1. Install mermaid CLI (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md)
4+
%% 1. Install mermaid CLI v10.9.1 (see https://github.com/mermaid-js/mermaid-cli/blob/master/README.md):
5+
%% npm i -g @mermaid-js/[email protected]
56
%% 2. Run command: mmdc -i DefaultAzureCredentialAuthFlow.md -o DefaultAzureCredentialAuthFlow.svg
67
7-
flowchart LR;
8-
A(Environment):::deployed ==> B(Workload Identity):::deployed ==> C(Managed Identity):::deployed ==> D(Azure CLI):::developer ==> E(Azure Developer CLI):::developer;
8+
%%{
9+
init: {
10+
'theme': 'base',
11+
'themeVariables': {
12+
'tertiaryBorderColor': '#fff',
13+
'tertiaryColor': '#fff'
14+
}
15+
}
16+
}%%
917
18+
flowchart LR;
1019
subgraph CREDENTIAL TYPES;
1120
direction LR;
12-
Deployed(Deployed service):::deployed --- Developer(Developer):::developer;
21+
Deployed(Deployed service):::deployed ~~~ Developer(Developer):::developer;
22+
end;
1323
14-
%% Hide links between boxes in the legend by setting width to 0. The integers after "linkStyle" represent link indices.
15-
linkStyle 4 stroke-width:0px;
24+
subgraph CREDENTIALS;
25+
direction LR;
26+
A(Environment):::deployed --> B(Workload Identity):::deployed --> C(Managed Identity):::deployed --> D(Azure CLI):::developer --> E(Azure Developer CLI):::developer;
1627
end;
1728
1829
%% Define styles for credential type boxes

0 commit comments

Comments
 (0)