From 20e5c6b6077c4471ea211d306d6174d84559e805 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:22:27 +0200 Subject: [PATCH] chore(reactflow): remove `get-marker-end` page --- .../src/pages/api-reference/utils/_meta.json | 1 - .../api-reference/utils/get-marker-end.mdx | 23 ------------------- 2 files changed, 24 deletions(-) delete mode 100644 sites/reactflow.dev/src/pages/api-reference/utils/get-marker-end.mdx diff --git a/sites/reactflow.dev/src/pages/api-reference/utils/_meta.json b/sites/reactflow.dev/src/pages/api-reference/utils/_meta.json index d948b80ec..20c507e4c 100644 --- a/sites/reactflow.dev/src/pages/api-reference/utils/_meta.json +++ b/sites/reactflow.dev/src/pages/api-reference/utils/_meta.json @@ -5,7 +5,6 @@ "get-bezier-path": "getBezierPath()", "get-connected-edges": "getConnectedEdges()", "get-incomers": "getIncomers()", - "get-marker-end": "getMarkerEnd()", "get-nodes-bounds": "getNodesBounds()", "get-outgoers": "getOutgoers()", "get-simple-bezier-path": "getSimpleBezierPath()", diff --git a/sites/reactflow.dev/src/pages/api-reference/utils/get-marker-end.mdx b/sites/reactflow.dev/src/pages/api-reference/utils/get-marker-end.mdx deleted file mode 100644 index 590d599e0..000000000 --- a/sites/reactflow.dev/src/pages/api-reference/utils/get-marker-end.mdx +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: getMarkerEnd() -description: 'Helper that returns internal marker id or user defined marker id.' ---- - -import { PropsTable } from '@/components/props-table'; -import { signature } from '@/page-data/reference/utils/getMarkerEnd.ts'; - -# getMarkerEnd() - -[Source on Github](https://github.com/xyflow/xyflow/blob/v11/packages/core/src/components/Edges/utils.ts/#L6) - -Helper that returns internal marker id or user defined marker id. - -```js -import { getMarkerEnd } from '@xyflow/react'; - -const markerEndId = getMarkerEnd(MarkerType.Arrow); -``` - -## Signature - -