307 Commits

Author SHA1 Message Date
Jason R. Jones
3009a1725d Better document string 2020-07-24 10:16:45 -04:00
Jason R. Jones
028f295331 Updating setup.py to include click 2020-07-24 09:58:01 -04:00
Jason R. Jones
4fe84b4926 Remove unused dependency 2020-07-24 09:50:42 -04:00
Jason R. Jones
54da2f2d37 Add click to make CLI easier 2020-07-24 09:49:19 -04:00
Jason R. Jones
379a4cfb44 Merge branch 'dev' of github.com:slightlynybbled/WireViz into dev 2020-07-24 07:05:13 -04:00
Daniel Rojas
f2f654854a Update README.md
Denote that WireViz reads and writes files in UTF-8 (or UTF-8 compatible) encodings, to disclaim against non UTF-8 input files.
2020-07-21 22:29:38 +02:00
Daniel Rojas
a69fc76651 Rebuild examples 2020-07-21 22:08:25 +02:00
Daniel Rojas
2a963bfef6 Update example input files 2020-07-21 22:01:10 +02:00
Daniel Rojas
a1881eb49d Rename connector attributes (#77)
Rename `pinnumbers` to `pins`.
Rename `pinout` to `pinlabels`.
2020-07-21 22:01:10 +02:00
Daniel Rojas
6468c0e2a5 Change code for silver and gold
Change to SR and GD to match the [standard](https://en.wikipedia.org/wiki/Electronic_color_code#Color_band_system)
2020-07-21 21:34:48 +02:00
Daniel Rojas
a632dc6cb8 Fix HTML color code appearing in wire node
...when no color is specified.
2020-07-20 15:46:18 +02:00
Daniel Rojas
b028e7a22b
Fix node rendering for cables with hidden name and/or no visible attributes (#104)
Closes #69.
2020-07-20 14:24:39 +02:00
Jason
a418005c2e
Fix superscript 2 in HTML output (#95)
Change `<sup></sup>` to `&sup2;`
2020-07-20 13:19:04 +02:00
Daniel Rojas
a8b2dc3572 Add new colors (olive green, light blue, beige, ivory)
This might be useful for some more exotic [ferrule colors](https://de.wikipedia.org/wiki/Aderendh%C3%BClse#Farbliche_Markierung)
2020-07-20 13:02:16 +02:00
Jason R. Jones
665d795a82 Merge branch 'master' of github.com:slightlynybbled/WireViz into dev 2020-07-20 06:46:51 -04:00
Jason R. Jones
5a7bc7399b Removing '\\n' character, as requested. 2020-07-20 06:46:24 -04:00
Daniel Rojas
8f833d9da5 Rebuild examples 2020-07-20 08:21:54 +02:00
Daniel Rojas
afbd11ccd4 Update example input files 2020-07-20 08:21:54 +02:00
Daniel Rojas
831b423c03 Eliminate ferrule category, unify connectors (#78) 2020-07-20 08:21:54 +02:00
Daniel Rojas
cae16bf440 Build examples in the correct order 2020-07-19 23:20:55 +02:00
Daniel Rojas
0da4441678 Rebuild examples 2020-07-19 19:05:35 +02:00
Daniel Rojas
601532b765 Update changelog 2020-07-19 19:03:07 +02:00
Daniel Rojas
8cba79334c Disable color padding for cables with no multicolor wires 2020-07-19 19:03:07 +02:00
Daniel Rojas
3732597ded Fine-tune multicolor wire PR
- Remove modified background color -> should be discusses as a separate feature
- Render shields as thin tinned wire with black border, safer for b&w priting than single light-gray line
- Remove PE as color definition, since it is not, and should be called with GNYE
- Clean up minor things
2020-07-19 19:03:07 +02:00
Andrew Katz
c94d3eed0e Add example outputs to GH Actions
Fixup github actions
2020-07-19 19:03:07 +02:00
Andrew Katz
063789948a Update .gitignore 2020-07-19 19:03:07 +02:00
Andrew Katz
ea948a247f Change colors as per #17 review 2020-07-19 19:03:07 +02:00
Andrew Katz
318b6c68cc Update readme and requirements 2020-07-19 19:03:07 +02:00
Andrew Katz
fecf27165f Fix unicode issue for windows (force an encoding) 2020-07-19 19:03:07 +02:00
Andrew Katz
b147aa0eb1 Finish adding multicolor support 2020-07-19 18:59:34 +02:00
Andrew Katz
07bb3f681a Add new color definitions 2020-07-19 18:59:34 +02:00
KV
1c0c13bb52 Add DOCTYPE declaration in HTML output 2020-07-18 13:18:31 +02:00
KV
b5ac632da9 Remove XML and DOCTYPE declarations from embedded SVG 2020-07-18 13:18:31 +02:00
Jason R. Jones
be10908a5d Change '<sup></sup>' to '&sup2;' 2020-07-17 06:17:40 -04:00
Andrew Katz
861380ddd6 Update build_examples
build_examples supports cleaning examples and intelligently will detect new examples.

SUGGESTION: When merging into dev, require
```
build_examples.py clean
```

and then only build when merging into master branch
2020-07-16 19:46:39 +02:00
Jason R. Jones
35fcd112ed Translate encountered instances of "\n" to "<br>" within the html-generated BOM. 2020-07-16 13:06:20 -04:00
Jason R. Jones
83929a1195 Fix utf-8 encoding problem in BOM portion of HTML files. 2020-07-16 12:31:41 -04:00
Jason R. Jones
8c33b9f954 Merge branch 'dev' of github.com:slightlynybbled/WireViz into dev 2020-07-16 12:30:12 -04:00
Jason
d1b48861ec Add initial contribution guidelines 2020-07-15 20:26:23 +02:00
Jason
8f6b8a7e84 Add initial contribution guidelines 2020-07-15 20:25:15 +02:00
Daniel Rojas
11baf0f507 Move part number info directly below designator
(to be consistent with the changes proposed in #11)
2020-07-15 20:06:31 +02:00
Daniel Rojas
6c7d700a1f Remove obsolete nesting function, fine-tune table generating behavior 2020-07-15 20:06:31 +02:00
Daniel Rojas
7e54c7aaef Refactor connector GraphViz code generation (#66) 2020-07-15 20:04:58 +02:00
Jason
12d3002af8
Add type hinting (#92) 2020-07-15 19:30:23 +02:00
Jason R. Jones
38938fc5a3 Fix type hinting 2020-07-15 13:25:01 -04:00
KV
ba8b83f792 Make multi-line connector attributes centered for consistency 2020-07-15 19:16:24 +02:00
Jason R. Jones
83b1c9b5c3 Add type hinting in several, but not all, places. 2020-07-15 06:44:33 -04:00
Jason
34cd9c2612
Match parse() return tuple order to input tuple order (#89)
Fixes #88.
2020-07-15 08:07:15 +02:00
Jason
c8dc697845
Add ability for parse() to return the Harness instance (#87) 2020-07-14 22:01:00 +02:00
Jason R. Jones
9de33b49bd Make file output more consistently behaved. 2020-07-13 19:58:23 +02:00