// constants used for typescript and proptypes definitions import React from 'react'; export const cAnchorEdge = ['middle', 'left', 'right', 'top', 'bottom', 'auto'] as const; export const cPaths = ['smooth', 'grid', 'straight'] as const; export const cSvgElems = ['circle', 'ellipse', 'line', 'path', 'polygon', 'polyline', 'rect'] as const; //default arrows svgs export const arrowShapes = { arrow1: { svgElem: , offsetForward: 0.25 }, heart: { svgElem: ( ), offsetForward: 0.1, }, circle: { svgElem: , offsetForward: 0, }, } as const; export const cArrowShapes = Object.keys(arrowShapes) as Array;