Skip to content

Commit

Permalink
updated readme again
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Rowell authored and Eric Rowell committed May 10, 2019
1 parent af6917e commit 40ba1f2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,16 +358,17 @@ graph.on('node-mouseover', function(evt) {

## Methods

* ```graph.selectGroup(groupIndex)``` - select a group by groupIndex, which is an integer
* ```graph.selectGroup(index)``` - select a group by index, where ```index``` is an ```integer```

* ```graph.deselectGroup()``` - deselect the currently selected group

* ```graph.setSize(width, height)``` - set the graph size in pixels
* ```graph.setSize(width, height)``` - set the graph size in pixels, where ```width``` and ```height``` is a ```number```

* ```graph.setDarkMode(mode)``` - set dark mode to true or false
* ```graph.setDarkMode(mode)``` - enable or disable dark mode, where ```mode``` is a ```boolean```

* new selectNode() method
* new deselectNode() method
* ```graph.selectNode(index)``` - select node by index, where ```index``` is an ```integer```

* ```graph.deselectNode()``` - deselect a selected node

## About the Name and Logo

Expand Down

0 comments on commit 40ba1f2

Please sign in to comment.