1. A non-transitory computer readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors, cause the one or more processors to: provide, for display, a graphical model representing a modeled system, the graphical model comprising a plurality of elements, the plurality of elements including an originating block and a terminating block, and the originating block being located on a different hierarchical layer of the graphical model than the terminating block, receive a request to connect the originating block to the terminating block, use, based on the request, an algorithm to: identify a first potential routing path, the first potential routing path: starting at the originating block, and ending at the terminating block, and identify a second potential routing path, the second potential routing path: starting at the originating block, and ending at the terminating block, attribute a first value to one or more first particular elements, of the plurality of elements, that are within the first potential routing path based on one or more weights associated with the one or more first particular elements, attribute a second value to one or more second particular elements, of the plurality of elements, that are within the second potential routing path based on one or more weights associated with the one or more second particular elements, identify a routing path, of the first potential routing path and the second potential routing path, based on the first value and the second value, the routing path being configured to connect the originating block with the terminating block, and connect, in the graphical model, the originating block with the terminating block via the routing path.