cs378-graph