i need to create a file with .graphML extension, The file will have a header and footer so the execution is like
output file contains:
header
generated nodes list
generated edge list
footer
the header and footer are available in text file or it can also be hardcoded the code needs to generate the nodes and edges getting input from the user recursively
any suggestions?