Updated types
This commit is contained in:
parent
24119609b3
commit
93b602a0eb
3 changed files with 18 additions and 71 deletions
|
|
@ -29,8 +29,8 @@ class DevState(PyState):
|
|||
for n in sorted(self.nodes):
|
||||
if n in self.values:
|
||||
x = self.values[n]
|
||||
if isinstance(x, dict):
|
||||
x = f"{x.get('type')}"
|
||||
if isinstance(x, tuple):
|
||||
x = f"{x[0]}"
|
||||
else:
|
||||
x = repr(x)
|
||||
f.write("\"a_%s\" [label=\"%s\"];\n" % (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue