mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 04:13:33 +01:00
Correct graphiz format
This commit is contained in:
parent
590a1ceef5
commit
99848583ea
@ -57,10 +57,10 @@ def main():
|
||||
if command_line.do_graph:
|
||||
comm_world.t_filename_parsed_text # Initialize entity need. Dirty I know.
|
||||
|
||||
print 'graph { '
|
||||
print 'digraph { '
|
||||
for name,entity in comm_world.d_entity.items():
|
||||
if entity.needs:
|
||||
print ' {0} -> {1}'.format(name, ' '.join(entity.needs))
|
||||
print ' %s -> { %s } ' % (name, ' ; '.join(entity.needs))
|
||||
print '}'
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user