Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing Jumpers and Loops, Plus Processing Wires inside the Table as Edges #369

Draft
wants to merge 32 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
465aefa
Added Dark Circles
tobiasfalk May 30, 2024
a015da5
Added dashed lines
tobiasfalk May 30, 2024
8c97c5d
Made line from dashed to solid bold
tobiasfalk Jun 1, 2024
ee5b292
Added Documentaion
tobiasfalk Jun 2, 2024
f49921b
Added more options for shorts
tobiasfalk Jun 5, 2024
02fcc68
more to added more options
tobiasfalk Jun 8, 2024
be801c3
Added type for shorts(loop or internal), see ex16
tobiasfalk Jun 8, 2024
11e4611
Added Bom entrys and removed grapgh bom
tobiasfalk Jun 9, 2024
cd1f489
add synrax description
tobiasfalk Jun 9, 2024
0801d7b
Updated Syntax to make the shorts as Aditional Component
tobiasfalk Jun 14, 2024
1b90104
fix multicoolr Straitening
tobiasfalk Jun 16, 2024
b5aa1c2
Changed AddComp shorts to references and added the designators to the…
tobiasfalk Jun 16, 2024
c00d942
removed comments from examples
tobiasfalk Jun 16, 2024
d172407
Delete ex15.tmp
tobiasfalk Jun 16, 2024
5260faa
Added executable chack
tobiasfalk Jun 16, 2024
3aa2296
Delete tutorial01
tobiasfalk Jun 16, 2024
6610f51
Implemened Proposal #352
tobiasfalk Jun 16, 2024
e9297cd
Delete .~lock.ex16.bom.tsv#
tobiasfalk Jun 16, 2024
63319a9
Update .gitignore
tobiasfalk Jun 16, 2024
ca20661
Update .gitignore
tobiasfalk Jun 16, 2024
defeda7
Added Syntax description and comments to examples
tobiasfalk Jun 16, 2024
6d40f5b
disable mini_bom again
tobiasfalk Jun 16, 2024
d550603
Add fix for overcsiced loops
tobiasfalk Jun 16, 2024
39251f5
Add fix for overcsiced loops, try 2
tobiasfalk Jun 17, 2024
e0ae9be
Added some Graphviz Magic for drawing Dots at the end of straight lines
tobiasfalk Jun 18, 2024
2680a12
Clean up and some checks
tobiasfalk Jun 18, 2024
0f5c612
re run the examplse
tobiasfalk Jun 18, 2024
fa034c5
added a copy for the pin2pin file and a message on how to use
tobiasfalk Jun 19, 2024
9e54d02
Added tutorial09 for shorts and loops
tobiasfalk Jun 19, 2024
e0dd2c1
Cleand up and added comends, description in the readme
tobiasfalk Jun 19, 2024
6ba3f25
changed color code of ex15, for testing of the edge inside of the table
tobiasfalk Jun 19, 2024
f0b242d
rerun examples
tobiasfalk Jun 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ venv/
desktop.ini
thumbs.db
temp/
.~lock
#
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ To see how to specify the output formats, as well as additional options, run:
$ wireviz --help
```

For using the .gv output one needs to use the following command:

```
dot <filename>.gv | gvpr -q -cf <filename>_pin2pin.gvpr | neato -n2 -T<type> -o <filename>.<type>
```


### (Re-)Building the example projects

Expand Down
21 changes: 19 additions & 2 deletions docs/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,18 @@ tweak: # optional tweaking of .gv output
hide_disconnected_pins: <bool> # defaults to false

# loops
loops: <List> # every list item is itself a list of exactly two pins
# on the connector that are to be shorted
loops: # a list(dict) of loops
- <str>: <List> # every list item is itself a list of pins
# on the connector that are to be shorted with a cable loop
# more information about the loop can be added by additional
# components definition (see below)
# Shorts
shorts: # a list(dict) of shorts
- <str>: <List> # every list item is itself a list of pins
# on the connector that are to be shorted represented inside
# the connector table
# more information about the loop can be added by additional
# components definition (see below)
```

## Cable attributes
Expand Down Expand Up @@ -421,6 +431,13 @@ Parts can be added to a connector or cable in the section `<additional-component
supplier: <str> # supplier name
spn: <str> # supplier part number
bgcolor: <color> # Background color of entry in diagram component box

references: <list> # A list of designators that are related to this
# component, for example shorts or loops

# Shorts and Loops specific attributs
color: <color> # if a reference to a short or loop is defined than
# this color is used for the short or loop
```

Alternatively items can be added to just the BOM by putting them in the section `<bom-item>` above.
Expand Down
22 changes: 11 additions & 11 deletions examples/demo01.gv

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading