Table of Contents

Class ExportSvgAction

Namespace
NMF.Glsp.Protocol.ModelData
Assembly
NMF.Glsp.dll

The client sends an ExportSvgAction to indicate that the diagram, which represents the current model state, should be exported in SVG format. The action only provides the diagram SVG as plain string. The expected result of executing an ExportSvgAction is a new file in SVG-format on the underlying filesystem. However, other details like the target destination, concrete file name, file extension etc. are not specified in the protocol. So it is the responsibility of the action handler to process this information accordingly and export the result to the underlying filesystem.

public class ExportSvgAction : ResponseAction
Inheritance
ExportSvgAction
Inherited Members

Fields

ExportSvgActionKind

The kind value used for this kind of action

public const string ExportSvgActionKind = "exportSvg"

Field Value

string

Properties

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

Svg

The diagram GModel as serializable SVG.

public string Svg { get; set; }

Property Value

string