Definition 4.2 (Cone, limit). Let D:J→C be a diagram. A cone over D consists of an object A (its apex) together with morphisms λj:A→D(j) for each j∈ob⁡J (the legs of the cone) such that

            A

                        ′
λλDjj(′αD)(j)              D (j )
commutes for each α:j→j′ in J.

A morphism of cones (A,(λj|j∈ob⁡J))→(B,(μj|j∈ob⁡J)) is a morphism f:A→B such that μjf=λj for all j. We have a category Cone(D) of cones over D; a limit for D is a terminal object of Cone(D).

Dually, a colimit for D is an initial cone under D.