Created basic access and modifiers methods for graphs

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com>