Documentation ¶
Index ¶
- type Block
- type Graph
- func (g *Graph) AddBlock(id int, tp string, properties map[string]interface{}, inputs []int, ...) *Block
- func (g *Graph) AddLink(id, sourceId, sourceSlot, targetId, targetSlot int) *Link
- func (g *Graph) FindBlockById(id int) *Block
- func (g *Graph) FindLinkBySourcePort(id, slot int) []*Link
- func (g *Graph) Run() []*Block
- type GraphX
- type Link
- type Node
- type Output
- type Port
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Graph ¶
func NewGraphByDefinition ¶
func NewGraphByFile ¶
func (*Graph) FindBlockById ¶
func (*Graph) FindLinkBySourcePort ¶
Click to show internal directories.
Click to hide internal directories.