Added some code that will be the base for Dynamic Graphs