without + with experiment 20230821

This commit is contained in:
2023-08-22 09:04:34 -04:00
parent f3f50accaa
commit 1d66d8bb4e
28 changed files with 231 additions and 150 deletions

View File

@@ -120,6 +120,8 @@ for _, row in count_dcp_prod.iterrows():
# dcp_networkx
pos = nx.nx_agraph.graphviz_layout(g_bom, prog="dot", args="")
node_labels = nx.get_node_attributes(g_bom, 'Name')
# rename node 1
node_labels['1'] = '解决方案'
temp = {}
for key, value in node_labels.items():
temp[key] = key + " " + value