forked from OpenSDV/Linux_Kernel_map4vehicle
*clusters
This commit is contained in:
parent
045d204b3d
commit
b85fc5b24f
11
srcxray.py
11
srcxray.py
|
@ -1271,12 +1271,11 @@ def doxygen_xml_files(a):
|
||||||
n = file + '::' + n
|
n = file + '::' + n
|
||||||
files[file].append(n)
|
files[file].append(n)
|
||||||
if not clusters.get(file):
|
if not clusters.get(file):
|
||||||
clusters[file] = g.subgraph(
|
with g.subgraph(
|
||||||
name='cluster_' + file.replace('.', '_8'))
|
name='cluster_' + file.replace('.', '_8')) as c:
|
||||||
clusters[file].graph.attr(
|
clusters[file] = c
|
||||||
'graph', label=file, fontsize="50")
|
c.attr('graph', label=file, fontsize="50")
|
||||||
with clusters[file] as c:
|
clusters[file].node(n)
|
||||||
c.node(n)
|
|
||||||
for r in m.getElementsByTagName("references"):
|
for r in m.getElementsByTagName("references"):
|
||||||
edges.append((n, r.firstChild.data))
|
edges.append((n, r.firstChild.data))
|
||||||
for r in m.getElementsByTagName("ref"):
|
for r in m.getElementsByTagName("ref"):
|
||||||
|
|
Loading…
Reference in New Issue