373 Commits

Author SHA1 Message Date
Daniel Rojas
347f7dbd56 Clean up arrow stuff 2020-11-15 20:22:54 +01:00
Daniel Rojas
7eccbe4809 Remove debugging output 2020-11-15 20:19:17 +01:00
Daniel Rojas
4c74a5cb01 Small fixes 2020-11-15 20:17:37 +01:00
Daniel Rojas
3ef376ecdf Simplify connectioncount check 2020-11-15 20:09:09 +01:00
Daniel Rojas
ec966cc278 Implement check for alternating connectors and cables/arrows 2020-11-15 19:55:42 +01:00
Daniel Rojas
39698a3d61 Add get_single_key_and_value() helper function 2020-11-15 17:45:22 +01:00
Daniel Rojas
81940469ac Add TODO re. missing connection count 2020-11-15 17:45:02 +01:00
Daniel Rojas
87cde3b21f Fix rebase error 2020-11-15 09:38:39 +01:00
Daniel Rojas
ecbc7d5b4e Move regex attribution to code comment 2020-11-15 09:04:35 +01:00
Daniel Rojas
259044ac84 Minor changes 2020-11-15 09:04:35 +01:00
Daniel Rojas
00df29aa57 Delete temp file 2020-11-15 09:04:35 +01:00
Daniel Rojas
d913bea14c Add test5.yml 2020-11-15 09:04:35 +01:00
Daniel Rojas
b589b68b8a Improve arrow regex 2020-11-15 09:04:35 +01:00
Daniel Rojas
19d44c32f9 Remove debugging print() lines 2020-11-15 09:04:35 +01:00
Daniel Rojas
29b38364b3 Re-enable double line despite bug 2020-11-15 09:04:35 +01:00
Daniel Rojas
9ddb3afe6e Remove obsolete attributes in examples 2020-11-15 09:04:35 +01:00
Daniel Rojas
fc58108de0 Re-enable image code in wireviz.py 2020-11-15 09:04:35 +01:00
Daniel Rojas
addb180292 Re-enable image in ex08.yml 2020-11-15 09:04:35 +01:00
Daniel Rojas
ea9a4e4c74 Update examples 2020-11-15 09:04:35 +01:00
Daniel Rojas
b89412aabe Fix typo 2020-11-15 09:04:35 +01:00
Daniel Rojas
2e5d58b103 Fix missing pin actiation 2020-11-15 09:04:35 +01:00
Daniel Rojas
caaaa38feb Restructure code 2020-11-15 09:04:35 +01:00
Daniel Rojas
9d0582e10c Comment out GraphViz bug 2020-11-15 09:03:28 +01:00
Daniel Rojas
2c78e46c77 Find arrows with RegEx 2020-11-15 09:03:28 +01:00
Daniel Rojas
37cedb960e Double arrows working 2020-11-15 09:03:02 +01:00
Daniel Rojas
82fcfbe71e Add YAML code for user-provided examples 2020-11-15 09:03:02 +01:00
Daniel Rojas
88176dbd98 Add .gitignore to test/ directory 2020-11-15 09:03:02 +01:00
Daniel Rojas
f985a7917c Remove unused code 2020-11-15 09:03:02 +01:00
Daniel Rojas
e62e08ac0e Single arrows work 2020-11-15 09:02:14 +01:00
Daniel Rojas
faa72df625 Update test file 2020-11-15 08:57:25 +01:00
Daniel Rojas
6686122e2a Fix but with connectioncount 2020-11-15 08:57:25 +01:00
Daniel Rojas
e94ff2c957 Adapt examples + tutorials 2020-11-15 08:57:25 +01:00
Daniel Rojas
b007c5a659 Remove unused code 2020-11-15 08:57:25 +01:00
Daniel Rojas
57cc55a0b4 Test file working 2020-11-15 08:57:25 +01:00
Daniel Rojas
ea05519a24 Remove unused code 2020-11-15 08:57:25 +01:00
Daniel Rojas
ef9f36f1b0 Component generation seems to work 2020-11-15 08:57:25 +01:00
Daniel Rojas
a50c7794c5 WIP: first working example of new . notation 2020-11-15 08:57:25 +01:00
Daniel Rojas
c6b2375e5c Comment out arrows in test file 2020-11-15 08:57:25 +01:00
Daniel Rojas
4e74aa2a9c Remove unused check_designators() function 2020-11-15 08:57:25 +01:00
Daniel Rojas
ef76d4e962 Add test file
This file will be deleted before merging into `dev`

Add `->` to example file

Amend test file

Expand some connector names, include X4 as a connector that does not use
auto-generation

Set WIRE to use auto-generated designator
2020-11-15 08:57:25 +01:00
Daniel Rojas
96bd121403 Create separate modules for BOM and HTML functions 2020-11-15 08:42:57 +01:00
Daniel Rojas
eebf932c8d Show pin labels of adjacent connectors in cable node (#70) 2020-11-14 23:21:08 +01:00
Daniel Rojas
3bf448c692 Update example 08 to reference wires using colors 2020-11-14 23:21:08 +01:00
Daniel Rojas
03e6077512 Allow referencing wires by color/label (#169,#193) 2020-11-14 23:21:08 +01:00
Daniel Rojas
feff47f47b
Add option to add colors to connector pins (#141) 2020-11-14 09:43:01 +01:00
KV
64bd34a7c6 Add type aliases that reflect their semantics
Using Any or str in type annotations might increase the need for extra
comments to explain the real valid values. However, such needs can be
drastically reduced with the help of semanticly named type aliases.

Each type alias have their legal values described in comments.
Actual validation might be implemented in the future.
2020-11-01 15:26:11 +01:00
KV
3f091bb419 Update the types of dataclass attributes according to usage
Fixes #156
2020-11-01 15:26:11 +01:00
Miklos Marton
e2e8bbfb91 Remove input text hyperlinks except in the HTML BOM
GraphViz does not support the a HTML tag when generating the tables for the
cables/connectors, so this change will remove these tags for the graph generation.
However for the HTML BOM output table these links will be generated.
2020-10-22 23:08:13 +02:00
Tyler Ward
e85ee5d285
Allow addittional BOM items within components (#115) 2020-10-22 17:53:33 +02:00
Daniel Rojas
4e4dac8597 Bump version to 0.3-dev 2020-10-17 11:53:11 +02:00