C++ program to generate an activity flow diagram

Is it possible to write a C plus plus or java program to draw an activity flow diagram given the sequence as a text file input and save the diagram in an output file?

Note : I don't want the diagram to come on a screen or in the terminal , I wish to save the diagram and use it for other purposes .

Thanks for the help in advance
Topic archived. No new replies allowed.