GunnsDraw Socket List - nasa/gunns GitHub Wiki

Background

This is a custom Draw.io list that is used to define a set of GunnsBasicSocket or GunnsFluidSocket links available to plug into by a link with plugs, like GunnsBasicJumper or GunnsFluidJumper.

How To Use In GunnsDraw

  • Place a Socket List into the Network container object.
  • Give the list a unique name in the network, by selecting the list and typing the name. The name appears in the purple title bar.
    • This must be a valid C variable name.
  • You can make as many Socket Lists in a network as you want, and they can be placed anywhere inside the Network container, but each must have a unique name among all objects in the network.

You can expand and collapse the list contents by toggling the ‘+’ shape in the title bar. The default list will appear like this when expanded:

To fill out the list:

  • This can list names of Socket links, and only Socket links, that are in the network. Any combination of the network’s Socket links can be included, in an order.
  • Double-click a field to edit it.
  • To insert rows, select a row and click <Ctrl+Enter>.
  • To delete rows, select the rows to delete and click <Delete> or <Backspace>.
  • There must be at least one Socket link listed, or the network code will not export properly.

Here is an example of a filling out a socket list:

Common Problems

  • N/A.

References

  • N/A
⚠️ **GitHub.com Fallback** ⚠️