Changes between Version 4 and Version 5 of MermaidMacro


Ignore:
Timestamp:
Jan 14, 2017, 4:24:10 AM (7 years ago)
Author:
tkob-trac
Comment:

Add description about TracLink

Legend:

Unmodified
Added
Removed
Modified
  • MermaidMacro

    v4 v5  
    99[[Image(mermaid_demo.png)]]
    1010
    11 Current version of this macro uses mermaid version 0.5.1.
     11Current version of this macro uses mermaid version 0.6.0.
     12
     13=== Mermaid live editor
    1214
    1315You can use Mermaid live editor by double-clicking a chart. In the live editor you can:
     
    1618
    1719[[Image(mermaidliveeditor.png)]]
     20
     21=== TracLink
     22
     23In flow chat diagrams, it is possible to add TracLink to a box:
     24
     25{{{
     26{{{#!Mermaid
     27%% Subgraph example
     28graph TB
     29
     30    subgraph one
     31        a1(This is the text in the box)-->|label 1|a2
     32    end
     33
     34    subgraph two
     35        b1((B1))-->b2((B2))
     36    end
     37
     38    subgraph three
     39        c1>C1]-->c2{C2}
     40        subgraph four
     41            d4-->d5
     42            d4-->d4
     43        end
     44    end
     45
     46    c1-.->d5
     47    b1-->a2
     48    a1==>b2
     49
     50    %% A link to external URL
     51    click a1 "https://trac-hacks.org/wiki/MermaidMacro" "Tooltip for a callback"
     52
     53    %% TracLink
     54    click b2 trac [[TracMermaid|This is a tooltip for a (Trac) link]]
     55}}}
     56}}}
    1857
    1958== !Bugs/Feature Requests