mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-07-27 03:48:29 -06:00
Added "Smoothstep" Edge Style
This commit is contained in:
@ -57,7 +57,8 @@ export default function FlowEditor({
|
|||||||
const edgeStyles = {
|
const edgeStyles = {
|
||||||
step: "step",
|
step: "step",
|
||||||
curved: "bezier",
|
curved: "bezier",
|
||||||
straight: "straight"
|
straight: "straight",
|
||||||
|
smoothstep: "smoothstep"
|
||||||
};
|
};
|
||||||
|
|
||||||
const animationStyles = {
|
const animationStyles = {
|
||||||
@ -416,6 +417,7 @@ export default function FlowEditor({
|
|||||||
<MenuItem onClick={() => changeEdgeType("step")}>Step</MenuItem>
|
<MenuItem onClick={() => changeEdgeType("step")}>Step</MenuItem>
|
||||||
<MenuItem onClick={() => changeEdgeType("curved")}>Curved</MenuItem>
|
<MenuItem onClick={() => changeEdgeType("curved")}>Curved</MenuItem>
|
||||||
<MenuItem onClick={() => changeEdgeType("straight")}>Straight</MenuItem>
|
<MenuItem onClick={() => changeEdgeType("straight")}>Straight</MenuItem>
|
||||||
|
<MenuItem onClick={() => changeEdgeType("smoothstep")}>Smoothstep</MenuItem>
|
||||||
</MenuList>
|
</MenuList>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
|
Reference in New Issue
Block a user