Skip to content
WireVizDocsOpen editor
Examples

Individual wire bundle

Give each conductor its own manufacturer and procurement references.

Individual wire bundle rendered with WireViz, showing the connectors, wires and pin assignments
Generated directly from the example YAML with WireViz 0.4.1.

Purpose

Describe individual wires routed together and generate separate procurement entries for them. All company names, part numbers, dimensions, and signal assignments here are illustrative.

Components

  • PANEL and DEVICE each have three positions.
  • BUNDLE uses category: bundle and contains three 24 AWG wires.
  • Each wire is 0.6 meters long and has its own manufacturer part number, supplier reference, and internal part number.

Wiring

Positions 1–3 connect straight through the red, black, and yellow conductors. The first item in each part-data array belongs to conductor 1, the second to conductor 2, and the third to conductor 3. The generated BOM records 0.6 meters of each wire part, totaling 1.8 meters across the three conductors.

What to change

Replace the demonstration part numbers with your own references. Every per-wire part-data array must have exactly wirecount entries. Update all those arrays together when changing the count. This example uses one gauge and one length for the whole bundle; use separate cable definitions when those properties differ.

Generated bill of materials

Id Description Qty Unit Designators P/N Manufacturer MPN Supplier SPN
1 Connector, Three-position device connector, 3 pins 1 DEVICE
2 Connector, Three-position panel connector, 3 pins 1 PANEL
3 Wire, 24 AWG, BK 0.6 m BUNDLE WIRE-BLACK Illustrative Wire Co DEMO-24-BK Example Supplier EXAMPLE-BLACK
4 Wire, 24 AWG, RD 0.6 m BUNDLE WIRE-RED Illustrative Wire Co DEMO-24-RD Example Supplier EXAMPLE-RED
5 Wire, 24 AWG, YE 0.6 m BUNDLE WIRE-YELLOW Illustrative Wire Co DEMO-24-YE Example Supplier EXAMPLE-YELLOW

YAML source

wire-bundle.yml
metadata:
  title: Wire bundle with per-conductor parts
  description: Illustrative parts and pinout, not a certified electrical design.

connectors:
  PANEL:
    type: Three-position panel connector
    pincount: 3
    pinlabels: [SUPPLY, RETURN, SIGNAL]
  DEVICE:
    type: Three-position device connector
    pincount: 3
    pinlabels: [SUPPLY, RETURN, SIGNAL]

cables:
  BUNDLE:
    category: bundle
    wirecount: 3
    gauge: 24 AWG
    length: 0.6
    colors: [RD, BK, YE]
    wirelabels: [SUPPLY, RETURN, SIGNAL]
    manufacturer: [Illustrative Wire Co, Illustrative Wire Co, Illustrative Wire Co]
    mpn: [DEMO-24-RD, DEMO-24-BK, DEMO-24-YE]
    supplier: [Example Supplier, Example Supplier, Example Supplier]
    spn: [EXAMPLE-RED, EXAMPLE-BLACK, EXAMPLE-YELLOW]
    pn: [WIRE-RED, WIRE-BLACK, WIRE-YELLOW]

connections:
  - - PANEL: [1-3]
    - BUNDLE: [1-3]
    - DEVICE: [1-3]