I was provided with a script to organize the models I use in Medini (attached). I have since enhanced it so that it can handle any number of components and subcomponents within a model, and so that it arranges them in a more grid-like layout by limiting each row to three components. I would now like to extend the script further with the following capabilities:
- Color-code elements based on their names
- Distribute ports more evenly so they are not clustered together
- Allow interfaces to be repositioned manually