Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultFgColor = "white" DefaultBgColor = "#000000" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorPalette ¶
type ColorPalette struct {
// contains filtered or unexported fields
}
func NewColorPalette ¶
func NewColorPalette(workflow *model.Workflow) ColorPalette
func (*ColorPalette) GroupColor ¶
func (cp *ColorPalette) GroupColor(group string) *colors.RGBAColor
func (*ColorPalette) StateColor ¶
func (cp *ColorPalette) StateColor(state string) (string, string)
func (*ColorPalette) StateToGroup ¶
func (cp *ColorPalette) StateToGroup(state string) *string
Click to show internal directories.
Click to hide internal directories.