Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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',
help: 'Defines the order of layers and add custom layers.',
required: false,
defaultValue: NetworkDefaultProps.layers,
},
...motionProperties(['svg'], NetworkDefaultProps),
]
export const groups = groupProperties(props)