aboutsummaryrefslogtreecommitdiff
path: root/def_SPACE.py
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-20 11:53:10 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-20 11:53:10 +0200
commit4786783eef1708c19a25b69851047298986ef89c (patch)
treed256634b78946721d7e8c757b55a2be6464c90c7 /def_SPACE.py
parentec52b757b6290ad18c2842d7e784832a383bcd25 (diff)
declare complex diagram as keyword argument
Diffstat (limited to 'def_SPACE.py')
-rwxr-xr-xdef_SPACE.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/def_SPACE.py b/def_SPACE.py
index 9a6353b..102f6f4 100755
--- a/def_SPACE.py
+++ b/def_SPACE.py
@@ -7,8 +7,7 @@ from os.path import basename, splitext
from railroad import *
Diagram(
- Start("complex"),
"' '",
- End("complex")
+ type="complex"
).writeStandalone(
open(splitext(basename(__file__))[0] + ".svg", "w").write)