API Reference
TopologyChartExtensions
Provides convenience rendering and export methods for topology charts.
Inheritance
- Object
- TopologyChartExtensions
Methods
public static TopologyChart AddArtworkNode(TopologyChart chart, String id, String label, TopologyIconArtwork artwork, Double x, Double y, TopologyNodeKind kind = Generic, TopologyHealthStatus status = Unknown, String? groupId = null, String? subtitle = null, String? href = null, String? tooltip = null, Double width = 120, Double height = 64, String? symbol = null, String? cssClass = null, String? color = null, String? backgroundColor = null, TopologyNodeDisplayMode displayMode = Artwork) #TopologyChartAdds a positioned node with node-specific artwork.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The node id.
- label System.String
- The node label.
- artwork ChartForgeX.Topology.TopologyIconArtwork
- Trusted SVG or image artwork for SVG and HTML renderers.
- x System.Double
- The x-coordinate.
- y System.Double
- The y-coordinate.
- kind ChartForgeX.Topology.TopologyNodeKind = Generic
- The node kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The node status.
- groupId System.String? = null
- The optional group id.
- subtitle System.String? = null
- The optional subtitle.
- href System.String? = null
- The optional href.
- tooltip System.String? = null
- The optional tooltip.
- width System.Double = 120
- The node width.
- height System.Double = 64
- The node height.
- symbol System.String? = null
- The optional short visual symbol shown by fallback renderers.
- cssClass System.String? = null
- The optional caller-provided CSS class tokens.
- color System.String? = null
- The optional node accent color, independent from health status.
- backgroundColor System.String? = null
- The optional node surface fill color.
- displayMode ChartForgeX.Topology.TopologyNodeDisplayMode = Artwork
- The display mode to apply with the artwork.
Returns
The current topology chart.
public static TopologyChart AddAutoArtworkNode(TopologyChart chart, String id, String label, TopologyIconArtwork artwork, TopologyNodeKind kind = Generic, TopologyHealthStatus status = Unknown, String? groupId = null, String? subtitle = null, String? href = null, String? tooltip = null, Double width = 120, Double height = 64, String? symbol = null, String? cssClass = null, String? color = null, String? backgroundColor = null, TopologyNodeDisplayMode displayMode = Artwork) #TopologyChartAdds an auto-placed node with node-specific artwork.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The node id.
- label System.String
- The node label.
- artwork ChartForgeX.Topology.TopologyIconArtwork
- Trusted SVG or image artwork for SVG and HTML renderers.
- kind ChartForgeX.Topology.TopologyNodeKind = Generic
- The node kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The node status.
- groupId System.String? = null
- The optional group id.
- subtitle System.String? = null
- The optional subtitle.
- href System.String? = null
- The optional href.
- tooltip System.String? = null
- The optional tooltip.
- width System.Double = 120
- The node width.
- height System.Double = 64
- The node height.
- symbol System.String? = null
- The optional short visual symbol shown by fallback renderers.
- cssClass System.String? = null
- The optional caller-provided CSS class tokens.
- color System.String? = null
- The optional node accent color, independent from health status.
- backgroundColor System.String? = null
- The optional node surface fill color.
- displayMode ChartForgeX.Topology.TopologyNodeDisplayMode = Artwork
- The display mode to apply with the artwork.
Returns
The current topology chart.
public static TopologyChart AddAutoGroup(TopologyChart chart, String id, String label, TopologyHealthStatus status = Unknown, String? subtitle = null, String? href = null, String? tooltip = null, String? cssClass = null, String? symbol = null, String? color = null, String? iconId = null) #TopologyChartAdds an auto-placed group to the topology chart. Deterministic layout modes assign the coordinates and size.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The group id.
- label System.String
- The group label.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The group status.
- subtitle System.String? = null
- The optional subtitle.
- href System.String? = null
- The optional href.
- tooltip System.String? = null
- The optional tooltip.
- cssClass System.String? = null
- The optional caller-provided CSS class tokens.
- symbol System.String? = null
- The optional short visual symbol shown in the group header.
- color System.String? = null
- The optional group accent color, independent from health status.
- iconId System.String? = null
- The optional reusable icon id from a topology icon catalog.
Returns
The current topology chart.
public static TopologyChart AddAutoIconNode(TopologyChart chart, String id, String label, String iconId, TopologyHealthStatus status = Unknown, String? groupId = null, String? subtitle = null, String? href = null, String? tooltip = null, Double width = 120, Double height = 64, String? cssClass = null, TopologyIconCatalog? catalog = null) #TopologyChartAdds an auto-placed node from a reusable icon definition.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- id System.String
- label System.String
- iconId System.String
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- groupId System.String? = null
- subtitle System.String? = null
- href System.String? = null
- tooltip System.String? = null
- width System.Double = 120
- height System.Double = 64
- cssClass System.String? = null
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
public static TopologyChart AddAutoNode(TopologyChart chart, String id, String label, TopologyNodeKind kind = Generic, TopologyHealthStatus status = Unknown, String? groupId = null, String? subtitle = null, String? href = null, String? tooltip = null, Double width = 120, Double height = 64, String? symbol = null, String? cssClass = null, String? color = null, String? iconId = null) #TopologyChartAdds an auto-placed node to the topology chart. Deterministic layout modes assign the coordinates.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The node id.
- label System.String
- The node label.
- kind ChartForgeX.Topology.TopologyNodeKind = Generic
- The node kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The node status.
- groupId System.String? = null
- The optional group id.
- subtitle System.String? = null
- The optional subtitle.
- href System.String? = null
- The optional href.
- tooltip System.String? = null
- The optional tooltip.
- width System.Double = 120
- The node width.
- height System.Double = 64
- The node height.
- symbol System.String? = null
- The optional short visual symbol shown inside the node icon.
- cssClass System.String? = null
- The optional caller-provided CSS class tokens.
- color System.String? = null
- The optional node accent color, independent from health status.
- iconId System.String? = null
- The optional reusable icon id from a topology icon catalog.
Returns
The current topology chart.
public static TopologyChart AddEdge(TopologyChart chart, String id, String sourceNodeId, String targetNodeId, String? label = null, TopologyEdgeKind kind = Generic, TopologyHealthStatus status = Unknown, VisualLinkDirection direction = None, TopologyEdgeRouting routing = Orthogonal, String? secondaryLabel = null, String? href = null, String? tooltip = null, String? cssClass = null, String? tertiaryLabel = null, String? color = null) #TopologyChartAdds an edge to the topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The edge id.
- sourceNodeId System.String
- The source node id.
- targetNodeId System.String
- The target node id.
- label System.String? = null
- The optional edge label.
- kind ChartForgeX.Topology.TopologyEdgeKind = Generic
- The edge kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The edge status.
- direction ChartForgeX.Primitives.VisualLinkDirection = None
- The edge direction.
- routing ChartForgeX.Topology.TopologyEdgeRouting = Orthogonal
- The edge routing.
- secondaryLabel System.String? = null
- The optional secondary label.
- href System.String? = null
- The optional href.
- tooltip System.String? = null
- The optional tooltip.
- cssClass System.String? = null
- The optional caller-provided CSS class tokens.
- tertiaryLabel System.String? = null
- The optional tertiary label.
- color System.String? = null
- The optional edge color independent from health status.
Returns
The current topology chart.
public static TopologyScenario AddEdgeStep(TopologyScenario scenario, String edgeId, String? label = null, String? description = null, Action<TopologyScenarioStep>? configure = null) #TopologyScenarioAdds a scenario segment that references an existing topology edge.
Parameters
- scenario ChartForgeX.Topology.TopologyScenario
- The topology scenario.
- edgeId System.String
- The edge id.
- label System.String? = null
- The optional segment label.
- description System.String? = null
- The optional segment description.
- configure System.Action<ChartForgeX.Topology.TopologyScenarioStep>? = null
- Optional step configuration.
Returns
The current scenario.
public static TopologyChart AddGroup(TopologyChart chart, String id, String label, Double x, Double y, Double width, Double height, TopologyHealthStatus status = Unknown, String? subtitle = null, String? href = null, String? tooltip = null, String? cssClass = null, String? symbol = null, String? color = null, String? iconId = null) #TopologyChartAdds a group to the topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The group id.
- label System.String
- The group label.
- x System.Double
- The x-coordinate.
- y System.Double
- The y-coordinate.
- width System.Double
- The group width.
- height System.Double
- The group height.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The group status.
- subtitle System.String? = null
- The optional subtitle.
- href System.String? = null
- The optional href.
- tooltip System.String? = null
- The optional tooltip.
- cssClass System.String? = null
- The optional caller-provided CSS class tokens.
- symbol System.String? = null
- The optional short visual symbol shown in the group header.
- color System.String? = null
- The optional group accent color, independent from health status.
- iconId System.String? = null
- The optional reusable icon id from a topology icon catalog.
Returns
The current topology chart.
public static TopologyChart AddIconNode(TopologyChart chart, String id, String label, String iconId, Double x, Double y, TopologyHealthStatus status = Unknown, String? groupId = null, String? subtitle = null, String? href = null, String? tooltip = null, Double width = 120, Double height = 64, String? cssClass = null, TopologyIconCatalog? catalog = null) #TopologyChartAdds a positioned node from a reusable icon definition.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- id System.String
- label System.String
- iconId System.String
- x System.Double
- y System.Double
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- groupId System.String? = null
- subtitle System.String? = null
- href System.String? = null
- tooltip System.String? = null
- width System.Double = 120
- height System.Double = 64
- cssClass System.String? = null
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
public static TopologyChart AddNode(TopologyChart chart, String id, String label, Double x, Double y, TopologyNodeKind kind = Generic, TopologyHealthStatus status = Unknown, String? groupId = null, String? subtitle = null, String? href = null, String? tooltip = null, Double width = 120, Double height = 64, String? symbol = null, String? cssClass = null, String? color = null, String? iconId = null, String? backgroundColor = null) #TopologyChartAdds a node to the topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The node id.
- label System.String
- The node label.
- x System.Double
- The x-coordinate.
- y System.Double
- The y-coordinate.
- kind ChartForgeX.Topology.TopologyNodeKind = Generic
- The node kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The node status.
- groupId System.String? = null
- The optional group id.
- subtitle System.String? = null
- The optional subtitle.
- href System.String? = null
- The optional href.
- tooltip System.String? = null
- The optional tooltip.
- width System.Double = 120
- The node width.
- height System.Double = 64
- The node height.
- symbol System.String? = null
- The optional short visual symbol shown inside the node icon.
- cssClass System.String? = null
- The optional caller-provided CSS class tokens.
- color System.String? = null
- The optional node accent color, independent from health status.
- iconId System.String? = null
- The optional reusable icon id from a topology icon catalog.
- backgroundColor System.String? = null
- The optional node surface fill color.
Returns
The current topology chart.
public static TopologyChart AddNodeDetail(TopologyChart chart, String nodeId, String label, String value, TopologyHealthStatus? status = null, String? color = null, String? iconId = null) #TopologyChartAdds a typed detail row to a card-like topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- nodeId System.String
- label System.String
- value System.String
- status ChartForgeX.Topology.TopologyHealthStatus? = null
- color System.String? = null
- iconId System.String? = null
public static TopologyChart AddNodePort(TopologyChart chart, String nodeId, String portId, TopologyEdgePort side, Double offset = 0.5, String? label = null) #TopologyChartAdds a named attachment port to a topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- nodeId System.String
- portId System.String
- side ChartForgeX.Topology.TopologyEdgePort
- offset System.Double = 0.5
- label System.String? = null
public static TopologyScenario AddNodeStep(TopologyScenario scenario, String nodeId, String? label = null, String? description = null, Action<TopologyScenarioStep>? configure = null) #TopologyScenarioAdds a scenario hop that references an existing topology node.
Parameters
- scenario ChartForgeX.Topology.TopologyScenario
- The topology scenario.
- nodeId System.String
- The node id.
- label System.String? = null
- The optional hop label.
- description System.String? = null
- The optional hop description.
- configure System.Action<ChartForgeX.Topology.TopologyScenarioStep>? = null
- Optional step configuration.
Returns
The current scenario.
public static TopologyChart AddScenario(TopologyChart chart, String id, String label, Action<TopologyScenario>? configure = null) #TopologyChartAdds an interactive scenario that references existing topology nodes and edges.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The scenario id.
- label System.String
- The scenario label.
- configure System.Action<ChartForgeX.Topology.TopologyScenario>? = null
- Optional scenario configuration.
Returns
The current topology chart.
public static TopologyChart ClearEdgeLabelAnchor(TopologyChart chart, String edgeId) #TopologyChartClears an explicit edge label leader anchor so the label points back to the edge route.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
Returns
The current topology chart.
public static PngFontInfo GetPngFontInfo(TopologyChart chart) #PngFontInfoResolves the host font used for PNG text and opt-in installed-font layout measurement. SVG viewers resolve the theme font family independently and may choose a different face.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology whose theme supplies the font family.
Returns
The resolved outline font or built-in fallback information.
public static PreparedTopology Prepare(TopologyChart chart, TopologyRenderOptions? options = null) #PreparedTopologyValidates and prepares a detached layout once for multiple exports and diagnostics. Use Double) before fitting a dense layout into a small output.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public static TopologyReport PrepareReport(TopologyChart chart, TopologyReportOptions? options = null) #TopologyReportCreates readable detail pages using measured card capacity and stable group/input order. Internal relationships remain on their page; cross-page relationships are returned explicitly. This report reflows cards; use TopologyRenderOptions) when original geometry must be retained.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyReportOptions? = null
public static Void Save(TopologyChart chart, String path, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidSaves the topology chart using the output path extension to choose SVG, HTML, PNG, animated GIF, animated PNG, or an opaque raster image format.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options for opaque raster formats.
public static Void SaveApng(TopologyChart chart, String path, TopologyRenderOptions? options = null) #VoidSaves the topology chart as an animated PNG by sampling topology motion frames.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options. When motion is unset, the first scenario route is animated.
public static Void SaveBmp(TopologyChart chart, String path, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidSaves the topology chart as BMP.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveGif(TopologyChart chart, String path, TopologyRenderOptions? options = null) #VoidSaves the topology chart as an animated GIF by sampling topology motion frames.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options. When motion is unset, the first scenario route is animated.
public static Void SaveHtml(TopologyChart chart, String path, TopologyRenderOptions? options = null) #VoidSaves the topology chart as a complete HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
public static Void SavePng(TopologyChart chart, String path, TopologyRenderOptions? options = null) #VoidSaves the topology chart as PNG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
public static Void SavePpm(TopologyChart chart, String path, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidSaves the topology chart as PPM.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveRasterImage(TopologyChart chart, String path, RasterImageFormat format, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidSaves the topology chart as an opaque raster image file.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveRasterImage(TopologyChart chart, String path, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidSaves the topology chart as an opaque raster image file using the output path extension to choose the format.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void SaveSvg(TopologyChart chart, String path, TopologyRenderOptions? options = null) #VoidSaves the topology chart as SVG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
public static Void SaveTiff(TopologyChart chart, String path, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidSaves the topology chart as TIFF.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path System.String
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Byte[] ToApng(TopologyChart chart, TopologyRenderOptions? options = null) #Byte[]Renders the topology chart to animated PNG bytes by sampling topology motion frames.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options. When motion is unset, the first scenario route is animated.
Returns
An animated PNG image.
public static Byte[] ToBmp(TopologyChart chart, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #Byte[]Renders the topology chart to BMP bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
A BMP image.
public static Byte[] ToGif(TopologyChart chart, TopologyRenderOptions? options = null) #Byte[]Renders the topology chart to animated GIF bytes by sampling topology motion frames.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options. When motion is unset, the first scenario route is animated.
Returns
An animated GIF image.
public static String ToHtmlFragment(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders the topology chart to an HTML fragment.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
An embeddable HTML fragment.
public static String ToHtmlFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders the topology chart to an HTML fragment without renderer-owned stylesheet or script assets.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
An embeddable HTML fragment that expects the host document to register topology HTML assets.
public static String ToHtmlPage(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders the topology chart to a complete HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
A complete HTML page.
public static Byte[] ToPng(TopologyChart chart, TopologyRenderOptions? options = null) #Byte[]Renders the topology chart to PNG bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
A PNG image.
public static Byte[] ToPpm(TopologyChart chart, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #Byte[]Renders the topology chart to PPM bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
A PPM image.
public static Byte[] ToRasterImage(TopologyChart chart, RasterImageFormat format, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #Byte[]Renders the topology chart to opaque raster image bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
Encoded raster image bytes.
public static RgbaImage ToRgbaImage(TopologyChart chart, TopologyRenderOptions? options = null) #RgbaImageRenders a topology chart directly to an in-memory RGBA image without encoding it.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart to render.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
The rendered RGBA image.
public static String ToSvg(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders the topology chart to SVG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
Complete SVG markup.
public static Byte[] ToTiff(TopologyChart chart, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #Byte[]Renders the topology chart to TIFF bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Returns
A TIFF image.
public static TopologyScenario WithColor(TopologyScenario scenario, String? color) #TopologyScenarioSets an optional scenario accent color.
Parameters
- scenario ChartForgeX.Topology.TopologyScenario
- The topology scenario.
- color System.String?
- The scenario color.
Returns
The current scenario.
public static TopologyScenario WithDescription(TopologyScenario scenario, String? description) #TopologyScenarioSets an optional scenario description.
Parameters
- scenario ChartForgeX.Topology.TopologyScenario
- The topology scenario.
- description System.String?
- The scenario description.
Returns
The current scenario.
public static TopologyScenarioStep WithDuration(TopologyScenarioStep step, Int32 durationMilliseconds) #TopologyScenarioStepOverrides how long this route step remains visible during timeline playback.
Parameters
- step ChartForgeX.Topology.TopologyScenarioStep
- durationMilliseconds System.Int32
public static TopologyChart WithEdgeColor(TopologyChart chart, String edgeId, String? color) #TopologyChartSets an explicit edge color independent from health status.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- color System.String?
- The edge color.
Returns
The current topology chart.
public static TopologyChart WithEdgeEmphasis(TopologyChart chart, String edgeId, TopologyEdgeEmphasis emphasis) #TopologyChartSets edge visual emphasis independently from health status and line style.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- emphasis ChartForgeX.Topology.TopologyEdgeEmphasis
- The edge visual emphasis.
Returns
The current topology chart.
public static TopologyChart WithEdgeEndpointLabels(TopologyChart chart, String edgeId, String? sourceLabel, String? targetLabel) #TopologyChartSets optional labels near the source and target edge endpoints.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId System.String
- sourceLabel System.String?
- targetLabel System.String?
public static TopologyChart WithEdgeLabelAnchor(TopologyChart chart, String edgeId, ChartPoint anchor) #TopologyChartSets an explicit point that a displaced edge label should point to.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- anchor ChartForgeX.Primitives.ChartPoint
- The canvas-space point the label leader should point to.
Returns
The current topology chart.
public static TopologyChart WithEdgeLabelAnchor(TopologyChart chart, String edgeId, Double x, Double y) #TopologyChartSets an explicit point that a displaced edge label should point to.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- x System.Double
- The canvas-space horizontal point.
- y System.Double
- The canvas-space vertical point.
Returns
The current topology chart.
public static TopologyChart WithEdgeLabelAnchorNode(TopologyChart chart, String edgeId, String nodeId) #TopologyChartAnchors a displaced edge label leader to the rendered boundary of a node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- nodeId System.String
- The node id the label leader should point to.
Returns
The current topology chart.
public static TopologyChart WithEdgeLabelAnnotationOffset(TopologyChart chart, String edgeId, Double offsetX, Double offsetY) #TopologyChartSets the rendered label position for a specific edge and keeps the leader anchored to the edge route.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- offsetX System.Double
- The horizontal label offset in pixels.
- offsetY System.Double
- The vertical label offset in pixels.
Returns
The current topology chart.
public static TopologyChart WithEdgeLabelOffset(TopologyChart chart, String edgeId, Double x, Double y) #TopologyChartAdjusts the rendered label position for a specific edge without changing the route geometry.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- x System.Double
- The horizontal label offset in pixels.
- y System.Double
- The vertical label offset in pixels.
Returns
The current topology chart.
public static TopologyChart WithEdgeLayoutHints(TopologyChart chart, String edgeId, Double? preferredLength = null, Int32 minimumRankSpan = 1, Int32 routingPriority = 0) #TopologyChartSets soft layout intent without promising exact rendered edge length.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId System.String
- preferredLength System.Double? = null
- minimumRankSpan System.Int32 = 1
- routingPriority System.Int32 = 0
public static TopologyChart WithEdgeLineStyle(TopologyChart chart, String edgeId, TopologyEdgeLineStyle lineStyle) #TopologyChartSets an explicit line style for an edge independent from health status.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- lineStyle ChartForgeX.Topology.TopologyEdgeLineStyle
- The edge line style.
Returns
The current topology chart.
public static TopologyChart WithEdgeMarkers(TopologyChart chart, String edgeId, TopologyMarkerKind? source, TopologyMarkerKind? target) #TopologyChartSets explicit markers at both edge endpoints. Null keeps direction-derived behavior.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId System.String
- source ChartForgeX.Topology.TopologyMarkerKind?
- target ChartForgeX.Topology.TopologyMarkerKind?
public static TopologyChart WithEdgeMuted(TopologyChart chart, String edgeId, Boolean isMuted = true) #TopologyChartMarks an edge as a quiet structural relationship instead of a status route.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- isMuted System.Boolean = true
- Whether the edge is muted.
Returns
The current topology chart.
public static TopologyChart WithEdgeNamedPorts(TopologyChart chart, String edgeId, String? sourcePortId, String? targetPortId) #TopologyChartConnects an edge through named ports on its source and target nodes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId System.String
- sourcePortId System.String?
- targetPortId System.String?
public static TopologyChart WithEdgePorts(TopologyChart chart, String edgeId, TopologyEdgePort sourcePort, TopologyEdgePort targetPort) #TopologyChartSets preferred attachment sides for an edge.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- sourcePort ChartForgeX.Topology.TopologyEdgePort
- The preferred source attachment side.
- targetPort ChartForgeX.Topology.TopologyEdgePort
- The preferred target attachment side.
Returns
The current topology chart.
public static TopologyChart WithEdgeRouteBundle(TopologyChart chart, Double centerLane, Double spacing, params String[] edgeIds) #TopologyChartAssigns centered orthogonal route lanes to a related set of edges.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- centerLane System.Double
- The center lane offset in pixels.
- spacing System.Double
- The spacing between adjacent lanes in pixels.
- edgeIds System.String[]
- The related edge ids in visual lane order.
Returns
The current topology chart.
public static TopologyChart WithEdgeRouteLane(TopologyChart chart, String edgeId, Double routeLane) #TopologyChartSets a deterministic orthogonal route lane offset for an edge.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- routeLane System.Double
- The route lane offset in pixels.
Returns
The current topology chart.
public static TopologyChart WithEdgesOfKind(TopologyChart chart, TopologyEdgeKind kind, TopologyEdgeLineStyle? lineStyle = null, TopologyEdgeEmphasis? emphasis = null, Boolean? isMuted = null, String? color = null) #TopologyChartApplies reusable visual styling to all edges of a given kind.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- kind ChartForgeX.Topology.TopologyEdgeKind
- The edge kind to update.
- lineStyle ChartForgeX.Topology.TopologyEdgeLineStyle? = null
- Optional line style to apply.
- emphasis ChartForgeX.Topology.TopologyEdgeEmphasis? = null
- Optional visual emphasis to apply.
- isMuted System.Boolean? = null
- Optional muted-state override to apply.
- color System.String? = null
- Optional edge color to apply independent from health status.
Returns
The current topology chart.
public static TopologyChart WithEdgeStroke(TopologyChart chart, String edgeId, Double? width = null, Double? opacity = null, params Double[] dashPattern) #TopologyChartApplies edge-specific stroke width, opacity, and an optional alternating dash/gap pattern.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId System.String
- width System.Double? = null
- opacity System.Double? = null
- dashPattern System.Double[]
public static TopologyChart WithEdgeWaypoints(TopologyChart chart, String edgeId, params ChartPoint[] waypoints) #TopologyChartSets explicit route bend points on an edge.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId System.String
- The edge id.
- waypoints ChartForgeX.Primitives.ChartPoint[]
- The route bend points.
Returns
The current topology chart.
public static TopologyChart WithGroupColor(TopologyChart chart, String groupId, String? color) #TopologyChartSets an optional group accent color independent from the group health status.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- groupId System.String
- The group id.
- color System.String?
- The group accent color.
Returns
The current topology chart.
public static TopologyChart WithGroupCoordinates(TopologyChart chart, String groupId, Double longitude, Double latitude) #TopologyChartSets longitude/latitude coordinates for a topology group used by geographic layouts.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- groupId System.String
- The group id.
- longitude System.Double
- The longitude in degrees.
- latitude System.Double
- The latitude in degrees.
Returns
The current topology chart.
public static TopologyChart WithGroupIcon(TopologyChart chart, String groupId, String iconId, TopologyIconCatalog? catalog = null) #TopologyChartApplies a reusable icon definition to a group.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- groupId System.String
- The group id.
- iconId System.String
- The icon id, for example microsoft-ad:site.
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
- Optional icon catalog. When omitted, built-in packs are used.
Returns
The current topology chart.
public static TopologyChart WithGroupLayout(TopologyChart chart, String groupId, TopologyGroupLayoutPolicy layoutPolicy) #TopologyChartSets the preferred node arrangement policy for a group when using dense grouped layouts.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- groupId System.String
- The group id.
- layoutPolicy ChartForgeX.Topology.TopologyGroupLayoutPolicy
- The dense group layout policy.
Returns
The current topology chart.
public static TopologyChart WithGroupPosition(TopologyChart chart, String groupId, Double x, Double y) #TopologyChartSets an explicit group position while preserving the current group size and styling.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- groupId System.String
- The group id.
- x System.Double
- The x-coordinate.
- y System.Double
- The y-coordinate.
Returns
The current topology chart.
public static TopologyChart WithGroupSymbol(TopologyChart chart, String groupId, String? symbol) #TopologyChartSets an optional short group symbol.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- groupId System.String
- The group id.
- symbol System.String?
- The symbol text or built-in token such as region.
Returns
The current topology chart.
public static TopologyChart WithId(TopologyChart chart, String id) #TopologyChartSets the topology chart id.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id System.String
- The chart id.
Returns
The current topology chart.
public static TopologyChart WithLayout(TopologyChart chart, TopologyLayoutMode layoutMode) #TopologyChartSets the topology chart layout mode.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- layoutMode ChartForgeX.Topology.TopologyLayoutMode
- The layout mode.
Returns
The current topology chart.
public static TopologyChart WithLayout(TopologyChart chart, TopologyLayoutMode layoutMode, TopologyLayoutDirection layoutDirection) #TopologyChartSets the topology chart layout mode and flow direction.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- layoutMode ChartForgeX.Topology.TopologyLayoutMode
- The layout mode.
- layoutDirection ChartForgeX.Topology.TopologyLayoutDirection
- The layout flow direction.
Returns
The current topology chart.
public static TopologyChart WithLayoutDirection(TopologyChart chart, TopologyLayoutDirection layoutDirection) #TopologyChartSets the topology chart layout flow direction.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- layoutDirection ChartForgeX.Topology.TopologyLayoutDirection
- The layout flow direction.
Returns
The current topology chart.
public static TopologyChart WithLegend(TopologyChart chart, TopologyLegend? legend) #TopologyChartSets the topology legend.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- legend ChartForgeX.Topology.TopologyLegend?
- The legend to use.
Returns
The current topology chart.
public static TopologyChart WithMapViewport(TopologyChart chart, ChartMapViewport viewport) #TopologyChartSets the longitude/latitude viewport used by geographic topology layouts.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- viewport ChartForgeX.Core.ChartMapViewport
- The map viewport.
Returns
The current topology chart.
public static TopologyScenario WithMetadata(TopologyScenario scenario, String key, String? value) #TopologyScenarioAdds host-readable metadata to a topology scenario.
Parameters
- scenario ChartForgeX.Topology.TopologyScenario
- The topology scenario.
- key System.String
- The metadata key.
- value System.String?
- The metadata value.
Returns
The current scenario.
public static TopologyScenarioStep WithMetadata(TopologyScenarioStep step, String key, String? value) #TopologyScenarioStepAdds host-readable metadata to a topology scenario step.
Parameters
- step ChartForgeX.Topology.TopologyScenarioStep
- The topology scenario step.
- key System.String
- The metadata key.
- value System.String?
- The metadata value.
Returns
The current scenario step.
public static TopologyChart WithNodeArtwork(TopologyChart chart, String nodeId, TopologyIconArtwork artwork, TopologyNodeDisplayMode displayMode = Artwork) #TopologyChartApplies node-specific artwork directly to an existing topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- artwork ChartForgeX.Topology.TopologyIconArtwork
- Trusted SVG or image artwork for SVG and HTML renderers.
- displayMode ChartForgeX.Topology.TopologyNodeDisplayMode = Artwork
- The display mode to apply with the artwork.
Returns
The current topology chart.
public static TopologyChart WithNodeBackground(TopologyChart chart, String nodeId, String? backgroundColor) #TopologyChartSets an optional node surface fill color independent from the node accent color.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- backgroundColor System.String?
- The node surface fill color.
Returns
The current topology chart.
public static TopologyChart WithNodeBadge(TopologyChart chart, String nodeId, String? badge) #TopologyChartSets optional short badge text on a topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- badge System.String?
- The badge text.
Returns
The current topology chart.
public static TopologyChart WithNodeColor(TopologyChart chart, String nodeId, String? color) #TopologyChartSets an optional node accent color independent from the node health status.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- color System.String?
- The node accent color.
Returns
The current topology chart.
public static TopologyChart WithNodeCoordinates(TopologyChart chart, String nodeId, Double longitude, Double latitude) #TopologyChartSets longitude/latitude coordinates for a topology node used by geographic layouts.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- longitude System.Double
- The longitude in degrees.
- latitude System.Double
- The latitude in degrees.
Returns
The current topology chart.
public static TopologyChart WithNodeDisplay(TopologyChart chart, String nodeId, TopologyNodeDisplayMode displayMode, String? badge = null) #TopologyChartSets a node-specific display mode and optional badge text.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- displayMode ChartForgeX.Topology.TopologyNodeDisplayMode
- The node display mode.
- badge System.String? = null
- Optional short badge text.
Returns
The current topology chart.
public static TopologyChart WithNodeIcon(TopologyChart chart, String nodeId, String iconId, TopologyIconCatalog? catalog = null) #TopologyChartApplies a reusable icon definition to a node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- iconId System.String
- The icon id, for example network:switch.
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
- Optional icon catalog. When omitted, built-in packs are used.
Returns
The current topology chart.
public static TopologyChart WithNodesDisplay(TopologyChart chart, TopologyNodeKind kind, TopologyNodeDisplayMode displayMode, String? badge = null) #TopologyChartSets a display mode for all nodes of a kind and optionally assigns a badge.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- kind ChartForgeX.Topology.TopologyNodeKind
- The node kind to update.
- displayMode ChartForgeX.Topology.TopologyNodeDisplayMode
- The node display mode.
- badge System.String? = null
- Optional short badge text.
Returns
The current topology chart.
public static TopologyChart WithNodesOfKind(TopologyChart chart, TopologyNodeKind kind, String? color = null, String? backgroundColor = null) #TopologyChartSets reusable node styling for all nodes of a kind.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- kind ChartForgeX.Topology.TopologyNodeKind
- The node kind to update.
- color System.String? = null
- The optional node accent color.
- backgroundColor System.String? = null
- The optional node surface fill color.
Returns
The current topology chart.
public static TopologyChart WithNodesOfKindIcon(TopologyChart chart, TopologyNodeKind kind, String iconId, TopologyIconCatalog? catalog = null) #TopologyChartApplies a reusable icon definition to all nodes of a kind.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- kind ChartForgeX.Topology.TopologyNodeKind
- The node kind to update.
- iconId System.String
- The icon id, for example common:certificate.
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
- Optional icon catalog. When omitted, built-in packs are used.
Returns
The current topology chart.
public static TopologyChart WithNodesOfKindStyle(TopologyChart chart, TopologyNodeKind kind, String? color = null, String? backgroundColor = null, String? iconId = null, TopologyIconCatalog? catalog = null) #TopologyChartSets reusable node styling and optional icon assignment for all nodes of a kind in one pass.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- kind ChartForgeX.Topology.TopologyNodeKind
- The node kind to update.
- color System.String? = null
- The optional node accent color.
- backgroundColor System.String? = null
- The optional node surface fill color.
- iconId System.String? = null
- The optional icon id, for example common:certificate.
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
- Optional icon catalog. When omitted, built-in packs are used.
Returns
The current topology chart.
public static TopologyChart WithoutNodeArtwork(TopologyChart chart, String nodeId, Boolean resetArtworkDisplayMode = true) #TopologyChartRemoves node-specific artwork from an existing topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId System.String
- The node id.
- resetArtworkDisplayMode System.Boolean = true
- Whether to clear an artwork-only display override so icon catalog display defaults can apply again.
Returns
The current topology chart.
public static TopologyScenario WithPlayback(TopologyScenario scenario, Int32 stepDurationMilliseconds = 900, Boolean loop = false, Boolean autoPlay = false) #TopologyScenarioConfigures route timeline playback without enabling automatic playback by default.
Parameters
- scenario ChartForgeX.Topology.TopologyScenario
- stepDurationMilliseconds System.Int32 = 900
- loop System.Boolean = false
- autoPlay System.Boolean = false
public static TopologyChart WithReciprocalEdgeRouteBundles(TopologyChart chart, Double spacing = 18) #TopologyChartAssigns centered orthogonal route lanes to reciprocal edge pairs that do not already have explicit lanes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- spacing System.Double = 18
- The spacing between adjacent lanes in pixels.
Returns
The current topology chart.
public static TopologyScenario WithSpotlight(TopologyScenario scenario, Boolean enabled = true) #TopologyScenarioControls whether the route spotlights members by dimming surrounding topology.
Parameters
- scenario ChartForgeX.Topology.TopologyScenario
- enabled System.Boolean = true
public static TopologyChart WithSubtitle(TopologyChart chart, String subtitle) #TopologyChartSets the topology chart subtitle.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- subtitle System.String
- The chart subtitle.
Returns
The current topology chart.
public static TopologyChart WithTheme(TopologyChart chart, TopologyTheme theme) #TopologyChartSets the topology theme.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- theme ChartForgeX.Topology.TopologyTheme
- The theme to use.
Returns
The current topology chart.
public static TopologyChart WithTheme(TopologyChart chart, Action<TopologyTheme> configure) #TopologyChartConfigures the current topology theme.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- configure System.Action<ChartForgeX.Topology.TopologyTheme>
- The theme customization callback.
Returns
The current topology chart.
public static TopologyChart WithTitle(TopologyChart chart, String title) #TopologyChartSets the topology chart title.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- title System.String
- The chart title.
Returns
The current topology chart.
public static TopologyChart WithViewport(TopologyChart chart, Double width, Double height, Double padding = 24) #TopologyChartSets the topology viewport.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- width System.Double
- The viewport width.
- height System.Double
- The viewport height.
- padding System.Double = 24
- The viewport padding.
Returns
The current topology chart.
public static Void WriteApng(TopologyChart chart, Stream stream, TopologyRenderOptions? options = null) #VoidWrites the topology chart as an animated PNG stream by sampling topology motion frames.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options. When motion is unset, the first scenario route is animated.
public static Void WriteBmp(TopologyChart chart, Stream stream, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidWrites the topology chart to a BMP stream.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void WriteGif(TopologyChart chart, Stream stream, TopologyRenderOptions? options = null) #VoidWrites the topology chart as an animated GIF stream by sampling topology motion frames.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options. When motion is unset, the first scenario route is animated.
public static Void WritePpm(TopologyChart chart, Stream stream, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidWrites the topology chart to a PPM stream.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void WriteRasterImage(TopologyChart chart, Stream stream, RasterImageFormat format, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidWrites the topology chart to an opaque raster image stream.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- stream System.IO.Stream
- The destination stream.
- format ChartForgeX.Core.RasterImageFormat
- The raster image format.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static Void WriteTiff(TopologyChart chart, Stream stream, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #VoidWrites the topology chart to a TIFF stream.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- stream System.IO.Stream
- The destination stream.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?