File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -175,20 +175,26 @@ See also: https://www.mediawiki.org/wiki/Manual:Namespace#Built-in_namespaces
175175
176176#### Options parameter
177177
178+ Array of [ vis.js options] ( https://visjs.github.io/vis-network/docs/network/#options )
179+
178180```
179181{{#network:Page1 | Page2 | Page3
180182 | options=
181183{
182184 "autoResize": true,
183185 "width": "50%",
184186 "nodes": {
185- "borderWidth" => 1,
186- "shape": "box"
187+ "color": "lightblue",
188+ "shape": "box",
189+ "borderWidth": 3,
190+ "font": { "color": "red", "size": 17 }
187191 }
188192}
189193}}
190194```
191195
196+ Wrong: ` "font.color": "red" ` , right: ` "font": { "color": "red" } ` , also right: ` "font": "14 px arial red" `
197+
192198#### Using templates
193199
194200```
You can’t perform that action at this time.
0 commit comments