load vertices & edges