Convert style dict to DrawIO style string.
(**attrs: Any)
| 16 | |
| 17 | |
| 18 | def build_style_string(**attrs: Any) -> str: |
| 19 | """Convert style dict to DrawIO style string.""" |
| 20 | return ";".join(f"{k}={v}" for k, v in attrs.items() if v is not None) |
| 21 | |
| 22 | |
| 23 | def get_drawio_style(element_type: str, **overrides: Any) -> str: |