vivarium-collective / bigraph-schema

compositional type schemas
Apache License 2.0
1 stars 1 forks source link

wires --> inputs/outputs #36

Closed prismofeverything closed 9 months ago

prismofeverything commented 9 months ago

Previously, edges had a single set of ports called "wires", which lead to differences in process-bigraph between a Process and a Step, the latter of which required "inputs" and "outputs". In order to reduce confusion and unify our model of an edge and edge subtypes, we have decided that all edges/processes/steps will have a consistent interface consisting of both a set of inputs ports and a set of outputs ports.

Thinking through this, the previous behavior is equivalent to having the inputs and outputs be identical. In addition, these can now be asymmetrical which allows us to be more expressive in defining the interface of any edge/process in the system.

The tests have been updated to reflect this change and are currently all passing as before. If this all looks good I can apply these changes downstream to process-bigraph.