Class
FlowArtifactRendering
ChartForgeX.VisualArtifacts
Provides static preview rendering helpers for flow artifacts.
Inheritance
- object
- FlowArtifactRendering
Methods
public static string ToHtmlPage(FlowArtifact flow) #Renders a flow artifact static preview to a standalone HTML page.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
string HTML markup.public static byte[] ToPng(FlowArtifact flow) #Renders a flow artifact static preview to PNG.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
byte[] PNG bytes.public static string ToSvg(FlowArtifact flow) #Renders a flow artifact static preview to SVG.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
string SVG markup.public static TopologyChart ToTopologyChart(FlowArtifact flow) #Converts a flow artifact into a topology chart for deterministic static previews.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
public static VisualArtifact ToVisualArtifact(FlowArtifact flow, VisualArtifactSourceLanguage sourceLanguage = Native) #Wraps a flow artifact in a product-neutral visual artifact envelope.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
- sourceLanguage ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage = Native
- The source language that produced the flow.