summaryrefslogtreecommitdiff
path: root/controller/fw/tools/linkmem.py
diff options
context:
space:
mode:
Diffstat (limited to 'controller/fw/tools/linkmem.py')
-rw-r--r--controller/fw/tools/linkmem.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/controller/fw/tools/linkmem.py b/controller/fw/tools/linkmem.py
index fbd6dde..934a571 100644
--- a/controller/fw/tools/linkmem.py
+++ b/controller/fw/tools/linkmem.py
@@ -230,8 +230,13 @@ if __name__ == '__main__':
return '#ddf7f4', None
with wrap('digraph G', print) as lvl1print:
+ print('size="23.4,16.5!";')
+ print('graph [fontsize=40];')
+ print('node [fontsize=40];')
+ #print('ratio="fill";')
+
print('rankdir=LR;')
- print('ranksep=1;')
+ print('ranksep=5;')
print('nodesep=0.2;')
print()
@@ -242,7 +247,7 @@ if __name__ == '__main__':
print(f'bgcolor = "{highlight_color}";')
print('pencolor = none;')
fc, cc = vhex(objs[obj]/max_osize)
- highlight_subdir_part = f'<font face="carlito" color="{cc}" point-size="12">{highlight_head} / </font>' if highlight_head else ''
+ highlight_subdir_part = f'<font face="carlito" color="{cc}" point-size="40">{highlight_head} / </font>' if highlight_head else ''
lvl2print(f'label = <<table border="0"><tr><td border="0" cellpadding="5" bgcolor="{fc}">'
f'{highlight_subdir_part}'
f'<font face="carlito" color="{cc}"><b>{path.basename(obj)} ({objs[obj]}B)</b></font>'