Network.write_single_line_diagram_svg(container_id, svg_file, metadata_file=None, parameters=None)[source]#

Create a single line diagram in SVG format from a voltage level or a substation and write to a file.

  • container_id (str) – a voltage level id or a substation id

  • svg_file (Union[str, PathLike]) – a svg file path

  • metadata_file (Optional[Union[str, PathLike]]) – a json metadata file path

  • parameters (Optional[SldParameters]) – single-line diagram parameters to adjust the rendering of the diagram

Return type: