File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -358,16 +358,17 @@ graph.on('node-mouseover', function(evt) {
358358
359359## Methods
360360
361- * ``` graph.selectGroup(groupIndex ) ``` - select a group by groupIndex, which is an integer
361+ * ``` graph.selectGroup(index ) ``` - select a group by index, where ``` index ``` is an ``` integer ```
362362
363363* ``` graph.deselectGroup() ``` - deselect the currently selected group
364364
365- * ``` graph.setSize(width, height) ``` - set the graph size in pixels
365+ * ``` graph.setSize(width, height) ``` - set the graph size in pixels, where ``` width ``` and ``` height ``` is a ``` number ```
366366
367- * ``` graph.setDarkMode(mode) ``` - set dark mode to true or false
367+ * ``` graph.setDarkMode(mode) ``` - enable or disable dark mode, where ``` mode ``` is a ``` boolean ```
368368
369- * new selectNode() method
370- * new deselectNode() method
369+ * ``` graph.selectNode(index) ``` - select node by index, where ``` index ``` is an ``` integer ```
370+
371+ * ``` graph.deselectNode() ``` - deselect a selected node
371372
372373## About the Name and Logo
373374
You can’t perform that action at this time.
0 commit comments