UNPKG

moppium-react-flow-renderer

Version:

[![react-flow](https://user-images.githubusercontent.com/2857535/95224198-b2540000-07fa-11eb-832d-361d72d60345.jpg)](https://reactflow.dev)

17 lines (16 loc) 859 B
import React from 'react'; import { EdgeSmoothStepProps, Position } from '../../types'; interface GetSmoothStepPathParams { sourceX: number; sourceY: number; sourcePosition?: Position; targetX: number; targetY: number; targetPosition?: Position; borderRadius?: number; centerX?: number; centerY?: number; } export declare function getSmoothStepPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, borderRadius, centerX, centerY, }: GetSmoothStepPathParams): string; declare const _default: React.MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, label, labelStyle, labelShowBg, labelBgStyle, labelBgPadding, labelBgBorderRadius, style, sourcePosition, targetPosition, arrowHeadType, markerEndId, borderRadius, }: EdgeSmoothStepProps) => JSX.Element>; export default _default;