API Reference
Class
FlowArtifactRendering
Provides static preview rendering helpers for flow artifacts.
Inheritance
- Object
- FlowArtifactRendering
Methods
ToHtmlPage(ChartForgeX.VisualArtifacts.FlowArtifact flow) #Renders a flow artifact static preview to a standalone HTML page.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
HTML markup.
ToPng(ChartForgeX.VisualArtifacts.FlowArtifact flow) #Renders a flow artifact static preview to PNG.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
PNG bytes.
ToSvg(ChartForgeX.VisualArtifacts.FlowArtifact flow) #Renders a flow artifact static preview to SVG.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
SVG markup.
ToTopologyChart(ChartForgeX.VisualArtifacts.FlowArtifact flow) #Converts a flow artifact into a topology chart for deterministic static previews.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
A topology chart preview model.
ToVisualArtifact(ChartForgeX.VisualArtifacts.FlowArtifact flow, ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage sourceLanguage) #Wraps a flow artifact in a product-neutral visual artifact envelope.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
- sourceLanguage ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage
- The source language that produced the flow.
Returns
A visual artifact envelope.