<preclass="prettyprint lang-js options top hidden"id="fullOptions">
// these are all options in full.
var options = {
configure:{
filter: 'nodes, physics', // or ['nodes','physics'] or true
container: document.getElementById("configDiv")
configure: {
enabled: true,
filter: 'nodes,edges',
container: undefined
}
}
// alternative:
network.setOptions(options);
</pre>
<preclass="prettyprint lang-js options top hidden"id="shortOptions">
// only the options that have shorthand notations are shown.
var options = {
configure: 'nodes, physics', // or ['nodes','physics'] or true
configure: 'nodes,edges'
}
network.setOptions(options);
@ -122,7 +129,7 @@ network.setOptions(options);
<td>enabled</td>
<tdclass="mid">Boolean</td>
<tdclass="mid"><code>true</code></td>
<td>
<td>Toggle the configuration interface on or off. This is an optional parameter. If left undefined and any of the other properties of this object are defined, this will be set to true.