mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 14:29:25 +02:00
Added support for a new link syntax per recommendation:
link <actor>: <label> @ <link-url> Removed documentation for class/icon definitions until we can finalize the design for this. Fixed prettier errors.
This commit is contained in:
@@ -564,6 +564,7 @@ context('Sequence diagram', () => {
|
||||
links a: {"Repo": "https://www.contoso.com/repo", "Swagger": "https://www.contoso.com/swagger"}
|
||||
links j: {"Repo": "https://www.contoso.com/repo"}
|
||||
links a: {"Dashboard": "https://www.contoso.com/dashboard", "On-Call": "https://www.contoso.com/oncall"}
|
||||
link a: Contacts @ https://contacts.contoso.com/?contact=alice@contoso.com
|
||||
a->>j: Hello John, how are you?
|
||||
j-->>a: Great!
|
||||
`,
|
||||
|
Reference in New Issue
Block a user