title: The Graph component in react-graph-vis doesn't reload when the state changes
body: <p>I'm working on a React component that wraps the <code>Graph</code> component of <a href="https://github.com/crubier/react-graph-vis" rel="nofollow noreferrer">react-graph-vis</a>. My component is supposed to render a certain graph and to provide a button for adding a node to the graph.</p>
  
  <p>A simplified version of what I've done is the following component which renders a (single node) graph and a button. Clicking on the button is supposed to add a second node to the graph. </p>
  
  <pre><code>class GraphWrapper extends React.Component {
     constructor(props) {
        var graph = {nodes: [{id: 1, label: '1'}], edges: []};
        this.state = {
           options: {},
           graph: graph
        };
     }
  
     addNode() {
        var graph = this.state.graph;
        graph.nodes.push({id: 2, label: '2'});
        this.setState({});
     }
  
     render() {
        return &lt;div&gt;
                  &lt;Graph graph={this.state.graph}, options={this.state.options}/&gt;
                  &lt;button onClick={this.addNode.bind(this)}&gt;Add Node&lt;/button&gt;
               &lt;/div&gt;;
     }
  }
  </code></pre>
  
  <p>The initial graph is being rendered properly. Also, clicking on the button changes the state as expected. However, the graph visualization doesn't change, the second node doesn't show up, and it seems as if the <code>&lt;Graph/&gt;</code> component isn't being re-rendered despite the change in the state. </p>
  
  <p>What am I missing?</p>