Skip to content

Commit

Permalink
Add PN string in gv_additional_component_table()
Browse files Browse the repository at this point in the history
  • Loading branch information
kvid committed Oct 11, 2023
1 parent 4238a8a commit 8cd76eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wireviz/wv_graphviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ def gv_additional_component_table(component):
rows.append(Tr(firstline))

if subitem.has_pn_info:
pn_list = partnumbers2list(subitem.partnumbers)
secondline = [
Td("", colspan=3),
Td(f"# TODO PN string", align="left"), # TODO
Td(", ".join(pn for pn in pn_list if pn), align="left"),
Td(""),
]
rows.append(Tr(secondline))
Expand Down

0 comments on commit 8cd76eb

Please sign in to comment.