forked from OpenSDV/Linux_Kernel_map4vehicle
+dot_expand
This commit is contained in:
parent
83e17d2ee2
commit
bdefbe2f24
|
@ -821,6 +821,13 @@ def stats(a):
|
||||||
pprint(dict(stat))
|
pprint(dict(stat))
|
||||||
|
|
||||||
|
|
||||||
|
def dot_expand(a, b):
|
||||||
|
a = to_dg(a)
|
||||||
|
b = to_dg(b)
|
||||||
|
a.add_edges_from(list(b.out_edges(b.nbunch_iter(a.nodes()))))
|
||||||
|
return a
|
||||||
|
|
||||||
|
|
||||||
me = os.path.basename(sys.argv[0])
|
me = os.path.basename(sys.argv[0])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue