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