Zigbee topologies

Hi, i have Connectport x4 and and a few Zigbee RF modules. By changing the firmware i can change the role of the module in the network (coordinator, router, end device). But can i set up / define the network topology ?