getMarkerEnd()
Source on Github (opens in a new tab)
Helper that returns internal marker id or user defined marker id.
import { getMarkerEnd } from 'reactflow';
const markerEndId = getMarkerEnd(MarkerType.Arrow);
Signature
Name | Type |
---|---|
#Params |
|
# markerType? | |
# markerEndId? | string |
#Returns |
|
string |