import { Coordinates } from './types' export const stubLength = 20 export const blockWidth = 300 export const blockAnchorsOffset = { left: { x: 0, y: 20, }, top: { x: blockWidth / 2, y: 0, }, right: { x: blockWidth, y: 20, }, } export const graphPositionDefaultValue = ( firstGroupCoordinates: Coordinates ) => ({ x: 400 - firstGroupCoordinates.x, y: 100 - firstGroupCoordinates.y, scale: 1, }) export const pathRadius = 20