labels to frames
filename is taken from diagram with start node