Create the topology.