标签: python graph-tool
我通过graph-tool库创建了两个图表:
graph-tool
g1 = graph(directed=False) g2 = graph(directed=False) g3 = graph(directed=False)
然后:
ug = graph_union(g1, g2) ug = graph_union(ug, g3)
如果我想在g3中屏蔽g2和ug,该怎么办?
g3
g2
ug