Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
func (*Attributes) EncodeAsJson ¶
func (a *Attributes) EncodeAsJson() ([]byte, error)
type Endpoints ¶
type Endpoints struct {
Single map[string]SingleEndpoint `json:"single"`
Multi map[string]MultiEndpoint `json:"multi"`
}
func (*Endpoints) EncodeAsJson ¶
type MultiEndpoint ¶
type MultiEndpoint struct {
TotalCount int `json:"totalCount"`
VertexSelection VertexSelection `json:"vertexSelection"`
}
type SingleEndpoint ¶
type Vertex ¶
type Vertex interface {
GetAttributes() jsonstuff.Jsonable
GetInEndpoints() jsonstuff.Jsonable
GetOutEndpoints() jsonstuff.Jsonable
AddAttribute(name string, val string)
AddSingleInpoint(name string, sourceType string, sourceIndex int64, otherEndLabel string)
AddMultiInpoint(name string, sourceType string, totalCount int64, selectionIndices []int64)
AddSingleOutpoint(name string, targetType string, targetIndex int64, otherEndLabel string)
AddMultiOutpoint(name string, targetType string, totalCount int64, selectionIndices []int64)
}
func NewConcreteVertex ¶
func NewConcreteVertex() Vertex
type VertexSelection ¶
Click to show internal directories.
Click to hide internal directories.