Hydrogels are often synthesized through photoinitiated step-, chain-, and mixed-mode polymerizations, generating diverse network topologies and resultant material properties that depend on the underlying network connectivity. While many photocrosslinking reactions are available, few afford controllable connectivity of the hydrogel network. Herein, a versatile photochemical strategy is introduced for tuning the structure of poly(ethylene glycol) (PEG) hydrogels using macromolecular monomers functionalized with maleimide and styrene moieties. Hydrogels are prepared along a gradient of topologies by varying the ratio of step-growth (maleimide dimerization) to chain-growth (maleimide-styrene alternating copolymerization) network-forming reactions. The initial PEG content and final network physical properties (e.g., modulus, swelling, diffusivity) are tailored in an independent manner, highlighting configurable gel mechanics and reactivity. These photochemical reactions allow high-fidelity photopatterning and 3D printing and are compatible with 2D and 3D cell culture. Ultimately, this photopolymer chemistry allows facile control over network connectivity to achieve adjustable material properties for broad applications.