Daniel Rojas
f2bc5d79f2
Define CLI epilog str in single statement
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
8200e891d0
Streamline assignment of ports to simple connectors
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
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
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
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
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
RedshiftVelocities
6f9007f45d
Use portable OS error codes so program doesn't crash ( #318 )
...
Hard-coding OS error numbers that differ between different platforms
caused the program to crash at platforms using a different error number.
Using the Standard errno system symbols will avoid this problem.
Co-authored-by: kvid <kvid@users.noreply.github.com>
2023-09-01 22:24:34 +02:00
KV
f9d1dd0148
Fix bug commented in #186
...
Changes in #186 made it impossible to hide cable wire numbers.
https://github.com/wireviz/WireViz/pull/186#discussion_r716246852
2023-08-27 15:47:08 +02:00
Julien Lecoeur
9dbf4538fd
Fix graphviz file header ( #261 )
...
The two header comments were missing trailing newlines.
This behavior is introduced by v0.18 of the graphviz Python package;
where as v0.17 did include the newline automatically.
Closes #258
2023-08-27 15:31:17 +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