539 Commits

Author SHA1 Message Date
Daniel Rojas
f2bc5d79f2 Define CLI epilog str in single statement 2023-09-12 19:41:23 +02:00
Daniel Rojas
5c4c6d831e Change description to type in additional BOM item YAML 2023-09-12 19:41:23 +02:00
Daniel Rojas
fe016d63ce Prepare harness.populate_bom() 2023-09-12 19:41:23 +02:00
Daniel Rojas
5c18001188 Improve BOM generation (TODO: wires from a bundle) 2023-09-12 19:41:22 +02:00
Daniel Rojas
b60db7902b do not add autogenerated designators to BOM 2023-09-12 19:41:22 +02:00
Daniel Rojas
a4f6c6ad7a Include nested additional components in BOM 2023-09-12 19:41:22 +02:00
Daniel Rojas
8ae4dc37a2 Clean up 2023-09-12 19:41:22 +02:00
Daniel Rojas
36ffa969f4 Improve subclassing of components, prepare for BOM refactoring 2023-09-12 19:41:22 +02:00
Daniel Rojas
ef2b406c78 Remove unused line 2023-09-12 19:41:22 +02:00
Daniel Rojas
842e174bb9 Apply dot tweaks last 2023-09-12 19:41:22 +02:00
Daniel Rojas
96a3a87f9e Make variable name more expressive 2023-09-12 19:41:21 +02:00
Daniel Rojas
cc0bd76e99 Break longer lines not caught by black
because they were unbroken strings or comments
2023-09-12 19:41:21 +02:00
Daniel Rojas
95cc1be647 Make green color darker 2023-09-12 19:37:11 +02:00
Daniel Rojas
22cd25871c Re-sort wv_colors.py 2023-09-12 19:37:11 +02:00
Daniel Rojas
e95f4bd53b Use color objects in WireViz 2023-09-12 19:37:11 +02:00
Daniel Rojas
1b31a6f044 Implement color objects 2023-09-12 19:37:11 +02:00
Daniel Rojas
03518abdcd Add cleanup.sh (maybe move/delete later? or add commit hook?) 2023-09-12 19:37:11 +02:00
Daniel Rojas
8200e891d0 Streamline assignment of ports to simple connectors 2023-09-12 19:37:11 +02:00
Daniel Rojas
94f9d96197 Add sample use to devtools.txt 2023-09-12 19:37:11 +02:00
Daniel Rojas
ebd271d54c Run autoflake -i --remove-all-unused-imports 2023-09-12 19:37:10 +02:00
Daniel Rojas
21bfebb9b4 Run autoflake -i 2023-09-12 19:37:10 +02:00
Daniel Rojas
9b40858d56 Add devtools.txt 2023-09-12 19:37:10 +02:00
Daniel Rojas
fc820079fc Make mates object-oriented 2023-09-12 19:37:10 +02:00
Daniel Rojas
9e6d327c15 Alphabetize HTML tags, improve bgcolor rendering 2023-09-12 19:37:10 +02:00
Daniel Rojas
d9513865e2 Make connecting things more object-oriented 2023-09-12 19:37:10 +02:00
Daniel Rojas
8aaee0c85a Outsource gv_edge_wire() 2023-09-12 19:37:09 +02:00
Daniel Rojas
266eb659bb Reactivate cable edge generation 2023-09-12 19:37:09 +02:00
Daniel Rojas
84dd10a2dc Fix and simplify bgcolor logic 2023-09-12 19:37:09 +02:00
Daniel Rojas
31c5e1aad9 Make setting HTML tag attributes easier through kwargs 2023-09-12 19:37:09 +02:00
Daniel Rojas
587b359fa0 Outsource set_dot_basics() and apply_dot_tweaks() 2023-09-12 19:37:09 +02:00
Daniel Rojas
2f03dcd1a3 Add TODOs 2023-09-12 19:37:09 +02:00
Daniel Rojas
064c7fd7c8 Outsource gv_pin_table(), simplify padding 2023-09-12 19:37:09 +02:00
Daniel Rojas
0078a18953 Remove old stuff, slightly simplify code 2023-09-12 19:37:08 +02:00
Daniel Rojas
d65222953e More WIP 2023-09-12 19:37:08 +02:00
Daniel Rojas
f46bce6867 WIP 2023-09-12 19:37:08 +02:00
Daniel Rojas
1f8dd49eb9 Implement HTML indentation 2023-09-12 19:37:08 +02:00
Daniel Rojas
d348ebe4ce WIP: refactor cable node generation 2023-09-12 19:37:08 +02:00
Daniel Rojas
7134b6841f Generate gauge string inside Cable object 2023-09-12 19:37:08 +02:00
Daniel Rojas
98e594cf96 Rebuild demos 2023-09-12 19:37:08 +02:00
Daniel Rojas
60b2f6caa9 Further refactor connector node generation 2023-09-12 19:37:07 +02:00
Daniel Rojas
046a1c2ea6 Refactor connector node generation 2023-09-12 19:37:07 +02:00
Daniel Rojas
f7359ff9b1 WIP 2023-09-12 19:37:06 +02:00
Daniel Rojas
82b5cb710f Add temporary loop to demo01
for debugging purposes
2023-09-12 19:37:06 +02:00
Daniel Rojas
1435d9c607 Add metadata.title to demo01.yml
to avoid diffs later when calling via CLI
2023-09-12 19:37:06 +02:00
Daniel Rojas
e034fb3519 Rebuild all examples before refactoring
no diff should ocurr as a result of the refactoring
2023-09-12 19:37:06 +02:00
Daniel Rojas
18782444b1 Make prefix for autogenerated component names configurable
`edotor.net` does not seem to like leading underscores, which makes GraphViz debugging difficult.
2023-09-12 19:37:05 +02:00
KV
9cb9ede487 Add #256 2023-09-08 21:02:53 +02:00
Andreas Motl
c0590ff20f Update .gitignore (#256)
Add two more folders to be ignored.

- .idea: Used by PyCharm
- .venv: My convention for creating virtualenvs
2023-09-08 20:56:15 +02:00
kvid
a26f734b94 Update src/wireviz/DataClasses.py as requested in review (#264)
No need to reference github issue in the code.

Co-authored-by: Daniel Rojas <github@danielrojas.net>
2023-09-08 17:37:25 +02:00
KV
f6c3a37563 Make sure loop connected pins are not hidden (#264)
- Resolves #263 that describes warnings and weird loop drawing because
  loop connected pins are hidden when hide_disconnected_pins=True.

- Activate loop pins as early as possible to enable correct counting of
  connected pins when
  connector.additional_components.qty_multiplier=populated.

- Check that loop pins actually exist before activating them.
2023-09-08 17:37:25 +02:00