Modeling the instantaneous kinematics of lower pair linkages using joint screws and the finite kinematics with Lie group concepts is well established on a solid theoretical foundation. This allows for modeling the forward kinematics of mechanisms as well the loop closure constraints of kinematic loops. Yet there is no established approach to the modeling of complex mechanisms possessing multiple kinematic loops. For such mechanisms, it is crucial to incorporate the kinematic topology within the modeling in a consistent and systematic way. To this end, in this paper a kinematic model graph is introduced that gives rise to an ordering of the joints within a mechanism and thus allows to systematically apply established kinematics formulations. It naturally gives rise to topologically independent loops and thus to loop closure constraints. Geometric constraints as well as velocity and acceleration constraints are formulated in terms of joint screws. An extension to higher order loop constraints is presented. It is briefly discussed how the topology representation can be used to amend structural mobility criteria.