Large improvement of contracts graph. Added graphs to entitie summary.