@ant-design/graphs
Version:
A React graph library based on Graphin
24 lines (23 loc) • 459 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_OPTIONS = void 0;
const SIZE = 32;
exports.DEFAULT_OPTIONS = {
node: {
type: 'circle',
},
layout: {
type: 'd3-force',
link: {
distance: SIZE * 4,
},
collide: {
radius: SIZE,
},
manyBody: {
strength: -SIZE * 22,
},
x: {},
y: {},
},
};