2015-04-03 48 views
1
G = DiGraph(A, format='weighted_adjacency_matrix') 
G.relabel([1..10],inplace=True) 

H = G.plot(edge_labels=False, graph_border=True) 
H.show() 

是否可以通过此图表突出显示某条路线?即让一些线条变成不同的颜色,比如红色?使用Sage的图形

回答