Skip to content

Ports carry their pathsim key and carrier channels on the node - #358

Merged
milanofthe merged 1 commit into
mainfrom
refactor/node-ports
Nov 18, 2026
Merged

milanofthe merged 1 commit into
mainfrom
refactor/node-ports

Conversation

@milanofthe

Copy link
Copy Markdown
Member
  • PortInstance carries key (the label pathsim addresses the port by) and bus (the channels of a carrier port), next to the display name.
  • portKey, the bus analysis, the live mutations, converter.py and buses.py read them from the node instead of the type definition.
  • inputPolicy/outputPolicy (fixed, variable) replace reading maxInputs/maxOutputs === null as "variable".
  • Files saved before get key and bus from the type definition by index (withPortStructure, with_port_structure): on load, paste, .blk/.sub import and when a toolbox registers.
  • The generated code of all examples is unchanged.

Closes #357

@milanofthe
milanofthe merged commit 2ed1ae6 into main Nov 18, 2026
4 checks passed
@milanofthe
milanofthe deleted the refactor/node-ports branch November 18, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ports as a property of the node: pathsim key and channels stored per port

1 participant