Versions in this module Expand all Collapse all v0 v0.0.21 Jun 14, 2025 v0.0.18 May 9, 2025 Changes in this version + type Attributes struct + Attributes map[string]string + func (a *Attributes) EncodeAsJson() ([]byte, error) + type Endpoints struct + Multi map[string]MultiEndpoint + Single map[string]SingleEndpoint + func (e *Endpoints) EncodeAsJson() ([]byte, error) + type MultiEndpoint struct + TotalCount int + VertexSelection VertexSelection + type SingleEndpoint struct + OtherVertex string + Otherlabel string + type Vertex interface + AddAttribute func(name string, val string) + AddMultiInpoint func(name string, sourceType string, totalCount int64, selectionIndices []int64) + AddMultiOutpoint func(name string, targetType string, totalCount int64, selectionIndices []int64) + AddSingleInpoint func(name string, sourceType string, sourceIndex int64, otherEndLabel string) + AddSingleOutpoint func(name string, targetType string, targetIndex int64, otherEndLabel string) + GetAttributes func() jsonstuff.Jsonable + GetInEndpoints func() jsonstuff.Jsonable + GetOutEndpoints func() jsonstuff.Jsonable + func NewConcreteVertex() Vertex + type VertexSelection struct + FirstIndex int + OtherVertices []string