Added initial interface for the grapth.