<td>When a boolean, true gives you all options, false will not show any. If a string is supplied, any
<td>When a boolean, true gives you all options, false will not show any. If a string is supplied, any
combination of the following is allowed: nodes, edges, layout, interaction, manipulation, physics,
combination of the following is allowed: nodes, edges, layout, interaction, manipulation, physics,
selection, renderer. Feel free to come up with a fun seperating character. Finally, when supplied an
selection, renderer. Feel free to come up with a fun seperating character. Finally, when supplied an
array of strings, any of the previously mentioned fields are accepted.
array of strings, any of the previously mentioned fields are accepted. <br><br>
When supplying a function, you receive two arguments. The option and the path of the option within the options object. If it returns true, the options will be shown in the configurator. Example:
by them and makes use of the barnesHut implementation in vis. The main differences are the central gravity model,
by them and makes use of the barnesHut implementation in vis. The main differences are the central gravity model,
which is here distance independent, and the repulsion being linear instead of quadratic. Finally, all node masses have a
which is here distance independent, and the repulsion being linear instead of quadratic. Finally, all node masses have a
multiplier based on the amount of connected edges plus one.</td></tr>
multiplier based on the amount of connected edges plus one.</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.gravitationalConstant</td><tdclass="mid">Number</td><tdclass="mid"><code>-800</code></td><td>This is similar to the barnesHut method except that the falloff is linear instead of quadratic. The connectivity is also taken into account as a factor of the mass. If you want the repulsion to be stronger, decrease the value (so -1000, -2000).</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.gravitationalConstant</td><tdclass="mid">Number</td><tdclass="mid"><code>-50</code></td><td>This is similar to the barnesHut method except that the falloff is linear instead of quadratic. The connectivity is also taken into account as a factor of the mass. If you want the repulsion to be stronger, decrease the value (so -1000, -2000).</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.centralGravity</td><tdclass="mid">Number</td><tdclass="mid"><code>0.01</code></td><td>There is a central gravity attractor to pull the entire network back to the center. This is not dependent on distance.</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.centralGravity</td><tdclass="mid">Number</td><tdclass="mid"><code>0.01</code></td><td>There is a central gravity attractor to pull the entire network back to the center. This is not dependent on distance.</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.springLength</td><tdclass="mid">Number</td><tdclass="mid"><code>100</code></td><td>The edges are modelled as springs. This springLength here is the the rest length of the spring.</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.springLength</td><tdclass="mid">Number</td><tdclass="mid"><code>100</code></td><td>The edges are modelled as springs. This springLength here is the the rest length of the spring.</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.springConstant</td><tdclass="mid">Number</td><tdclass="mid"><code>0.08</code></td><td>This is how 'sturdy' the springs are. Higher values mean stronger springs.</td></tr>
<trparent="forceAtlas2Based"class="hidden"><tdclass="indent">forceAtlas2Based.springConstant</td><tdclass="mid">Number</td><tdclass="mid"><code>0.08</code></td><td>This is how 'sturdy' the springs are. Higher values mean stronger springs.</td></tr>