I am using the Syside CLI to generate SVG diagrams from a SysML v2 model, for example:
syside viz element ./ \
-n "'Model Electronics Basic'::Parts::circuit" \
-r tree \
-v interconnection \
-o _viz_Test.svg
I understand that some visualization defaults can be configured in syside.toml, such as render_style, default view kind, theme, and zoom level.
What I would like to know is whether syside.toml also supports more detailed routing or layout configuration options, for example:
orthogonal / Manhattan-style connector routing
avoiding overlapping connections
controlling edge spacing
controlling node spacing
choosing port-side placement for connections
improving layout for interconnection diagrams
Is there an official list of supported syside.toml keys for diagram layout and routing?
If detailed routing is not configurable through syside.toml, what is the recommended way to influence diagram layout when using syside viz element or syside viz view?
where <NAME> is any user defined name (blueish, emphasis), members is a list of SysML types, and values are hexadecimal + transparency color values (#RRGGBBAA).
I have been able to configure some of the default behavior, especially regarding the “heritage edges”, which results in a much cleaner visualization. I have the bad habit of having definitions in the same package as usages.
At first, some of the configuration parameters were not doing anything, and then I realized that my viz command was overriding some of the parameters defined in the .toml configuration file. So I changed it to:
syside viz element ./ \
-n "'Model Electronics Basic'::Parts::circuit" \
--config _viz_syside.toml \
-o _viz_Test.svg
Many thanks for the clear explanation. I’ll be looking forward to more layout/routing functionality.