templates for elements from logical diagram
initial method for generation of arrow code
names of edges as names for innerswitch cases
some problems with generator