Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
key: 'nodeBorderColor',
group: 'Nodes',
type: 'string | object | (link: Link) => string',
help: `Control nodes' border color.`,
defaultValue: NetworkDefaultProps.nodeBorderColor,
controlType: 'inheritedColor',
},
{
key: 'linkThickness',
enableControlForFlavors: ['canvas'],
group: 'Links',
type: 'number | (link: Link) => number',
help: `Control links' thickness.`,
defaultValue: NetworkDefaultProps.linkThickness,
controlType: 'lineWidth',
},
{
key: 'linkColor',
group: 'Links',
type: 'string | (link: Link) => string',
help: `Control links' color.`,
defaultValue: NetworkDefaultProps.linkColor,
controlType: 'inheritedColor',
controlOptions: {
inheritableProperties: ['source.color', 'target.color'],
},
},
{
key: 'layers',
group: 'Customization',