That is the point of diagrams as code. You focus on the semantics, not on what it will look like and you let the tool decide for you.