100 Commits

Author SHA1 Message Date
Daniel Rojas
d86ec0ad68 Auto-generate example gallery 2020-05-30 12:05:56 +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
50e3441eaa Add command line argument parsing (input/output file) 2020-05-30 09:00:25 +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
12b4746e01 Fine-tune examples 2020-05-29 22:45:19 +02:00
Daniel Rojas
3becef7829 Add support for wire bundles 2020-05-29 22:37:48 +02:00
Daniel Rojas
df6df75a31 Restructure to-do list 2020-05-29 19:20:18 +02:00
Daniel Rojas
2dd21ae6aa Change some default parameter values 2020-05-29 19:20:10 +02:00
Daniel Rojas
5461cb016d Simplify ferrule creation 2020-05-28 20:35:35 +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
77a69d2362 Simplify processing input file sections 2020-05-28 18:53:36 +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
591829b6fc Add unnamed connector ('ferrule') support proof of concept 2020-05-27 21:52:47 +02:00
Daniel Rojas
c58cda04b1 Update readme + todo 2020-05-27 20:06:36 +02:00
Daniel Rojas
c38d2b1876 Move examples 2020-05-27 19:55:29 +02:00
Daniel Rojas
346dd72510 Add to-do list 2020-05-27 19:07:49 +02:00
Daniel Rojas
e829294c70 Add example 2 as YAML file 2020-05-27 19:07:49 +02:00
Daniel Rojas
eaf57a81bc Re-format code
oops
2020-05-27 19:07:49 +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
e0286b2f51 Implement first proof of concept 2020-05-25 19:22:17 +02:00
Daniel Rojas
6b2da96865 Add pyyaml module 2020-05-25 19:18:49 +02:00
Daniel Rojas
841dd6efcf Add .txt exension to LICENSE file 2020-05-24 21:47:58 +02:00
Daniel Rojas
a2971e7ee2 Improve handling of single connections in Cable.connect() 2020-05-24 21:46:02 +02:00
Daniel Rojas
06a9188e83 Add minimalist example 4 2020-05-24 15:20:53 +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
30fe715166 Move examples 2020-05-24 13:41:34 +02:00
Daniel Rojas
e3d78f3e01 Improve output function 2020-05-24 13:41:18 +02:00
Daniel Rojas
ae959f6b92 Remove unused files 2020-05-24 13:28:38 +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
e6cfc3b2ee Add GraphViz Python module
https://github.com/xflr6/graphviz
2020-05-23 21:17:19 +02:00
Daniel Rojas
5278904234 Update readme 2020-05-23 20:15:31 +02:00
Daniel Rojas
ff94b475c4 Make output background color transparent 2020-05-22 21:34:37 +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