Go to the documentation of this file.00001
00002
00003
00004
00005
00006 from concert_utilities.conductor_graph import ConductorStateDotcodeGenerator
00007 from concert_conductor import StateTransitionTable
00008 from qt_dotgraph.pydotfactory import PydotFactory
00009
00010 if __name__ == '__main__':
00011
00012 dotcode_factory = PydotFactory()
00013
00014 csdg = ConductorStateDotcodeGenerator(dotcode_factory)
00015 dotgraph = csdg.generate_dotgraph(StateTransitionTable)
00016
00017 dotgraph.write_png('state_graph.png')