59 Commits

Author SHA1 Message Date
Daniel Rojas
5f55b650ba Fine tune line breaks 2020-06-13 11:47:08 +02:00
Daniel Rojas
e2042584da Add notes field for nodes and wires 2020-06-05 16:56:04 +02:00
Daniel Rojas
666de762dd Fix AWG display 2020-06-05 16:55:17 +02:00
Daniel Rojas
3c566b65c9 Remove obsolete functions 2020-06-04 21:34:07 +02:00
Daniel Rojas
88967a381c Make PNG background white by default 2020-06-03 22:05:26 +02:00
Daniel Rojas
14c4c96ebd Fine tune ferrule rendering 2020-06-03 22:04:59 +02:00
Daniel Rojas
7ee78b7ae7 Implement cable nodes as HTML tables for better visualization 2020-06-03 22:04:34 +02:00
Daniel Rojas
da0d0c84b6 Improve handling and customize rendering of ferrules 2020-05-30 20:54:38 +02:00
Daniel Rojas
8aeabd03c3 Update and automate examples and demos 2020-05-30 11:25:36 +02:00
Daniel Rojas
d99952c4d3 Merge yaml2wireviz into wireviz module 2020-05-30 09:14:48 +02:00
Daniel Rojas
f04441f903 Update to-do list 2020-05-29 23:24:23 +02:00
Daniel Rojas
c93fb74d17 Make connection definition more readable, Pt. II: Create connection dataclass 2020-05-29 23:18:37 +02:00
Daniel Rojas
9ff48eed3b Make connection definition more readable, Pt. I 2020-05-29 23:04:46 +02:00
Daniel Rojas
fcf67145bf Show from/to designators on wire bundle 2020-05-29 22:55:39 +02:00
Daniel Rojas
3becef7829 Add support for wire bundles 2020-05-29 22:37:48 +02:00
Daniel Rojas
2dd21ae6aa Change some default parameter values 2020-05-29 19:20:10 +02:00
Daniel Rojas
5867bd50c4 Clean up wire color assignment logic 2020-05-28 20:27:54 +02:00
Daniel Rojas
516d8c30f4 Simplify __init__ functions, Pt. III: use dataclasses 2020-05-28 20:01:13 +02:00
Daniel Rojas
aeda312ffd Simplify __init__ functions, Pt. II 2020-05-28 19:02:30 +02:00
Daniel Rojas
ab922928de Simplify __init__ functions, Pt. I 2020-05-28 18:37:44 +02:00
Daniel Rojas
07567be3ca Clean up code 2020-05-28 17:51:30 +02:00
Daniel Rojas
71641df39b Fine-tune wire colors 2020-05-27 22:10:47 +02:00
Daniel Rojas
544e009bcb Change order of arguments in wire..connect()
squash
2020-05-27 18:51:55 +02:00
Daniel Rojas
517cba4863 Implement YAML to WireViz converter 2020-05-27 18:25:33 +02:00
Daniel Rojas
a2971e7ee2 Improve handling of single connections in Cable.connect() 2020-05-24 21:46:02 +02:00
Daniel Rojas
09bc282506 Add option to hide pin/wire counts 2020-05-24 15:20:53 +02:00
Daniel Rojas
542aea2fe4 Improve handling of empty lists when nesting 2020-05-24 15:20:53 +02:00
Daniel Rojas
f0724ede3f Auto-decide connector pin side based on wiring 2020-05-24 15:20:53 +02:00
Daniel Rojas
2b955fa10c Add wire color to loops 2020-05-24 14:03:19 +02:00
Daniel Rojas
9b745b6cbb Add WireViz info to output file 2020-05-24 14:01:41 +02:00
Daniel Rojas
492710baa6 Update examples, change output file extension from .dot to .gv 2020-05-24 13:54:02 +02:00
Daniel Rojas
e3d78f3e01 Improve output function 2020-05-24 13:41:18 +02:00
Daniel Rojas
1e076b52c3 Delete old rendering functions 2020-05-24 13:18:32 +02:00
Daniel Rojas
85eab22b13 Re-implement rendering using graphviz module 2020-05-24 13:18:32 +02:00
Daniel Rojas
1dde27b072 Add German color short codes 2020-05-23 21:38:22 +02:00
Daniel Rojas
db73fa5c81 Expand DIN 47100 colors (up to 20 wires) 2020-05-22 21:26:41 +02:00
Daniel Rojas
504399c62e Fix UTF encoding for ² character 2020-05-22 21:26:18 +02:00
Daniel Rojas
c0d8017bd7 Remove old debug code 2020-05-22 20:58:05 +02:00
Daniel Rojas
049d439d7c Improve color looping 2020-05-22 20:49:15 +02:00
Daniel Rojas
81b2cb5423 Loop color codes 2020-05-22 20:02:34 +02:00
Daniel Rojas
5fc93a8bce Improve color code handling 2020-05-22 20:02:20 +02:00
Daniel Rojas
5a2f3d7ed0 Change GraphVIz output from digraph to graph 2020-05-22 19:36:31 +02:00
Daniel Rojas
e63dfc01e6 Add option to show equivalent AWG 2020-05-22 19:26:29 +02:00
Daniel Rojas
548adcdfb7 Add Harness class, simplify harness creation 2020-05-22 18:30:12 +02:00
Daniel Rojas
aee4ec1b4c Add output functionality to module 2020-05-22 17:28:11 +02:00
Daniel Rojas
719ddd1e0d Add different color printing modes
YE
ye
YELLOW
yellow
#FFFF00
#ffff00
2020-05-22 16:51:46 +02:00
Daniel Rojas
140966f5bc Enhance parameter support 2020-05-22 16:36:29 +02:00
Daniel Rojas
485f7af747 Allow wires to hide pinout 2020-05-22 16:17:54 +02:00
Daniel Rojas
abba76bba4 Add basic parameter support for connectors and wires 2020-05-22 16:04:35 +02:00
Daniel Rojas
ee7d1ef4e3 Change double quotes to single quotes for strings 2020-05-22 15:51:16 +02:00