lsgm/doc.py

14 lines
247 B
Python
Raw Normal View History

2023-09-30 12:46:03 +00:00
import os
import subprocess
if __name__ == '__main__':
root = os.path.dirname(__file__)
file = os.path.join(root, 'todo')
subprocess.run([
'dot',
f'{file}.gv',
'-T', 'svg',
'-o', f'{file}.svg',
])