Commit Graph

  • e89a98f142 Add cleanup.sh (maybe move/delete later? or add commit hook?) Daniel Rojas 2021-10-19 23:05:38 +02:00
  • 652fcc2f8e Streamline assignment of ports to simple connectors Daniel Rojas 2021-10-19 22:48:30 +02:00
  • 63f21b2e8a Add sample use to devtools.txt Daniel Rojas 2021-10-19 21:49:31 +02:00
  • 7abfd1df4a Run autoflake -i --remove-all-unused-imports Daniel Rojas 2021-10-19 21:47:40 +02:00
  • 395b8788e0 Run autoflake -i Daniel Rojas 2021-10-19 21:46:43 +02:00
  • b8d9ca02a5 Add devtools.txt Daniel Rojas 2021-10-19 21:44:14 +02:00
  • 40e693df41 Make mates object-oriented Daniel Rojas 2021-10-19 21:44:08 +02:00
  • 8fde579e45 Alphabetize HTML tags, improve bgcolor rendering Daniel Rojas 2021-10-19 19:40:36 +02:00
  • 3a7a5e85bc Make connecting things more object-oriented Daniel Rojas 2021-10-19 19:16:59 +02:00
  • 0c149a9b4b Outsource gv_edge_wire() Daniel Rojas 2021-10-19 16:46:34 +02:00
  • db5666f037 Reactivate cable edge generation Daniel Rojas 2021-10-19 16:17:38 +02:00
  • aac4b5d1d6 Fix and simplify bgcolor logic Daniel Rojas 2021-10-19 15:57:00 +02:00
  • 29d847e5cd Make setting HTML tag attributes easier through kwargs Daniel Rojas 2021-10-19 15:44:52 +02:00
  • 59164b320f Outsource set_dot_basics() and apply_dot_tweaks() Daniel Rojas 2021-10-18 18:20:19 +02:00
  • 501a19f442 Add TODOs Daniel Rojas 2021-10-18 18:08:09 +02:00
  • e0347c8f57 Outsource gv_pin_table(), simplify padding Daniel Rojas 2021-10-18 17:52:07 +02:00
  • d7b635dc56 Remove old stuff, slightly simplify code Daniel Rojas 2021-10-18 17:29:25 +02:00
  • 012dcb2c6e More WIP Daniel Rojas 2021-10-18 17:23:15 +02:00
  • d88e1f6edb WIP Daniel Rojas 2021-10-18 13:42:51 +02:00
  • 104391421c Implement HTML indentation Daniel Rojas 2021-10-18 12:20:40 +02:00
  • 64d22d5db4 WIP: refactor cable node generation Daniel Rojas 2021-10-17 20:43:38 +02:00
  • 29ff099e9a Generate gauge string inside Cable object Daniel Rojas 2021-10-17 20:01:05 +02:00
  • 3e81a59c08 Rebuild demos Daniel Rojas 2021-10-17 19:22:59 +02:00
  • 9ed3cadd53 Further refactor connector node generation Daniel Rojas 2021-10-17 18:13:59 +02:00
  • e1f03907bf Refactor connector node generation Daniel Rojas 2021-10-17 16:12:36 +02:00
  • 8020bad94d WIP Daniel Rojas 2021-10-17 15:33:41 +02:00
  • d528bda636 Add temporary loop to demo01 Daniel Rojas 2021-10-17 13:12:44 +02:00
  • 8569090ca2 Add metadata.title to demo01.yml Daniel Rojas 2021-10-17 13:11:19 +02:00
  • 1b70a63434 Rebuild all examples before refactoring Daniel Rojas 2021-10-17 13:02:31 +02:00
  • f7b791afe2 Make prefix for autogenerated component names configurable Daniel Rojas 2021-10-17 13:00:43 +02:00
  • ba3f0248a5 Simplify Enum latest Daniel Rojas 2021-10-16 22:58:47 +02:00
  • 6f9bb67d02 Embed images into SVG output Daniel Rojas 2021-10-16 22:36:42 +02:00
  • e31ed72655 Auto-assign missing harness title if reading from file feature/technical-drw Daniel Rojas 2021-10-16 18:49:18 +02:00
  • d19c260940 Simplify file access operations Daniel Rojas 2021-10-16 18:41:24 +02:00
  • 45bcc1dd45 Make template separator character user-configurable Daniel Rojas 2021-10-16 17:20:13 +02:00
  • 08b5124adb Add support for multiple prepended files Daniel Rojas 2021-10-16 16:59:28 +02:00
  • 5aaea651b1 Automatically include input file directory in list to resolve image paths Daniel Rojas 2021-10-16 14:44:07 +02:00
  • b46d26319a Update build_examples.py Daniel Rojas 2021-10-16 14:29:30 +02:00
  • 3aa1a2e651 Write docstring for parse() function Daniel Rojas 2021-10-16 14:25:43 +02:00
  • 8215113165 Add leading underscore to local helper functions Daniel Rojas 2021-10-16 14:25:26 +02:00
  • e3530702f2 Allow specifying output directory and file name separately Daniel Rojas 2021-10-16 13:30:56 +02:00
  • d7d7854bce Consolidate wireviz.parse() to handle Path, str and Dict as input Daniel Rojas 2021-10-16 13:15:21 +02:00
  • c702e20eba Add 'black' badge to README.md Daniel Rojas 2021-10-15 18:29:39 +02:00
  • 58ab5cab91 Mention isort and black in contribution guidelines Daniel Rojas 2021-10-15 18:14:03 +02:00
  • c89cf735ae Apply some manual fixes, reapply black Daniel Rojas 2021-10-15 17:39:33 +02:00
  • f92985a61c Apply black Daniel Rojas 2021-10-15 17:11:11 +02:00
  • 344615483a Apply isort Daniel Rojas 2021-10-15 17:06:56 +02:00
  • 6f8078eea3 Add black profile for isort Daniel Rojas 2021-10-15 16:57:29 +02:00
  • 65b8e36fe5 Create cache of graph to avoid generating it more than once Daniel Rojas 2021-10-15 16:37:09 +02:00
  • fb2aae5515 Split file output logic and object return logic Daniel Rojas 2021-10-15 16:36:49 +02:00
  • 3dae1cbca2 Improve REAME.md Daniel Rojas 2021-10-15 16:06:00 +02:00
  • d6d1fbcf16 Output help string if no arguments are received Daniel Rojas 2021-10-15 15:42:50 +02:00
  • c68d6419ba Update README for new CLI commands Daniel Rojas 2021-10-15 15:20:56 +02:00
  • a4343ae04c Sort --format flags alphabetically Daniel Rojas 2021-10-15 15:07:58 +02:00
  • 5b3c2b3297 Add encoding info to wv_cli.py Daniel Rojas 2021-10-15 15:03:30 +02:00
  • 0cb0a4e054 Add main() to wireviz.py as fallback Daniel Rojas 2021-10-15 15:03:18 +02:00
  • 3c6b902867 Remove obsolete comments Daniel Rojas 2021-10-15 14:58:35 +02:00
  • 3a181f6f95 Fix smart file resolver for images Daniel Rojas 2021-10-15 14:58:21 +02:00
  • b1fa2b9de9 Do not output .gv files by default Daniel Rojas 2021-10-02 15:31:09 +02:00
  • 6a08988ca9 Implement image path resolver Daniel Rojas 2021-10-02 14:41:26 +02:00
  • a5b0fbe305 Split the YAML loading and parsing functions Daniel Rojas 2021-10-02 14:31:27 +02:00
  • b53ce36046 Fix entry point Daniel Rojas 2021-10-02 14:16:20 +02:00
  • d3e99abaa8 Only output requested file types (closes #60) Daniel Rojas 2021-10-02 13:31:20 +02:00
  • 77f668e553 Add CLI help strings Daniel Rojas 2021-10-02 13:04:38 +02:00
  • 19481b291b Remove unneeded code from wireviz.py Daniel Rojas 2021-10-02 12:28:50 +02:00
  • 1df45ab833 Implement working proof of concept Daniel Rojas 2021-10-02 12:27:27 +02:00
  • a810bd53ae Add wv_cli.py, add Click requirement, change entry point Daniel Rojas 2021-10-02 11:40:36 +02:00
  • 8e59a14e4e Simplify and clean up setup.py Daniel Rojas 2021-10-08 08:49:32 +02:00
  • 35e89d4fdf Simplify main() Daniel Rojas 2021-10-07 23:38:06 +02:00
  • a85ad89719 Add explanatory comment Daniel Rojas 2021-10-07 23:32:26 +02:00
  • 00be4747ad Replace os.path with pathlib.Path where used Daniel Rojas 2021-10-07 23:28:47 +02:00
  • b513051bc2 Equalize line weights and simplify CSS Daniel Rojas 2021-10-07 21:52:25 +02:00
  • a59f96aaa6 Apply suggestions from code review Daniel Rojas 2021-10-07 09:15:37 +02:00
  • aa9278da4b Apply suggestions from code review Daniel Rojas 2021-10-02 18:07:25 +02:00
  • b2a2770f7a Update smart_file_resolve() Daniel Rojas 2021-10-02 18:02:16 +02:00
  • 406bdd36f2 Use regex-based replacement Daniel Rojas 2021-09-28 21:22:50 +02:00
  • 02963101d0 Implement fontname and bgcolor(WIP) replacement Daniel Rojas 2021-09-28 21:08:37 +02:00
  • 5bed6de7ab Consolidate code for replacing HTML placeholders Daniel Rojas 2021-09-28 20:49:18 +02:00
  • 36195e1cbb Apply fontname and bgcolor to output HTML Daniel Rojas 2021-09-28 20:32:20 +02:00
  • 960f20e6ef Add type hint Daniel Rojas 2021-09-28 20:29:12 +02:00
  • 95defd07c0 Add template metadata to demo02.yml Daniel Rojas 2021-08-26 18:50:20 +02:00
  • eae2694b5d Implement template-based HTML output Daniel Rojas 2021-08-26 18:50:08 +02:00
  • 6b1e274d57 Refactor functions for harness building Daniel Rojas 2021-10-16 21:46:31 +02:00
  • 1799490bf2 Test additional component table (WIP) refactor/bom-refactor Daniel Rojas 2021-10-15 14:04:44 +02:00
  • 26b505120a Add option to hide BOM IDs Daniel Rojas 2021-10-15 09:50:54 +02:00
  • 262ea42caf Implement parent classes Daniel Rojas 2021-10-15 09:50:39 +02:00
  • d1d7a7ced8 Change namedtuples' typenames to match object type Daniel Rojas 2021-10-15 09:10:15 +02:00
  • c3d8666467 Edit tutorial08.yml for compatibility with refactored code Daniel Rojas 2021-10-14 22:44:19 +02:00
  • be307e4917 Assign BOM IDs to components before generating graphical output Daniel Rojas 2021-10-14 22:30:18 +02:00
  • a39104b51c Populate Harness.bom during creation of components Daniel Rojas 2021-10-14 21:27:38 +02:00
  • 884dca8a88 Implement .description and .bom_hash for all components Daniel Rojas 2021-10-14 20:19:44 +02:00
  • e8fc1d2212 Disable all calls to wv_bom.py and rename it to wv_bom_old.py Daniel Rojas 2021-10-14 18:54:21 +02:00
  • f0b63de3c7 Simplify code Daniel Rojas 2021-10-14 18:03:30 +02:00
  • 02a800abef Fix bug of arrows using the wrong port IDs Daniel Rojas 2021-10-14 18:03:18 +02:00
  • 50ea7f5771 Fix duplicates in syntax.md after rebase Daniel Rojas 2021-10-13 21:45:22 +02:00
  • db6f2da232 Move selected test files to examples directory Daniel Rojas 2021-09-23 17:07:06 +02:00
  • 9ccd55ef93 Update syntax description (autogeneration, arrows) Daniel Rojas 2021-09-23 17:02:17 +02:00
  • 2d701ee652 Resolve component level mate not revealing connection count Daniel Rojas 2021-09-23 16:52:21 +02:00
  • 2a62dae9ee Resolve edge case of empty HTML tables Daniel Rojas 2021-09-23 16:20:59 +02:00
  • 8ea8248721 Squash feature/mate+autogenerate branch Daniel Rojas 2020-10-22 18:12:36 +02:00