getEffectiveStyle method
Gets the effective connection style for rendering.
Returns the instance-specific style if set, otherwise falls back to
the provided themeStyle from the theme.
Parameters:
themeStyle: The default style from the theme
Returns: The style to use for rendering this connection
Implementation
ConnectionStyle getEffectiveStyle(ConnectionStyle themeStyle) {
return style ?? themeStyle;
}