color is an hex
This commit is contained in:
parent
88c8feb7d8
commit
635b1d4ed4
@ -20,7 +20,7 @@ type GraphLink struct {
|
||||
}
|
||||
|
||||
type GraphLinkStyle struct {
|
||||
Color int64 `bson:"color" json:"color" validate:"required"`
|
||||
Color string `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"`
|
||||
|
Loading…
Reference in New Issue
Block a user