in src/components/ForceGraph.js [51:70]
static get propTypes() {
return {
children: PropTypes.any,
className: PropTypes.string,
// zoom and pan
zoom: PropTypes.bool,
zoomOptions: zoomPropTypes,
// create custom simulations
createSimulation: PropTypes.func,
updateSimulation: PropTypes.func,
simulationOptions: simulationPropTypes,
// adjust label display
labelAttr: PropTypes.string,
labelOffset: PropTypes.objectOf(PropTypes.func),
showLabels: PropTypes.bool,
};
}