mirror of
https://github.com/zadam/trilium.git
synced 2026-07-05 07:48:44 +02:00
feat(mermaid): integrate two new note types
This commit is contained in:
@@ -2304,7 +2304,9 @@
|
||||
"sample_user_journey": "User Journey",
|
||||
"sample_xy": "XY",
|
||||
"sample_venn": "Venn",
|
||||
"sample_ishikawa": "Ishikawa"
|
||||
"sample_ishikawa": "Ishikawa",
|
||||
"sample_treeview": "TreeView",
|
||||
"sample_wardley": "Wardley Map"
|
||||
},
|
||||
"mind-map": {
|
||||
"addChild": "Add child",
|
||||
|
||||
@@ -505,6 +505,47 @@ ishikawa-beta
|
||||
Environment
|
||||
Subject moved too quickly
|
||||
Too dark
|
||||
`
|
||||
},
|
||||
{
|
||||
name: t("mermaid.sample_treeview"),
|
||||
content: `\
|
||||
treeView-beta
|
||||
"src"
|
||||
"components"
|
||||
"Button.tsx"
|
||||
"Modal.tsx"
|
||||
"services"
|
||||
"api.ts"
|
||||
"utils.ts"
|
||||
"index.ts"
|
||||
"package.json"
|
||||
"README.md"
|
||||
`
|
||||
},
|
||||
{
|
||||
name: t("mermaid.sample_wardley"),
|
||||
content: `\
|
||||
wardley-beta
|
||||
title Tea Shop
|
||||
|
||||
anchor Customers [0.95, 0.63]
|
||||
anchor Business [0.95, 0.27]
|
||||
|
||||
component Cup of Tea [0.79, 0.61]
|
||||
component Tea [0.63, 0.81]
|
||||
component Cup [0.57, 0.46]
|
||||
component Water [0.52, 0.89]
|
||||
component Kettle [0.47, 0.53]
|
||||
component Power [0.36, 0.72]
|
||||
|
||||
Customers -> Cup of Tea
|
||||
Business -> Cup of Tea
|
||||
Cup of Tea -> Tea
|
||||
Cup of Tea -> Cup
|
||||
Cup of Tea -> Water
|
||||
Water -> Kettle
|
||||
Kettle -> Power
|
||||
`
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user