drop proactive + analysis

This commit is contained in:
2023-08-18 22:35:48 -04:00
parent 70a2d7da51
commit f3f50accaa
34 changed files with 20785 additions and 8284 deletions

View File

@@ -30,6 +30,8 @@ G_bom_str = pd.read_sql(
G_bom = nx.adjacency_graph(json.loads(G_bom_str))
pos = nx.nx_agraph.graphviz_layout(G_bom, prog="twopi", args="")
node_labels = nx.get_node_attributes(G_bom, 'Name')
# rename node 1
node_labels['1'] = '解决方案'
plt.figure(figsize=(12, 12), dpi=300)
nx.draw_networkx_nodes(G_bom, pos)
nx.draw_networkx_edges(G_bom, pos)