Core Types

Core Types

Port

Port type for modeling input/output ports of a Component.

API

source

API

checkclass(port, direction)

Return true if port is the correct class for the given Direction

source
invert(port)

Return a version of port with the class inverted.

source

Classification of port types.

source

Enum indicating a direction. Values: Source, Sink.

source

Link

struct Link{P <: AbstractComponentPath}

Link data type for describing which ports are connected. Can have multiple sources and multiple sinks.

API

source

API

sources(link)

Return Vector{Path{Port}} of sources for link.

source
dests(link)

Return Vector{Path{Port}} of destinations for link.

source