Versions in this module Expand all Collapse all v1 v1.0.0 Mar 31, 2020 Changes in this version + type DataStore interface + Delete func(key string) error + Load func() ([]Stage, error) + Save func(key string, data *Stage) error + type DiskStore struct + RootDir string + func NewDisk(dir string) *DiskStore + func (d *DiskStore) Delete(key string) error + func (d *DiskStore) Load() ([]Stage, error) + func (d *DiskStore) Save(key string, data *Stage) error + type Edge struct + ID uuid.UUID + Source EdgeTarget + Target EdgeTarget + Type string + type EdgeTarget struct + Connector string + ID uuid.UUID + Type string + type MemStore struct + func NewMemory() *MemStore + func (d *MemStore) Delete(key string) error + func (d *MemStore) Load() ([]Stage, error) + func (d *MemStore) Reset() + func (d *MemStore) Save(key string, data *Stage) error + type Node struct + Bounds NodeBounds + Children []string + Connector []NodeConnector + ID string + Labels []string + Name string + Type string + type NodeBounds struct + X float64 + Y float64 + type NodeConnector struct + ID uuid.UUID + Label string + Name string + type Stage struct + Edges []Edge + ID uuid.UUID + Name string + Nodes []Node