(Update package: OSW Core) |
(Update package: OSW Core) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
{{Template:Helper/UI/VE/Hidden | {{Template:Helper/UI/VE/Hidden | ||
|content=<div id="{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}" style="width: {{#ifeq: {{{full_width|0}}}|1|100%| {{{width|600px}}} }};" class="InteractiveSemanticGraph" data-config='{ | |content=<div id="{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}" style="width: {{#ifeq: {{{full_width|0}}}|1|100%| {{{width|600px}}} }};" class="InteractiveSemanticGraph" data-config='{ | ||
"uuid": "{{{uuid|}}}", | |||
"name":"{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}", | "name":"{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}", | ||
"root":"{{{root|}}}", | "root":"{{{root|}}}", | ||
Line 158: | Line 159: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"autovalue": "{{subst:FULLPAGENAME}}" | "autovalue": "{{subst:FULLPAGENAME}}" | ||
}, | |||
"uuid": { | |||
"label": { | |||
"en": "Unique ID", | |||
"de": "Eindeutige ID" | |||
}, | |||
"description": { | |||
"en": "Automatically generated and should not be changed", | |||
"de": "Wird automatisch generiert und sollte nicht verändert werden" | |||
}, | |||
"type": "string", | |||
"required": true, | |||
"autovalue": "{{subst:UUID}}" | |||
} | } | ||
}, | }, |
Latest revision as of 09:03, 27 June 2023
Adds a semantic graph viewer and editor
Parameter | Description | Type | Status | |
---|---|---|---|---|
Graph name | file_name | Must be unique on this page
| Unknown | required |
Root page name | root | Dafault value is the current page
| Page name | required |
Properties | properties | Semicolon separated property list used to expand the root node
| Unknown | required |
Expansion depth | depth | Defines how far the graph is unfolded automatically with the given properties
| Unknown | suggested |
Width | width | Width of the graph in pixels
| String | optional |
Full width | full_width | Used the full page width to display the graph
| Boolean | suggested |
Edit modus | edit | Allows editing the graph
| Boolean | suggested |
Edge labels | edge_labels | Displays edge labels
| Boolean | optional |
Permalink | permalink | Creates a permalink for the state of the graph
| Boolean | optional |
Show hints | hint | Shows additional information beside the graph
| Boolean | optional |
Page name | page_name | is filled in automatically
| Page name | optional |
Unique ID | uuid | Automatically generated and should not be changed
| String | required |