Template:Editor/Graph: Difference between revisions

Template page
(changed default height to 600)
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 106: Line 106:
},
},
"type": "string",
"type": "string",
"autovalue": "800px"
"autovalue": "600px"
},
},
"edit": {
"edit": {

Revision as of 13:13, 14 June 2023

Adds a semantic graph viewer and editor

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Graph namefile_name

Must be unique on this page

Auto value
graph-01
Unknownrequired
Root page nameroot

Dafault value is the current page

Auto value
{{subst:FULLPAGENAME}}
Page namerequired
Propertiesproperties

Semicolon separated property list used to expand the root node

Auto value
IsA; HasPart
Unknownrequired
Expansion depthdepth

Defines how far the graph is unfolded automatically with the given properties

Auto value
2
Unknownsuggested
Widthwidth

Width of the graph in pixels

Auto value
600px
Stringoptional
Full widthfull_width

Used the full page width to display the graph

Auto value
0
Booleansuggested
Heightheight

Height of the graph in pixels

Auto value
600px
Stringoptional
Edit modusedit

Allows editing the graph

Auto value
0
Booleansuggested
Edge labelsedge_labels

Displays edge labels

Auto value
1
Booleanoptional
Permalinkpermalink

Creates a permalink for the state of the graph

Auto value
0
Booleanoptional
Show hintshint

Shows additional information beside the graph

Auto value
0
Booleanoptional
Page namepage_name

is filled in automatically

Auto value
{{subst:FULLPAGENAME}}
Page nameoptional
Unique IDuuid

Automatically generated and should not be changed

Stringoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.