Initial version for loading graph