# WireViz Syntax ## Main sections ```yaml connectors: # dictionary of all used connectors : # unique connector designator/name ... # connector attributes (see below) : ... ... cables: # dictionary of all used cables and wires : # unique cable designator/name ... # cable attributes (see below) : ... ... connections: # list of all connections to be made # between cables and connectors - ... # connection set (see below) - ... ... additional_bom_items: # custom items to add to BOM - # BOM item (see below) ... metadata: # dictionary of meta-information describing the harness : # any number of key value pairs (see below) ... options: # dictionary of common attributes for the whole harness : # optional harness attributes (see below) ... ``` ## Connector attributes ```yaml : # unique connector designator/name # general information about a connector (all optional) type: subtype: color: # see below image: # see below notes: # product information (all optional) ignore_in_bom: # if set to true the connector is not added to the BOM pn: # [internal] part number manufacturer: # manufacturer name mpn: # manufacturer part number supplier: # supplier name spn: # supplier part number additional_components: # additional components - # additional component (see below) # pinout information # at least one of the following must be specified pincount: # if omitted, is set to length of specified list(s) pins: # if omitted, is autofilled with [1, 2, ..., pincount] pinlabels: # if omitted, is autofilled with blanks # pin color marks (optional) pincolors: # list of colors to be assigned to the respective pins; # if list length is lower than connector pinout, # no color marks will be added to remaining pins # rendering information (all optional) bgcolor: # Background color of diagram connector box bgcolor_title: # Background color of title in diagram connector box style: