mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-04 03:24:13 +01:00
Added notation for titles on subgraphs
This commit is contained in:
@@ -39,6 +39,19 @@
|
||||
class green B;
|
||||
</div>
|
||||
<h1>Sub graphs</h1>
|
||||
<div class="mermaid">graph TB
|
||||
subgraph one
|
||||
a1-->a2
|
||||
end
|
||||
subgraph two
|
||||
b1-->b2
|
||||
end
|
||||
subgraph three
|
||||
c1-->c2
|
||||
end
|
||||
c1-->a2
|
||||
|
||||
</div>
|
||||
<div class="mermaid">graph TB
|
||||
subgraph
|
||||
sq[Square shape] -.-> ci((Circle shape))
|
||||
@@ -48,7 +61,7 @@
|
||||
end
|
||||
|
||||
%% Notice that no text in shape are added here instead that is appended further down
|
||||
subgraph
|
||||
subgraph Go go
|
||||
e --> od3>Really long text with linebreak<br>in an Odd shape]
|
||||
|
||||
e((Inner / circle<br>and some odd <br>special characters)) --> f(,.?!+-*ز)
|
||||
|
||||
Reference in New Issue
Block a user