28 Commits

Author SHA1 Message Date
Daniel Rojas
d4fc17408b
Run autoflake -i --remove-all-unused-imports 2023-01-19 16:36:33 -05:00
Daniel Rojas
539e9e3869
Run autoflake -i 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
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
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
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
f20f313af0
Resolve edge case of empty HTML tables 2023-01-19 16:35:09 -05:00
Daniel Rojas
3cc36e1573 Harmonize shebangs and encoding info
- Use `#!/usr/bin/env python3` on executable modules
- Remove shebangs on all other `.py` files
- Add UTF-8 encoding info where mising
2021-10-11 20:05:52 +02:00
KV
324508a8ee Support image.bgcolor to enable adapting to image colors 2021-09-28 19:14:28 +02:00
KV
45d7d03fe0 Support both bgcolor and bgcolor_title attributes
Solves #210 completely by supporting bgcolor of both the node title
and the whole node independently using separate attributes.
2021-09-28 19:14:28 +02:00
KV
dbccb77b08 Add bgcolor attribute to connectors and cables
This solves the #210 suggestion to render the title row of
the graph nodes with this bgcolor.
2021-09-28 19:14:28 +02:00
Daniel Rojas
96bd121403 Create separate modules for BOM and HTML functions 2020-11-15 08:42:57 +01:00