Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
This value will also affect the strength
of \`distanceMin\` and \`distanceMax\`.
`,
controlType: 'range',
controlOptions: {
min: 1,
max: 100,
},
defaultValue: NetworkDefaultProps.repulsivity,
},
{
key: 'distanceMin',
group: 'Simulation',
type: 'number',
help: 'Sets the minimum distance between nodes for the many-body force.',
defaultValue: NetworkDefaultProps.distanceMin,
},
{
key: 'distanceMax',
group: 'Simulation',
help: 'Sets the maximum distance between nodes for the many-body force.',
defaultValue: NetworkDefaultProps.distanceMax,
},
{
key: 'iterations',
group: 'Simulation',
help: 'Adjust the simulation quality.',
description: `
Increasing this number will result in a **more accurate simulation**,
however it will also involve more computing.
`,
type: 'number',