Commit 4de7cc31 authored by 张晓彤's avatar 张晓彤

二次调度测试demo

parent bbbfd63c
from path_plan.topo_graph import *
import networkx as nx
import matplotlib.pyplot as plt
topo = Topo()
topo.generate_topo_graph()
load_G = topo.get_load_G()
pos = nx.shell_layout(load_G)
nx.draw(load_G, pos, with_labels=True, node_color='red', edge_color='blue', font_size=18, width=5, node_size=600,
alpha=0.5)
plt.show()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment