Skip to content

Commit f67e4a7

Browse files
add title controls to the views
#36 Add title controls
1 parent 1c6aab5 commit f67e4a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

diagrams/vc-spec-map/kumu-vc-spec-map-definition.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,22 +282,22 @@
282282
{
283283
"_id": "pers-juiNKbbA",
284284
"name": "Full Map",
285-
"style": "@settings {\n template: systems;\n element-color: categorize(\"Element Type\", olympic);\n layout-preset: dense;\n same-label: \"\";\n opposite-label: \"\";\n}\n\n"
285+
"style": "@controls {\n bottom-right {\n filter {\n target: element;\n by: \"element type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n\n filter {\n target: connection;\n by: \"connection type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n\n top {\n title {\n value: \"Verifiable Credentials Specification Map\";\n }\n }\n \n top {\n text {\n value: \"https://github.com/decentralized-identity/vc-spec-map\";\n width: 400;\n color: #000000;\n }\n }\n}\n@settings {\n template: systems;\n element-color: categorize(\"Element Type\", olympic);\n layout-preset: dense;\n same-label: \"\";\n opposite-label: \"\";\n}\n\n"
286286
},
287287
{
288288
"_id": "pers-YCmf78hh",
289289
"name": "Full Map Text Block",
290-
"style": "@controls {\n bottom-right {\n filter {\n target: element;\n by: \"element type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n\n bottom-right {\n filter {\n target: connection;\n by: \"connection type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n}\n\n@settings {\n template: causal-loop;\n layout-preset: hairball;\n layout: force;\n same-label: \"\";\n opposite-label: \"\";\n font-size: 47;\n}\n\n/* depends */\nconnection[\"connection type\"=\"depends\"] {\n size: 15;\n color: #000000;\n}\n\n/* implements */\nconnection[\"connection type\"=\"implements\"] {\n color: #56B4E9;\n}\n\n/* references */\nconnection[\"connection type\"=\"references\"] {\n color: #0072B2;\n}\n\n/* extends */\nconnection[\"connection type\"=\"extends\"] {\n color: #E69F00;\n}\n\n/* related */\nconnection[\"connection type\"=\"related\"] {\n color: #CC79A7;\n}\n\n/* elements: intermediate */\n[\"Element Type\"=\"intermediate\"] {\n color: #E69F00;\n}\n\n/* core */\nelement[\"element type\"=\"core\"] {\n color: #0AD2F1;\n}\n\n/* non-core */\nelement[\"element type\"=\"non-core\"] {\n color: #F7E81F;\n}"
290+
"style": "@controls {\n bottom-right {\n filter {\n target: element;\n by: \"element type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n\n filter {\n target: connection;\n by: \"connection type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n\n top {\n title {\n value: \"Verifiable Credentials Specification Map\";\n }\n }\n \n top {\n text {\n value: \"https://github.com/decentralized-identity/vc-spec-map\";\n width: 400;\n color: #000000;\n }\n }\n}\n\n@settings {\n template: causal-loop;\n layout-preset: hairball;\n layout: force;\n same-label: \"\";\n opposite-label: \"\";\n font-size: 47;\n}\n\n/* depends */\nconnection[\"connection type\"=\"depends\"] {\n size: 15;\n color: #000000;\n}\n\n/* implements */\nconnection[\"connection type\"=\"implements\"] {\n color: #56B4E9;\n}\n\n/* references */\nconnection[\"connection type\"=\"references\"] {\n color: #0072B2;\n}\n\n/* extends */\nconnection[\"connection type\"=\"extends\"] {\n color: #E69F00;\n}\n\n/* related */\nconnection[\"connection type\"=\"related\"] {\n color: #CC79A7;\n}\n\n/* elements: intermediate */\n[\"Element Type\"=\"intermediate\"] {\n color: #E69F00;\n}\n\n/* core */\nelement[\"element type\"=\"core\"] {\n color: #0AD2F1;\n}\n\n/* non-core */\nelement[\"element type\"=\"non-core\"] {\n color: #F7E81F;\n}"
291291
},
292292
{
293293
"_id": "pers-roGGZvV4",
294-
"name": "Text Map All Nodes",
295-
"style": "@settings {\n template: causal-loop;\n}\n\n"
294+
"name": "Text Map",
295+
"style": "@controls {\n bottom-right {\n filter {\n target: element;\n by: \"element type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n\n filter {\n target: connection;\n by: \"connection type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n\n top {\n title {\n value: \"Verifiable Credentials Specification Map\";\n }\n }\n \n top {\n text {\n value: \"https://github.com/decentralized-identity/vc-spec-map\";\n width: 400;\n color: #000000;\n }\n }\n}\n@settings {\n template: causal-loop;\n}\n\n"
296296
},
297297
{
298298
"_id": "pers-eu538HBr",
299299
"name": "playground",
300-
"style": "@controls {\n bottom-right {\n filter {\n target: element;\n by: \"element type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n\n bottom-right {\n filter {\n target: connection;\n by: \"connection type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n}\n\n@settings {\n template: causal-loop;\n layout-preset: hairball;\n layout: force;\n same-label: \"\";\n opposite-label: \"\";\n font-size: 47;\n}\n\n/* depends */\nconnection[\"connection type\"=\"depends\"] {\n size: 15;\n color: #000000;\n}\n\n/* implements */\nconnection[\"connection type\"=\"implements\"] {\n color: #56B4E9;\n}\n\n/* references */\nconnection[\"connection type\"=\"references\"] {\n color: #0072B2;\n}\n\n/* extends */\nconnection[\"connection type\"=\"extends\"] {\n color: #E69F00;\n}\n\n/* related */\nconnection[\"connection type\"=\"related\"] {\n color: #CC79A7;\n}\n\n/* elements: intermediate */\n[\"Element Type\"=\"intermediate\"] {\n color: #E69F00;\n}\n\n/* core */\nelement[\"element type\"=\"core\"] {\n color: #0AD2F1;\n}\n\n/* non-core */\nelement[\"element type\"=\"non-core\"] {\n color: #F7E81F;\n}\n\n"
300+
"style": "@controls {\n bottom-right {\n filter {\n target: element;\n by: \"element type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n\n filter {\n target: connection;\n by: \"connection type\";\n as: buttons;\n multiple: true;\n default: show-all;\n }\n }\n\n top {\n title {\n value: \"Verifiable Credentials Specification Map\";\n }\n }\n \n top {\n text {\n value: \"https://github.com/decentralized-identity/vc-spec-map\";\n width: 400;\n color: #000000;\n }\n }\n}\n\n@settings {\n template: causal-loop;\n layout-preset: hairball;\n layout: force;\n same-label: \"\";\n opposite-label: \"\";\n font-size: 47;\n}\n\n/* depends */\nconnection[\"connection type\"=\"depends\"] {\n size: 15;\n color: #000000;\n}\n\n/* implements */\nconnection[\"connection type\"=\"implements\"] {\n color: #56B4E9;\n}\n\n/* references */\nconnection[\"connection type\"=\"references\"] {\n color: #0072B2;\n}\n\n/* extends */\nconnection[\"connection type\"=\"extends\"] {\n color: #E69F00;\n}\n\n/* related */\nconnection[\"connection type\"=\"related\"] {\n color: #CC79A7;\n}\n\n/* elements: intermediate */\n[\"Element Type\"=\"intermediate\"] {\n color: #E69F00;\n}\n\n/* core */\nelement[\"element type\"=\"core\"] {\n color: #0AD2F1;\n}\n\n/* non-core */\nelement[\"element type\"=\"non-core\"] {\n color: #F7E81F;\n}\n\n"
301301
}
302302
]
303303
}

0 commit comments

Comments
 (0)