correction struct graph

This commit is contained in:
mr 2024-07-23 09:46:27 +02:00
parent 635b1d4ed4
commit a687206a1b

View File

@ -30,8 +30,8 @@ type GraphLinkStyle struct {
StartArrow Position `bson:"start_arrow" json:"start_arrow"` StartArrow Position `bson:"start_arrow" json:"start_arrow"`
ArrowStyle int64 `bson:"arrow_style" json:"arrow_style" validate:"required"` ArrowStyle int64 `bson:"arrow_style" json:"arrow_style" validate:"required"`
ArrowDirection int64 `bson:"arrow_direction" json:"arrow_direction" validate:"required"` ArrowDirection int64 `bson:"arrow_direction" json:"arrow_direction" validate:"required"`
StartArrowWidth float64 `bson:"start_arrow_style" json:"start_arrow_style"` StartArrowWidth float64 `bson:"start_arrow_width" json:"start_arrow_width"`
EndArrowWidth float64 `bson:"end_arrow_style" json:"end_arrow_style"` EndArrowWidth float64 `bson:"end_arrow_width" json:"end_arrow_width"`
} }
type Position struct { type Position struct {