etolbakov / excalidocker-rs

Convert your docker-compose into excalidraw
MIT License
124 stars 6 forks source link

Improve layout for ports #29

Open etolbakov opened 1 year ago

etolbakov commented 1 year ago

When a docker image exposes several ports the layout has issues.

  minio:
    image: minio/minio
    container_name: minio
    ports:
      - "9000:9000"
      - "9001:9001"
      - "9044:9044"
      - "9055:9055"

It affects all 3 alignment modes (vertical, horizontal, stepped. Might need to consider a totally different way of drawing ports

image003 image002 image001

https://github.com/etolbakov/excalidocker-rs/issues/20

etolbakov commented 1 year ago

Vertical layout regressed after the recent refactoring

Screenshot 2023-07-02 at 21 09 04
etolbakov commented 1 year ago

https://github.com/etolbakov/excalidocker-rs/pull/30/commits/9db8526fa3b1835ba89101ae638744c96b64e289 should address the above