Added ccNum, preVisit, postVisit and edgeType funcs