GraphViz does not support the a HTML tag when generating the tables for the cables/connectors, so this change will remove these tags for the graph generation. However for the HTML BOM output table these links will be generated.
69 lines
2.2 KiB
YAML
69 lines
2.2 KiB
YAML
connectors:
|
|
X1: &template1 # define a template for later use
|
|
type: Molex KK 254
|
|
pincount: 4
|
|
subtype: female
|
|
manufacturer: '<a href="https://www.molex.com/">Molex</a>' # set manufacter name
|
|
mpn: '<a href="https://www.molex.com/molex/products/part-detail/crimp_housings/0022013047">22013047</a>' # set manufacturer part number
|
|
# add a list of additional components to a part (shown in graph)
|
|
additional_components:
|
|
-
|
|
type: Crimp # short identifier used in graph
|
|
subtype: Molex KK 254, 22-30 AWG # extra information added to type in bom
|
|
qty_multiplier: populated # multipier for quantity (number of populated pins)
|
|
manufacturer: Molex # set manufacter name
|
|
mpn: 08500030 # set manufacturer part number
|
|
X2:
|
|
<<: *template1 # reuse template
|
|
pn: CON4 # set an internal part number for just this connector
|
|
X3:
|
|
<<: *template1 # reuse template
|
|
|
|
cables:
|
|
W1:
|
|
wirecount: 4
|
|
length: 1
|
|
gauge: 0.25 mm2
|
|
color_code: IEC
|
|
manufacturer: CablesCo
|
|
mpn: ABC123
|
|
pn: CAB1
|
|
W2:
|
|
category: bundle
|
|
length: 1
|
|
gauge: 0.25 mm2
|
|
colors: [YE, BK, BK, RD]
|
|
manufacturer: [WiresCo,WiresCo,WiresCo,WiresCo] # set a manufacter per wire
|
|
mpn: [W1-YE,W1-BK,W1-BK,W1-RD]
|
|
pn: [WIRE1,WIRE2,WIRE2,WIRE3]
|
|
# add a list of additional components to a part (shown in graph)
|
|
additional_components:
|
|
-
|
|
type: Sleve # short identifier used in graph
|
|
subtype: Braided nylon, black, 3mm # extra information added to type in bom
|
|
qty_multiplier: length # multipier for quantity (length of cable)
|
|
unit: m
|
|
pn: SLV-1
|
|
|
|
|
|
connections:
|
|
-
|
|
- X1: [1-4]
|
|
- W1: [1-4]
|
|
- X2: [1-4]
|
|
-
|
|
- X1: [1-4]
|
|
- W2: [1-4]
|
|
- X3: [1-4]
|
|
|
|
additional_bom_items:
|
|
- # define an additional item to add to the bill of materials (does not appear in graph)
|
|
description: Label, pinout information
|
|
qty: 2
|
|
designators:
|
|
- X2
|
|
- X3
|
|
manufacturer: '<a href="https://www.bradyid.com">Brady</a>'
|
|
mpn: '<a href="https://www.bradyid.com/wire-cable-labels/bmp71-bmp61-m611-tls-2200-nylon-cloth-wire-general-id-labels-cps-2958789">B-499</a>'
|
|
pn: Label-ID-1
|