adds id to Arc
adds some defualt calculation for Graph