example code to be added soon, see ?frames_graph for details.