7 Commits

Author SHA1 Message Date
KV
0c6b6f390d Compute sensible default values for unspecified image attributes
The goal is to enable the user to avoid specifying more attributes
than strictly needed.
2020-08-16 23:53:12 +02:00
KV
d289f95bc3 Add a minor image scaling to example 08 2020-08-16 16:27:14 +02:00
KV
204379a125 Move image attributes into Image dataclass to fix change requests
@formatc1702 requested changes in his review of #153:
- Lowercase attribute values
- Nested image attributes
- Avoid sending the whole node object as argument to helper functions
- Simplify html_size_attr()
- Move the resources folder
2020-08-15 07:13:23 +02:00
KV
06e6c49aa9 Expand example 08 with images and captions
- Stereo phone plug (a slight modification of a public domain image
  from https://openclipart.org/detail/192396/headphones-connctor ).
- Cable cross-section drawn to match the wire colors in example 08.
- Make the cable jacket and shield colors match the cross-section.
- Images for embedding in the connector and cable nodes are stored
  in a new resources folder.
2020-08-13 22:51:21 +02:00
Daniel Rojas
2a963bfef6 Update example input files 2020-07-21 22:01:10 +02:00
Daniel Rojas
9d2c193533 Update example 08 to hide pincount on 3.5mm jack 2020-06-29 17:46:45 +02:00
Daniel Rojas
790e9c93c4 Update demos and examples 2020-06-27 23:46:22 +02:00