Template for making easy-to-work-with tempates
@raydeck/flowpoints - v1.1.0
@raydeck/flowpoints - v1.1.0 / Helpers / Point
Helpers.Point
-
Point
↳
Position
• offsetX: number
• offsetY: number
• x: number
• y: number
@raydeck/flowpoints - v1.1.0 / Helpers / Position
Helpers.Position
-
↳
Position
• height: number
• offsetX: number
• offsetY: number
• width: number
• x: number
• y: number
@raydeck/flowpoints - v1.1.0 / Flowpoint
• Const
default: FC
<FlowpointProps
>
@raydeck/flowpoints - v1.1.0 / Flowspace
• Const
default: FC
<Object
>
▸ useFlowspace(): Object
Object
Name | Type |
---|---|
deleteFlowpoint |
DeleteFlowpoint |
scale |
number |
selected |
string [] |
spaceColor |
ColorSet |
theme |
ValidColor |
updateFlowpoint |
UpdateFlowpoint |
variant |
Variant |
@raydeck/flowpoints - v1.1.0 / Helpers
Ƭ ColorSet: Object
Name | Type |
---|---|
a |
string |
o |
string |
p |
string |
s |
string |
t |
"light" | "dark" |
Ƭ FlowpointInfo: Object
Name | Type |
---|---|
event? |
string |
outputs |
Record <string , Output > |
position |
Position |
Ƭ Location: "top"
| "bottom"
| "left"
| "right"
| "auto"
Ƭ Output: Object
Name | Type |
---|---|
arrowEnd? |
boolean |
arrowStart? |
boolean |
dash? |
number |
input? |
Location |
inputColor? |
string |
output? |
Location |
outputColor? |
string |
width? |
number |
onClick? |
(pointKey : string , outKey : string , e : MouseEvent <Element , MouseEvent >) => void |
Ƭ ValidColor: keyof typeof colors
Ƭ Variant: "paper"
| "outlined"
| "filled"
• Const
colors: Object
▪ [key: string
]: ColorSet
▸ AutoGetLoc(pa
, pb
, aLoc
, bLoc
, key1
, key2
, allPositions
, avoidCollisions
): Object
Name | Type |
---|---|
pa |
Position |
pb |
Position |
aLoc |
Location |
bLoc |
Location |
key1 |
string |
key2 |
string |
allPositions |
Object |
avoidCollisions |
boolean |
Object
Name | Type |
---|---|
input |
Position |
output |
Position |
▸ CalcPos(pos
, snap
, minimum
): number
Name | Type |
---|---|
pos |
number |
snap |
number |
minimum |
number |
number
▸ getColor(color?
): ColorSet
Name | Type |
---|---|
color? |
ValidColor |
@raydeck/flowpoints - v1.1.0 / index
- Flowpoint
- Flowspace
- Flowspace_useFlowspace
- Helpers_AutoGetLoc
- Helpers_CalcPos
- Helpers_colors
- Helpers_getColor
Renames and exports: default
Renames and exports: default
Renames and exports: useFlowspace
Renames and exports: AutoGetLoc
Renames and exports: CalcPos
Renames and exports: colors
Renames and exports: getColor