feat: export base edge
This commit is contained in:
@@ -16,6 +16,10 @@ interface Props {
|
||||
markerEnd?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* The base edge is a simple wrapper for svg path
|
||||
* You can use the base edge in your custom edges and just pass down the necessary props
|
||||
*/
|
||||
const BaseEdge: FunctionalComponent<Props> = function ({
|
||||
path,
|
||||
centerX,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
export { default as BaseEdge } from './BaseEdge'
|
||||
export { default as BezierEdge } from './BezierEdge'
|
||||
export { default as SimpleBezierEdge } from './SimpleBezierEdge'
|
||||
export { default as StepEdge } from './StepEdge'
|
||||
|
||||
@@ -2,7 +2,7 @@ export { default as VueFlow } from './container/VueFlow/VueFlow.vue'
|
||||
|
||||
export { default as Handle } from './components/Handle/Handle.vue'
|
||||
|
||||
export { StraightEdge, StepEdge, BezierEdge, SimpleBezierEdge, SmoothStepEdge, EdgeText } from './components/Edges'
|
||||
export { StraightEdge, StepEdge, BezierEdge, SimpleBezierEdge, SmoothStepEdge, BaseEdge, EdgeText } from './components/Edges'
|
||||
|
||||
export {
|
||||
getBezierPath,
|
||||
|
||||
Reference in New Issue
Block a user