diff --git a/models/resources/workflow/graph/graph.go b/models/resources/workflow/graph/graph.go index ed3a0c6..0e44e6d 100644 --- a/models/resources/workflow/graph/graph.go +++ b/models/resources/workflow/graph/graph.go @@ -30,8 +30,8 @@ type GraphLinkStyle struct { StartArrow Position `bson:"start_arrow" json:"start_arrow"` ArrowStyle int64 `bson:"arrow_style" json:"arrow_style" validate:"required"` ArrowDirection int64 `bson:"arrow_direction" json:"arrow_direction" validate:"required"` - StartArrowWidth float64 `bson:"start_arrow_style" json:"start_arrow_style"` - EndArrowWidth float64 `bson:"end_arrow_style" json:"end_arrow_style"` + StartArrowWidth float64 `bson:"start_arrow_width" json:"start_arrow_width"` + EndArrowWidth float64 `bson:"end_arrow_width" json:"end_arrow_width"` } type Position struct {