Graph invariants