UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

5 lines 262 B
import { normalizePoint, toResult } from './util'; export const absolute = (portsPositionArgs, elemBBox) => { return portsPositionArgs.map(({ x, y, angle }) => toResult(normalizePoint(elemBBox, { x, y }), angle || 0)); }; //# sourceMappingURL=absolute.js.map