Daniel Rojas
585db0ebd8
Add devtools.txt
2023-01-19 16:36:32 -05:00
Daniel Rojas
974e9a4abd
Make mates object-oriented
2023-01-19 16:36:32 -05:00
Daniel Rojas
1227586509
Alphabetize HTML tags, improve bgcolor rendering
2023-01-19 16:36:31 -05:00
Daniel Rojas
efda8fa219
Make connecting things more object-oriented
2023-01-19 16:36:31 -05:00
Daniel Rojas
6353a79a41
Outsource gv_edge_wire()
2023-01-19 16:36:30 -05:00
Daniel Rojas
95631a44c6
Reactivate cable edge generation
2023-01-19 16:36:30 -05:00
Daniel Rojas
fce56bca26
Fix and simplify bgcolor logic
2023-01-19 16:36:30 -05:00
Daniel Rojas
a4a73f1414
Make setting HTML tag attributes easier through kwargs
2023-01-19 16:36:29 -05:00
Daniel Rojas
2999878f0d
Outsource set_dot_basics() and apply_dot_tweaks()
2023-01-19 16:36:29 -05:00
Daniel Rojas
05ad6b0ec7
Add TODOs
2023-01-19 16:36:28 -05:00
Daniel Rojas
7c0e75f45e
Outsource gv_pin_table(), simplify padding
2023-01-19 16:36:28 -05:00
Daniel Rojas
75ad23ab42
Remove old stuff, slightly simplify code
2023-01-19 16:36:28 -05:00
Daniel Rojas
d993f58685
More WIP
2023-01-19 16:36:27 -05:00
Daniel Rojas
c8690a99c9
WIP
2023-01-19 16:36:27 -05:00
Daniel Rojas
0f6ed3ae0d
Implement HTML indentation
2023-01-19 16:36:27 -05:00
Daniel Rojas
bb9b43c872
WIP: refactor cable node generation
2023-01-19 16:36:26 -05:00
Daniel Rojas
4eff1de6f7
Generate gauge string inside Cable object
2023-01-19 16:36:26 -05:00
Daniel Rojas
f4da47f39f
Rebuild demos
2023-01-19 16:36:25 -05:00
Daniel Rojas
738012911d
Further refactor connector node generation
2023-01-19 16:36:25 -05:00
Daniel Rojas
77080c90a2
Refactor connector node generation
2023-01-19 16:36:25 -05:00
Daniel Rojas
e769be3905
WIP
2023-01-19 16:36:24 -05:00
Daniel Rojas
3937509f93
Add temporary loop to demo01
...
for debugging purposes
2023-01-19 16:36:24 -05:00
Daniel Rojas
21d6e032ea
Add metadata.title to demo01.yml
...
to avoid diffs later when calling via CLI
2023-01-19 16:36:23 -05:00
Daniel Rojas
ab183f6968
Rebuild all examples before refactoring
...
no diff should ocurr as a result of the refactoring
2023-01-19 16:36:23 -05:00
Daniel Rojas
81b0dba858
Make prefix for autogenerated component names configurable
...
`edotor.net` does not seem to like leading underscores, which makes GraphViz debugging difficult.
2023-01-19 16:36:23 -05:00
Daniel Rojas
abd53ec404
Simplify Enum
2023-01-19 16:36:22 -05:00
Daniel Rojas
28aa7f0420
Embed images into SVG output
2023-01-19 16:36:22 -05:00
Daniel Rojas
81f955457d
Auto-assign missing harness title if reading from file
2023-01-19 16:36:22 -05:00
Daniel Rojas
c38305b3a5
Simplify file access operations
2023-01-19 16:36:21 -05:00
Daniel Rojas
fbc90c0475
Make template separator character user-configurable
2023-01-19 16:36:21 -05:00
Daniel Rojas
8796709195
Add support for multiple prepended files
2023-01-19 16:36:20 -05:00
Daniel Rojas
c1f195fe86
Automatically include input file directory in list to resolve image paths
2023-01-19 16:36:20 -05:00
Daniel Rojas
36641bb6e3
Update build_examples.py
2023-01-19 16:36:20 -05:00
Daniel Rojas
76da525c3b
Write docstring for parse() function
2023-01-19 16:36:19 -05:00
Daniel Rojas
22c3e18dfa
Add leading underscore to local helper functions
2023-01-19 16:36:19 -05:00
Daniel Rojas
73dfe74cf5
Allow specifying output directory and file name separately
2023-01-19 16:36:18 -05:00
Daniel Rojas
1c9a1d886f
Consolidate wireviz.parse() to handle Path, str and Dict as input
2023-01-19 16:36:18 -05:00
Daniel Rojas
63b7124a43
Add 'black' badge to README.md
2023-01-19 16:36:18 -05:00
Daniel Rojas
daff23cbaa
Mention isort and black in contribution guidelines
2023-01-19 16:36:17 -05:00
Daniel Rojas
a255596471
Apply some manual fixes, reapply black
2023-01-19 16:36:17 -05:00
Daniel Rojas
343cd2949f
Apply black
2023-01-19 16:36:17 -05:00
Daniel Rojas
e6f76f9ab7
Apply isort
2023-01-19 16:35:25 -05:00
Daniel Rojas
3a189895e6
Add black profile for isort
2023-01-19 16:35:25 -05:00
Daniel Rojas
a9eb4f6481
Create cache of graph to avoid generating it more than once
2023-01-19 16:35:24 -05:00
Daniel Rojas
23db602445
Split file output logic and object return logic
...
Use `output_formats` parameter to specify which *files* to output to disk,
Use `return_types` parameter to specify which objects to return to a calling Python script
2023-01-19 16:35:24 -05:00
Daniel Rojas
8e31768564
Improve REAME.md
2023-01-19 16:35:23 -05:00
Daniel Rojas
b8d74bae81
Output help string if no arguments are received
2023-01-19 16:35:23 -05:00
Daniel Rojas
f87d9ef72d
Update README for new CLI commands
2023-01-19 16:35:23 -05:00
Daniel Rojas
0044997b9c
Sort --format flags alphabetically
2023-01-19 16:35:22 -05:00
Daniel Rojas
884b98216e
Add encoding info to wv_cli.py
2023-01-19 16:35:22 -05:00