color value

This commit is contained in:
mr 2024-07-23 11:49:11 +02:00
parent 94cd62acfe
commit 0b410b8580

View File

@ -20,7 +20,7 @@ type GraphLink struct {
}
type GraphLinkStyle struct {
Color string `bson:"color" json:"color" validate:"required"`
Color int64 `bson:"color" json:"color" validate:"required"`
Stroke float64 `bson:"stroke" json:"stroke" validate:"required"`
Tension float64 `bson:"tension" json:"tension"`
HeadRadius float64 `bson:"head_radius" json:"head_radius"`