API Reference
Class
FlowArtifactRendering
Provides static preview rendering helpers for flow artifacts.
Inheritance
- Object
- FlowArtifactRendering
Methods
public static String ToHtmlPage(FlowArtifact flow) #Returns:
StringRenders a flow artifact static preview to a standalone HTML page.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
HTML markup.
public static Byte[] ToPng(FlowArtifact flow) #Returns:
Byte[]Renders a flow artifact static preview to PNG.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
PNG bytes.
public static String ToSvg(FlowArtifact flow) #Returns:
StringRenders a flow artifact static preview to SVG.
Parameters
- flow ChartForgeX.VisualArtifacts.FlowArtifact
- The flow artifact.
Returns
SVG markup.
public static TopologyChart ToTopologyChart(FlowArtifact flow) #Returns:
TopologyChartConverts 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.
public static VisualArtifact ToVisualArtifact(FlowArtifact flow, VisualArtifactSourceLanguage sourceLanguage = Native) #Returns:
VisualArtifactWraps 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.
Returns
A visual artifact envelope.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?