This image, with an optional caption below, is displayed in the lower section of the connector/cable node in the diagram - just above the notes if present. This solves the basic part of issue #27, and is a continuation of PR #137 that was closed due to changes in the base branch.
35 lines
712 B
YAML
35 lines
712 B
YAML
# contributed by @cocide
|
|
# and later extended to include images
|
|
|
|
connectors:
|
|
Key:
|
|
type: Phone Connector
|
|
subtype: male 3.5
|
|
pins: [T, R, S]
|
|
pinlabels: [Dot, Dash, Ground]
|
|
show_pincount: false
|
|
image:
|
|
src: resources/stereo-phone-plug-TRS.png
|
|
caption: Tip, Ring, and Sleeve
|
|
|
|
cables:
|
|
W1:
|
|
gauge: 24 AWG
|
|
length: 0.2
|
|
color: BK # Cable jacket color
|
|
color_code: DIN
|
|
wirecount: 3
|
|
shield: SN # Matching the shield color in the image
|
|
image:
|
|
src: resources/cable-WH+BN+GN+shield.png
|
|
height: 70 # Scale the image size slightly down
|
|
caption: Cross-section
|
|
|
|
connections:
|
|
-
|
|
- Key: [S,R,T]
|
|
- W1: [1,2,3]
|
|
-
|
|
- Key: S
|
|
- W1: s
|