30 Commits

Author SHA1 Message Date
Daniel Rojas
ab358442ae Use color objects in WireViz 2021-10-20 20:14:10 +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
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
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
c89cf735ae Apply some manual fixes, reapply black 2021-10-16 22:09:59 +02:00
Daniel Rojas
f92985a61c Apply black 2021-10-16 22:09:59 +02:00
Daniel Rojas
344615483a Apply isort 2021-10-16 22:09:59 +02:00
Daniel Rojas
2a62dae9ee Resolve edge case of empty HTML tables 2021-10-13 21:39:11 +02: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