graph model
graph model finished, +degree matrix IO