Comment out BOM modes (WIP) and BOM bubbles
This commit is contained in:
parent
f88981c283
commit
bf3c7c99c2
@ -17,13 +17,14 @@ BomHash = namedtuple("BomHash", BOM_HASH_FIELDS)
|
||||
BomHashList = namedtuple("BomHashList", BOM_HASH_FIELDS)
|
||||
PartNumberInfo = namedtuple("PartNumberInfo", "pn manufacturer mpn supplier spn")
|
||||
|
||||
BomMode
|
||||
"normal" # no bubbles, full PN info in GV node
|
||||
"bubbles" # = "full" -> maximum info in GV node
|
||||
"hide PN info"
|
||||
"PN crossref" = "PN bubbles" + "hide PN info"
|
||||
"additionally: BOM table in GV graph label (#227)"
|
||||
"title block in GV graph label"
|
||||
# TODO: different BOM modes
|
||||
# BomMode
|
||||
# "normal" # no bubbles, full PN info in GV node
|
||||
# "bubbles" # = "full" -> maximum info in GV node
|
||||
# "hide PN info"
|
||||
# "PN crossref" = "PN bubbles" + "hide PN info"
|
||||
# "additionally: BOM table in GV graph label (#227)"
|
||||
# "title block in GV graph label"
|
||||
|
||||
|
||||
BomCategory = IntEnum( # to enforce ordering in BOM
|
||||
|
||||
@ -142,6 +142,8 @@ def bom_bubble(id) -> Table:
|
||||
if id is None:
|
||||
return None
|
||||
else:
|
||||
# TODO: activate BOM bubbles
|
||||
return None
|
||||
# size and style of BOM bubble is optimized to be a rounded square,
|
||||
# big enough to hold any two-digit ID without GraphViz warnings
|
||||
text = id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user