Create abstract Graph interface.