How can I change the layout direction of a diagram in Enterprise Architect via C# to get the same result as displayed in the picture:

How can I change the layout direction of a diagram in Enterprise Architect via C# to get the same result as displayed in the picture:

Copyright © 2021 Jogjafile Inc.
You need to set
t_diagram.StyleExso it containsd=<n>;where<n>is(see also my Inside EA book in p. 61)