Added the nodes and edges in the graph based on the trace log generated [main changes in write_graphml_output.py]

Signed-off-by: Herbert Rocha <herberthb12@gmail.com>