224 Commits

Author SHA1 Message Date
Daniel Rojas
b45d0aee50 Rename modules, adjust imports, move build_examples.py 2021-10-22 18:21:39 +02:00
Daniel Rojas
0882c51e10 Define CLI epilog str in single statement 2021-10-21 22:17:00 +02:00
Daniel Rojas
5d45725684 Prepare harness.populate_bom() 2021-10-21 22:07:30 +02:00
Daniel Rojas
cb5e8be940 Improve BOM generation (TODO: wires from a bundle) 2021-10-21 21:01:38 +02:00
Daniel Rojas
8e9738cc56 do not add autogenerated designators to BOM 2021-10-21 20:25:42 +02:00
Daniel Rojas
4b4ce29830 Include nested additional components in BOM 2021-10-21 20:25:28 +02:00
Daniel Rojas
7cb8042dbc Clean up 2021-10-21 19:36:23 +02:00
Daniel Rojas
52026a39dc Improve subclassing of components, prepare for BOM refactoring 2021-10-21 17:15:02 +02:00
Daniel Rojas
84a85327fe Remove unused line 2021-10-21 12:21:00 +02:00
Daniel Rojas
f8300913c6 Apply dot tweaks last 2021-10-21 12:11:04 +02:00
Daniel Rojas
962f7d3eda Make variable name more expressive 2021-10-21 12:09:28 +02:00
Daniel Rojas
9c48b625ec Break longer lines not caught by black
because they were unbroken strings or comments
2021-10-21 12:05:00 +02:00
Daniel Rojas
496b6b1146 Make green color darker 2021-10-20 21:05:56 +02:00
Daniel Rojas
9e354e25c7 Re-sort wv_colors.py 2021-10-20 21:04:28 +02:00
Daniel Rojas
ab358442ae Use color objects in WireViz 2021-10-20 20:14:10 +02:00
Daniel Rojas
ff9e35a2a5 Implement color objects 2021-10-20 17:33:05 +02:00
Daniel Rojas
652fcc2f8e Streamline assignment of ports to simple connectors 2021-10-19 22:53:47 +02:00
Daniel Rojas
7abfd1df4a Run autoflake -i --remove-all-unused-imports 2021-10-19 21:47:40 +02:00
Daniel Rojas
395b8788e0 Run autoflake -i 2021-10-19 21:46:43 +02:00
Daniel Rojas
40e693df41 Make mates object-oriented 2021-10-19 21:44:08 +02:00
Daniel Rojas
8fde579e45 Alphabetize HTML tags, improve bgcolor rendering 2021-10-19 19:43:12 +02:00
Daniel Rojas
3a7a5e85bc Make connecting things more object-oriented 2021-10-19 19:16:59 +02:00
Daniel Rojas
0c149a9b4b Outsource gv_edge_wire() 2021-10-19 16:54:30 +02:00
Daniel Rojas
db5666f037 Reactivate cable edge generation 2021-10-19 16:17:38 +02:00
Daniel Rojas
aac4b5d1d6 Fix and simplify bgcolor logic 2021-10-19 15:57:00 +02:00
Daniel Rojas
29d847e5cd Make setting HTML tag attributes easier through kwargs 2021-10-19 15:45:54 +02:00
Daniel Rojas
59164b320f Outsource set_dot_basics() and apply_dot_tweaks() 2021-10-18 18:50:03 +02:00
Daniel Rojas
501a19f442 Add TODOs 2021-10-18 18:08:09 +02:00
Daniel Rojas
e0347c8f57 Outsource gv_pin_table(), simplify padding 2021-10-18 17:53:48 +02:00
Daniel Rojas
d7b635dc56 Remove old stuff, slightly simplify code 2021-10-18 17:29:25 +02:00
Daniel Rojas
012dcb2c6e More WIP 2021-10-18 17:23:15 +02:00
Daniel Rojas
d88e1f6edb WIP 2021-10-18 13:42:51 +02:00
Daniel Rojas
104391421c Implement HTML indentation 2021-10-18 12:20:40 +02:00
Daniel Rojas
64d22d5db4 WIP: refactor cable node generation 2021-10-17 20:43:38 +02:00
Daniel Rojas
29ff099e9a Generate gauge string inside Cable object 2021-10-17 20:01:05 +02:00
Daniel Rojas
9ed3cadd53 Further refactor connector node generation 2021-10-17 18:50:42 +02:00
Daniel Rojas
e1f03907bf Refactor connector node generation 2021-10-17 16:13:45 +02:00
Daniel Rojas
8020bad94d WIP 2021-10-17 15:33:41 +02:00
Daniel Rojas
f7b791afe2 Make prefix for autogenerated component names configurable
`edotor.net` does not seem to like leading underscores, which makes GraphViz debugging difficult.
2021-10-17 13:00:43 +02:00
Daniel Rojas
ba3f0248a5 Simplify Enum 2021-10-16 22:58:47 +02:00
Daniel Rojas
6f9bb67d02 Embed images into SVG output 2021-10-16 22:39:41 +02:00
Daniel Rojas
e31ed72655 Auto-assign missing harness title if reading from file 2021-10-16 22:27:00 +02:00
Daniel Rojas
d19c260940 Simplify file access operations 2021-10-16 22:27:00 +02:00
Daniel Rojas
45bcc1dd45 Make template separator character user-configurable 2021-10-16 22:27:00 +02:00
Daniel Rojas
08b5124adb Add support for multiple prepended files 2021-10-16 22:26:59 +02:00
Daniel Rojas
5aaea651b1 Automatically include input file directory in list to resolve image paths 2021-10-16 22:26:59 +02:00
Daniel Rojas
b46d26319a Update build_examples.py 2021-10-16 22:26:59 +02:00
Daniel Rojas
3aa1a2e651 Write docstring for parse() function 2021-10-16 22:26:59 +02:00
Daniel Rojas
8215113165 Add leading underscore to local helper functions 2021-10-16 22:26:59 +02:00
Daniel Rojas
e3530702f2 Allow specifying output directory and file name separately 2021-10-16 22:26:59 +02:00