API Reference
TopologyChart
Represents a renderer-independent topology diagram.
Inheritance
- Object
- TopologyChart
Usage
Explore 384 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 158
- Method MarkupTopologyDocument.ToTopologyChart
- Extension method MermaidArchitectureDocument.ToTopologyChart
- Method MermaidArchitectureRendering.ToTopologyChart
- Extension method MermaidC4Document.ToTopologyChart
- Method MermaidC4Rendering.ToTopologyChart
- Extension method MermaidClassDocument.ToTopologyChart
- Extension method MermaidCynefinDocument.ToTopologyChart
- Method MermaidCynefinRendering.ToTopologyChart
- Extension method MermaidEntityRelationshipDocument.ToTopologyChart
- Extension method MermaidEventModelingDocument.ToTopologyChart
- Method MermaidEventModelingRendering.ToTopologyChart
- Extension method MermaidFlowchartDocument.ToTopologyChart
- Method MermaidFlowchartRendering.ToTopologyChart
- Extension method MermaidKanbanDocument.ToTopologyChart
- Extension method MermaidMindMapDocument.ToTopologyChart
- Extension method MermaidRequirementDocument.ToTopologyChart
- Method MermaidRequirementRendering.ToTopologyChart
- Extension method MermaidStateDocument.ToTopologyChart
- Method MermaidTopologyRendering.ToTopologyChart
- Extension method MermaidTreeViewDocument.ToTopologyChart
- Extension method TopologyChart.AddArtworkNode
- Extension method TopologyChart.AddAutoArtworkNode
- Extension method TopologyChart.AddAutoGroup
- Extension method TopologyChart.AddAutoIconNode
- Extension method TopologyChart.AddAutoNode
- Extension method TopologyChart.AddEdge
- Extension method TopologyChart.AddGroup
- Extension method TopologyChart.AddHierarchy
- Extension method TopologyChart.AddIconNode
- Extension method TopologyChart.AddMindMap
- Extension method TopologyChart.AddNode
- Extension method TopologyChart.AddNodeDetail
- Extension method TopologyChart.AddNodePort
- Extension method TopologyChart.AddScenario
- Extension method TopologyChart.AddTeam
- Extension method TopologyChart.ClearEdgeLabelAnchor
- Extension method TopologyChart.ConfigureTheme
- Extension method TopologyChart.WithEdgeColor
- Extension method TopologyChart.WithEdgeEmphasis
- Extension method TopologyChart.WithEdgeEndpointLabels
- Extension method TopologyChart.WithEdgeLabelAnchor
- Extension method TopologyChart.WithEdgeLabelAnchorNode
- Extension method TopologyChart.WithEdgeLabelAnnotationOffset
- Extension method TopologyChart.WithEdgeLabelOffset
- Extension method TopologyChart.WithEdgeLayoutHints
- Extension method TopologyChart.WithEdgeLineStyle
- Extension method TopologyChart.WithEdgeMarkers
- Extension method TopologyChart.WithEdgeMuted
- Extension method TopologyChart.WithEdgeNamedPorts
- Extension method TopologyChart.WithEdgePorts
- Extension method TopologyChart.WithEdgeRouteBundle
- Extension method TopologyChart.WithEdgeRouteLane
- Extension method TopologyChart.WithEdgesOfKind
- Extension method TopologyChart.WithEdgeStroke
- Extension method TopologyChart.WithEdgeWaypoints
- Extension method TopologyChart.WithGroupColor
- Extension method TopologyChart.WithGroupCoordinates
- Extension method TopologyChart.WithGroupIcon
- Extension method TopologyChart.WithGroupLayout
- Extension method TopologyChart.WithGroupPosition
- Extension method TopologyChart.WithGroupSymbol
- Extension method TopologyChart.WithId
- Extension method TopologyChart.WithLayout
- Extension method TopologyChart.WithLayoutDirection
- Extension method TopologyChart.WithLegend
- Extension method TopologyChart.WithMapViewport
- Extension method TopologyChart.WithNodeArtwork
- Extension method TopologyChart.WithNodeBackground
- Extension method TopologyChart.WithNodeBadge
- Extension method TopologyChart.WithNodeColor
- Extension method TopologyChart.WithNodeCoordinates
- Extension method TopologyChart.WithNodeDisplay
- Extension method TopologyChart.WithNodeIcon
- Extension method TopologyChart.WithNodesDisplay
- Extension method TopologyChart.WithNodesOfKind
- Extension method TopologyChart.WithNodesOfKindIcon
- Extension method TopologyChart.WithNodesOfKindStyle
- Extension method TopologyChart.WithoutNodeArtwork
- Extension method TopologyChart.WithReciprocalEdgeRouteBundles
- Extension method TopologyChart.WithRenderOptions
- Extension method TopologyChart.WithSubtitle
- Extension method TopologyChart.WithTheme
- Extension method TopologyChart.WithTitle
- Extension method TopologyChart.WithViewport
- Method TopologyChart.AsDecorative
- Method TopologyChart.ConfigureAccessibility
- Method TopologyChart.ConfigureLabels
- Method TopologyChart.Create
- Method TopologyChart.FromData``2
- Method TopologyChart.WithDesignTokens
- Method TopologyChartExtensions.AddArtworkNode
- Method TopologyChartExtensions.AddAutoArtworkNode
- Method TopologyChartExtensions.AddAutoGroup
- Method TopologyChartExtensions.AddAutoIconNode
- Method TopologyChartExtensions.AddAutoNode
- Method TopologyChartExtensions.AddEdge
- Method TopologyChartExtensions.AddGroup
- Method TopologyChartExtensions.AddIconNode
- Method TopologyChartExtensions.AddNode
- Method TopologyChartExtensions.AddNodeDetail
- Method TopologyChartExtensions.AddNodePort
- Method TopologyChartExtensions.AddScenario
- Method TopologyChartExtensions.ClearEdgeLabelAnchor
- Method TopologyChartExtensions.ConfigureTheme
- Method TopologyChartExtensions.WithEdgeColor
- Method TopologyChartExtensions.WithEdgeEmphasis
- Method TopologyChartExtensions.WithEdgeEndpointLabels
- Method TopologyChartExtensions.WithEdgeLabelAnchor
- Method TopologyChartExtensions.WithEdgeLabelAnchorNode
- Method TopologyChartExtensions.WithEdgeLabelAnnotationOffset
- Method TopologyChartExtensions.WithEdgeLabelOffset
- Method TopologyChartExtensions.WithEdgeLayoutHints
- Method TopologyChartExtensions.WithEdgeLineStyle
- Method TopologyChartExtensions.WithEdgeMarkers
- Method TopologyChartExtensions.WithEdgeMuted
- Method TopologyChartExtensions.WithEdgeNamedPorts
- Method TopologyChartExtensions.WithEdgePorts
- Method TopologyChartExtensions.WithEdgeRouteBundle
- Method TopologyChartExtensions.WithEdgeRouteLane
- Method TopologyChartExtensions.WithEdgesOfKind
- Method TopologyChartExtensions.WithEdgeStroke
- Method TopologyChartExtensions.WithEdgeWaypoints
- Method TopologyChartExtensions.WithGroupColor
- Method TopologyChartExtensions.WithGroupCoordinates
- Method TopologyChartExtensions.WithGroupIcon
- Method TopologyChartExtensions.WithGroupLayout
- Method TopologyChartExtensions.WithGroupPosition
- Method TopologyChartExtensions.WithGroupSymbol
- Method TopologyChartExtensions.WithId
- Method TopologyChartExtensions.WithLayout
- Method TopologyChartExtensions.WithLayoutDirection
- Method TopologyChartExtensions.WithLegend
- Method TopologyChartExtensions.WithMapViewport
- Method TopologyChartExtensions.WithNodeArtwork
- Method TopologyChartExtensions.WithNodeBackground
- Method TopologyChartExtensions.WithNodeBadge
- Method TopologyChartExtensions.WithNodeColor
- Method TopologyChartExtensions.WithNodeCoordinates
- Method TopologyChartExtensions.WithNodeDisplay
- Method TopologyChartExtensions.WithNodeIcon
- Method TopologyChartExtensions.WithNodesDisplay
- Method TopologyChartExtensions.WithNodesOfKind
- Method TopologyChartExtensions.WithNodesOfKindIcon
- Method TopologyChartExtensions.WithNodesOfKindStyle
- Method TopologyChartExtensions.WithoutNodeArtwork
- Method TopologyChartExtensions.WithReciprocalEdgeRouteBundles
- Method TopologyChartExtensions.WithRenderOptions
- Method TopologyChartExtensions.WithSubtitle
- Method TopologyChartExtensions.WithTheme
- Method TopologyChartExtensions.WithTitle
- Method TopologyChartExtensions.WithViewport
- Method TopologyHierarchyExtensions.AddHierarchy
- Method TopologyHierarchyExtensions.AddTeam
- Extension method TopologyIconCatalog.ToPaletteChart
- Method TopologyIconPaletteExtensions.ToPaletteChart
- Method TopologyMindMapExtensions.AddMindMap
- Extension method FlowArtifact.ToTopologyChart
- Method FlowArtifactRendering.ToTopologyChart
Accepted by parameters 226
- Method ImageComposition.DrawTopology
- Extension method VisualCanvas.AddTopology
- Method HtmlInteractiveTopologyRenderer.RenderFragment
- Method HtmlInteractiveTopologyRenderer.RenderFragmentWithoutAssets
- Method HtmlInteractiveTopologyRenderer.RenderPage
- Method HtmlInteractiveTopologyRenderer.RenderPresentationFragment
- Method HtmlInteractiveTopologyRenderer.RenderPresentationFragmentWithoutAssets
- Method HtmlInteractiveTopologyRenderer.RenderPresentationPage
- Method InteractiveTopologyExtensions.SaveInteractiveHtml
- Method InteractiveTopologyExtensions.ToInteractiveHtmlFragment
- Method InteractiveTopologyExtensions.ToInteractiveHtmlFragmentWithoutAssets
- Method InteractiveTopologyExtensions.ToInteractiveHtmlPage
- Method TopologyGraphExplorerExtensions.ToGraphExplorerHtmlFragment
- Method TopologyGraphExplorerExtensions.ToGraphExplorerHtmlPage
- Method TopologyGraphExplorerExtensions.ToGraphScene
- Extension method TopologyChart.AddArtworkNode
- Extension method TopologyChart.AddAutoArtworkNode
- Extension method TopologyChart.AddAutoGroup
- Extension method TopologyChart.AddAutoIconNode
- Extension method TopologyChart.AddAutoNode
- Extension method TopologyChart.AddEdge
- Extension method TopologyChart.AddGroup
- Extension method TopologyChart.AddHierarchy
- Extension method TopologyChart.AddIconNode
- Extension method TopologyChart.AddMindMap
- Extension method TopologyChart.AddNode
- Extension method TopologyChart.AddNodeDetail
- Extension method TopologyChart.AddNodePort
- Extension method TopologyChart.AddScenario
- Extension method TopologyChart.AddTeam
- Extension method TopologyChart.ClearEdgeLabelAnchor
- Extension method TopologyChart.ConfigureTheme
- Extension method TopologyChart.GetPngFontInfo
- Extension method TopologyChart.Prepare
- Extension method TopologyChart.PrepareReport
- Extension method TopologyChart.Save
- Extension method TopologyChart.SaveApng
- Extension method TopologyChart.SaveBmp
- Extension method TopologyChart.SaveGif
- Extension method TopologyChart.SaveHtml
- Extension method TopologyChart.SaveInteractiveHtml
- Extension method TopologyChart.SavePng
- Extension method TopologyChart.SavePpm
- Extension method TopologyChart.SaveRasterImage
- Extension method TopologyChart.SaveSvg
- Extension method TopologyChart.SaveTiff
- Extension method TopologyChart.ToApng
- Extension method TopologyChart.ToBmp
- Extension method TopologyChart.ToGif
- Extension method TopologyChart.ToGraphExplorerHtmlFragment
- Extension method TopologyChart.ToGraphExplorerHtmlPage
- Extension method TopologyChart.ToGraphScene
- Extension method TopologyChart.ToHtmlFragment
- Extension method TopologyChart.ToHtmlFragmentWithoutAssets
- Extension method TopologyChart.ToHtmlPage
- Extension method TopologyChart.ToInteractiveHtmlFragment
- Extension method TopologyChart.ToInteractiveHtmlFragmentWithoutAssets
- Extension method TopologyChart.ToInteractiveHtmlPage
- Extension method TopologyChart.ToPng
- Extension method TopologyChart.ToPpm
- Extension method TopologyChart.ToRasterImage
- Extension method TopologyChart.ToRgbaImage
- Extension method TopologyChart.ToSvg
- Extension method TopologyChart.ToTiff
- Extension method TopologyChart.ToVisualArtifact
- Extension method TopologyChart.WithEdgeColor
- Extension method TopologyChart.WithEdgeEmphasis
- Extension method TopologyChart.WithEdgeEndpointLabels
- Extension method TopologyChart.WithEdgeLabelAnchor
- Extension method TopologyChart.WithEdgeLabelAnchorNode
- Extension method TopologyChart.WithEdgeLabelAnnotationOffset
- Extension method TopologyChart.WithEdgeLabelOffset
- Extension method TopologyChart.WithEdgeLayoutHints
- Extension method TopologyChart.WithEdgeLineStyle
- Extension method TopologyChart.WithEdgeMarkers
- Extension method TopologyChart.WithEdgeMuted
- Extension method TopologyChart.WithEdgeNamedPorts
- Extension method TopologyChart.WithEdgePorts
- Extension method TopologyChart.WithEdgeRouteBundle
- Extension method TopologyChart.WithEdgeRouteLane
- Extension method TopologyChart.WithEdgesOfKind
- Extension method TopologyChart.WithEdgeStroke
- Extension method TopologyChart.WithEdgeWaypoints
- Extension method TopologyChart.WithGroupColor
- Extension method TopologyChart.WithGroupCoordinates
- Extension method TopologyChart.WithGroupIcon
- Extension method TopologyChart.WithGroupLayout
- Extension method TopologyChart.WithGroupPosition
- Extension method TopologyChart.WithGroupSymbol
- Extension method TopologyChart.WithId
- Extension method TopologyChart.WithLayout
- Extension method TopologyChart.WithLayoutDirection
- Extension method TopologyChart.WithLegend
- Extension method TopologyChart.WithMapViewport
- Extension method TopologyChart.WithMotion
- Extension method TopologyChart.WithNodeArtwork
- Extension method TopologyChart.WithNodeBackground
- Extension method TopologyChart.WithNodeBadge
- Extension method TopologyChart.WithNodeColor
- Extension method TopologyChart.WithNodeCoordinates
- Extension method TopologyChart.WithNodeDisplay
- Extension method TopologyChart.WithNodeIcon
- Extension method TopologyChart.WithNodesDisplay
- Extension method TopologyChart.WithNodesOfKind
- Extension method TopologyChart.WithNodesOfKindIcon
- Extension method TopologyChart.WithNodesOfKindStyle
- Extension method TopologyChart.WithoutNodeArtwork
- Extension method TopologyChart.WithReciprocalEdgeRouteBundles
- Extension method TopologyChart.WithRenderOptions
- Extension method TopologyChart.WithSubtitle
- Extension method TopologyChart.WithTheme
- Extension method TopologyChart.WithTitle
- Extension method TopologyChart.WithViewport
- Extension method TopologyChart.WriteApng
- Extension method TopologyChart.WriteBmp
- Extension method TopologyChart.WriteGif
- Extension method TopologyChart.WritePpm
- Extension method TopologyChart.WriteRasterImage
- Extension method TopologyChart.WriteTiff
- Method TopologyChartExtensions.AddArtworkNode
- Method TopologyChartExtensions.AddAutoArtworkNode
- Method TopologyChartExtensions.AddAutoGroup
- Method TopologyChartExtensions.AddAutoIconNode
- Method TopologyChartExtensions.AddAutoNode
- Method TopologyChartExtensions.AddEdge
- Method TopologyChartExtensions.AddGroup
- Method TopologyChartExtensions.AddIconNode
- Method TopologyChartExtensions.AddNode
- Method TopologyChartExtensions.AddNodeDetail
- Method TopologyChartExtensions.AddNodePort
- Method TopologyChartExtensions.AddScenario
- Method TopologyChartExtensions.ClearEdgeLabelAnchor
- Method TopologyChartExtensions.ConfigureTheme
- Method TopologyChartExtensions.GetPngFontInfo
- Method TopologyChartExtensions.Prepare
- Method TopologyChartExtensions.PrepareReport
- Method TopologyChartExtensions.Save
- Method TopologyChartExtensions.SaveBmp
- Method TopologyChartExtensions.SaveHtml
- Method TopologyChartExtensions.SavePng
- Method TopologyChartExtensions.SavePpm
- Method TopologyChartExtensions.SaveRasterImage
- Method TopologyChartExtensions.SaveSvg
- Method TopologyChartExtensions.SaveTiff
- Method TopologyChartExtensions.ToBmp
- Method TopologyChartExtensions.ToHtmlFragment
- Method TopologyChartExtensions.ToHtmlFragmentWithoutAssets
- Method TopologyChartExtensions.ToHtmlPage
- Method TopologyChartExtensions.ToPng
- Method TopologyChartExtensions.ToPpm
- Method TopologyChartExtensions.ToRasterImage
- Method TopologyChartExtensions.ToRgbaImage
- Method TopologyChartExtensions.ToSvg
- Method TopologyChartExtensions.ToTiff
- Method TopologyChartExtensions.WithEdgeColor
- Method TopologyChartExtensions.WithEdgeEmphasis
- Method TopologyChartExtensions.WithEdgeEndpointLabels
- Method TopologyChartExtensions.WithEdgeLabelAnchor
- Method TopologyChartExtensions.WithEdgeLabelAnchorNode
- Method TopologyChartExtensions.WithEdgeLabelAnnotationOffset
- Method TopologyChartExtensions.WithEdgeLabelOffset
- Method TopologyChartExtensions.WithEdgeLayoutHints
- Method TopologyChartExtensions.WithEdgeLineStyle
- Method TopologyChartExtensions.WithEdgeMarkers
- Method TopologyChartExtensions.WithEdgeMuted
- Method TopologyChartExtensions.WithEdgeNamedPorts
- Method TopologyChartExtensions.WithEdgePorts
- Method TopologyChartExtensions.WithEdgeRouteBundle
- Method TopologyChartExtensions.WithEdgeRouteLane
- Method TopologyChartExtensions.WithEdgesOfKind
- Method TopologyChartExtensions.WithEdgeStroke
- Method TopologyChartExtensions.WithEdgeWaypoints
- Method TopologyChartExtensions.WithGroupColor
- Method TopologyChartExtensions.WithGroupCoordinates
- Method TopologyChartExtensions.WithGroupIcon
- Method TopologyChartExtensions.WithGroupLayout
- Method TopologyChartExtensions.WithGroupPosition
- Method TopologyChartExtensions.WithGroupSymbol
- Method TopologyChartExtensions.WithId
- Method TopologyChartExtensions.WithLayout
- Method TopologyChartExtensions.WithLayoutDirection
- Method TopologyChartExtensions.WithLegend
- Method TopologyChartExtensions.WithMapViewport
- Method TopologyChartExtensions.WithNodeArtwork
- Method TopologyChartExtensions.WithNodeBackground
- Method TopologyChartExtensions.WithNodeBadge
- Method TopologyChartExtensions.WithNodeColor
- Method TopologyChartExtensions.WithNodeCoordinates
- Method TopologyChartExtensions.WithNodeDisplay
- Method TopologyChartExtensions.WithNodeIcon
- Method TopologyChartExtensions.WithNodesDisplay
- Method TopologyChartExtensions.WithNodesOfKind
- Method TopologyChartExtensions.WithNodesOfKindIcon
- Method TopologyChartExtensions.WithNodesOfKindStyle
- Method TopologyChartExtensions.WithoutNodeArtwork
- Method TopologyChartExtensions.WithReciprocalEdgeRouteBundles
- Method TopologyChartExtensions.WithRenderOptions
- Method TopologyChartExtensions.WithSubtitle
- Method TopologyChartExtensions.WithTheme
- Method TopologyChartExtensions.WithTitle
- Method TopologyChartExtensions.WithViewport
- Method TopologyChartExtensions.WriteBmp
- Method TopologyChartExtensions.WritePpm
- Method TopologyChartExtensions.WriteRasterImage
- Method TopologyChartExtensions.WriteTiff
- Method TopologyChartValidator.Validate
- Method TopologyHierarchyExtensions.AddHierarchy
- Method TopologyHierarchyExtensions.AddTeam
- Method TopologyHtmlRenderer.RenderFragment
- Method TopologyHtmlRenderer.RenderFragmentWithoutAssets
- Method TopologyHtmlRenderer.RenderPage
- Method TopologyLayoutDiagnostics.Analyze
- Method TopologyLegend.Infer
- Method TopologyLegend.Resolve
- Method TopologyMindMapExtensions.AddMindMap
- Method TopologyMotionExtensions.SaveApng
- Method TopologyMotionExtensions.SaveGif
- Method TopologyMotionExtensions.ToApng
- Method TopologyMotionExtensions.ToGif
- Method TopologyMotionExtensions.WithMotion
- Method TopologyMotionExtensions.WriteApng
- Method TopologyMotionExtensions.WriteGif
- Method TopologyPngRenderer.Render
- Method TopologySvgRenderer.Render
- Method TopologyArtifactRendering.ToVisualArtifact
- Method VisualsExtensions.AddTopology
Constructors
public TopologyChart() #Methods
public TopologyChart AsDecorative(Boolean decorative = true) #TopologyChartMarks the topology as decorative for capable renderers.
Parameters
- decorative System.Boolean = true
public TopologyChart ConfigureAccessibility(Action<VisualAccessibility> configure) #TopologyChartConfigures the topology text alternative and language metadata.
Parameters
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
public TopologyChart ConfigureLabels(Action<TopologyLabels> configure) #TopologyChartConfigures the words the renderers write on their own (see TopologyLabels).
Parameters
- configure System.Action<ChartForgeX.Topology.TopologyLabels>
public static TopologyChart Create() #TopologyChartCreates a new topology chart.
Returns
A new topology chart.
public static TopologyChart FromData<TNode, TEdge>(IEnumerable<TNode?> nodes, IEnumerable<TEdge?> edges, Func<TNode?, String> nodeId, Func<TNode?, String> nodeLabel, Func<TEdge?, String> edgeId, Func<TEdge?, String> sourceNodeId, Func<TEdge?, String> targetNodeId, Action<TopologyNode, TNode?>? configureNode = null, Action<TopologyEdge, TEdge?>? configureEdge = null, TopologyLayoutMode layoutMode = Layered) #TopologyChartMaps product-owned node and edge records into a deterministic, renderer-independent topology chart.
Type Parameters
- TNode
- The caller's node record type.
- TEdge
- The caller's edge record type.
Parameters
- nodes System.Collections.Generic.IEnumerable<TNode?>
- The node records in deterministic input order.
- edges System.Collections.Generic.IEnumerable<TEdge?>
- The edge records in deterministic input order.
- nodeId System.Func<TNode?, System.String>
- Selects the stable node id.
- nodeLabel System.Func<TNode?, System.String>
- Selects the visible node label.
- edgeId System.Func<TEdge?, System.String>
- Selects the stable edge id.
- sourceNodeId System.Func<TEdge?, System.String>
- Selects the source node id for an edge.
- targetNodeId System.Func<TEdge?, System.String>
- Selects the target node id for an edge.
- configureNode System.Action<ChartForgeX.Topology.TopologyNode, TNode?>? = null
- Optionally maps product-neutral visual properties onto each created node.
- configureEdge System.Action<ChartForgeX.Topology.TopologyEdge, TEdge?>? = null
- Optionally maps product-neutral visual properties onto each created edge.
- layoutMode ChartForgeX.Topology.TopologyLayoutMode = Layered
- The deterministic topology layout applied by renderers.
Returns
A topology chart containing mapped copies of the source records.
public PreparedVisual Prepare(VisualRenderContext context) #PreparedVisualCompiles a detached topology layout into the common static scene and native semantic snapshot.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
public PreparedVisual Prepare(VisualRenderContext context, TopologyRenderOptions? options) #PreparedVisualCompiles topology-specific layout, routing and presentation within the common frame and theme.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
- Common logical size, frame, typography and theme.
- options ChartForgeX.Topology.TopologyRenderOptions?
- Optional topology configuration; otherwise the chart's configured options apply.
Returns
Detached static pixels, geometry and typed semantic handoff from one resolved diagram.
public TopologyChart WithDesignTokens(VisualDesignTokens tokens) #TopologyChartApplies shared product-neutral design tokens to the topology theme.
Parameters
- tokens ChartForgeX.Themes.VisualDesignTokens
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public VisualAccessibility Accessibility { get; } #Gets accessibility metadata shared by capable renderers and hosts.
public TopologyLabels Labels { get; internal set; } #Gets the words the renderers write on their own: the name of an untitled diagram and its automatic description.
public TopologyRenderOptions? DefaultRenderOptions { get; set; } #Gets or sets the render options used when a render, prepare, diagnostics, or export call passes none. A builder that returns a chart can attach the options the chart was designed for, so every host draws the same layout without passing them along separately. Options passed to a call replace these as a whole; the two are not merged.
public String? Id { get; set; } #Gets or sets a stable chart identifier.
public String? Title { get; set; } #Gets or sets the chart title.
public String? Subtitle { get; set; } #Gets or sets the chart subtitle.
public TopologyLayoutMode LayoutMode { get; set; } #Gets or sets the deterministic layout mode.
public TopologyLayoutDirection LayoutDirection { get; set; } #Gets or sets the deterministic layout flow direction.
public TopologyViewport Viewport { get; set; } #Gets the viewport used by renderers.
public ChartMapViewport MapViewport { get; set; } #Gets or sets the longitude/latitude window used by geographic topology layouts.
public List<TopologyGroup> Groups { get; } #Gets the topology groups.
public List<TopologyNode> Nodes { get; } #Gets the topology nodes.
public List<TopologyEdge> Edges { get; } #Gets the topology edges.
public List<TopologyScenario> Scenarios { get; } #Gets reusable scenario overlays that describe paths through the topology.
public TopologyLegend? Legend { get; set; } #Gets or sets an optional legend.
public TopologyTheme? Theme { get; set; } #Gets or sets an optional topology theme.
Extension 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 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 AddHierarchy(TopologyChart chart, IEnumerable<TopologyHierarchyItem> items, TopologyHierarchyOptions? options = null) #TopologyChartAdds parent-child hierarchy items to a topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyHierarchyItem>
- options ChartForgeX.Topology.TopologyHierarchyOptions? = null
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 AddMindMap(TopologyChart chart, IEnumerable<TopologyHierarchyItem> items, TopologyMindMapOptions? options = null) #TopologyChartAdds parent-child items as a centered mind map with balanced left and right branches.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyHierarchyItem>
- options ChartForgeX.Topology.TopologyMindMapOptions? = 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 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 AddTeam(TopologyChart chart, String teamId, String teamLabel, IEnumerable<TopologyTeamMember> members, TopologyTeamOptions? options = null) #TopologyChartAdds a reusable team or org diagram to a topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- teamId System.String
- teamLabel System.String
- members System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyTeamMember>
- options ChartForgeX.Topology.TopologyTeamOptions? = null
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 TopologyChart ConfigureTheme(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 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 PreparedTopology.AssessReadability 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 TopologyChartExtensions.Prepare 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, or a still 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, TopologyMotionOptions? motion = null) #VoidSaves sampled topology motion as animated PNG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path System.String
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
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, TopologyMotionOptions? motion = null) #VoidSaves sampled topology motion as GIF.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path System.String
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
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 SaveInteractiveHtml(TopologyChart chart, String path, TopologyRenderOptions? options = null) #VoidSaves a complete self-contained interactive topology HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path System.String
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public static Void SaveInteractiveHtml(TopologyChart chart, String path, TopologyRenderOptions? options, Func<PreparedTopology, String> svgPresentation) #VoidSaves interactive controls around a trusted detached SVG presentation of the same topology.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path System.String
- options ChartForgeX.Topology.TopologyRenderOptions?
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, System.String>
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, TopologyMotionOptions? motion = null) #Byte[]Samples topology route motion into animated PNG bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
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, TopologyMotionOptions? motion = null) #Byte[]Samples topology route motion into animated GIF bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
public static String ToGraphExplorerHtmlFragment(TopologyChart chart, Action<TopologyGraphSceneOptions>? configureScene = null, Action<HtmlGraphExplorerOptions>? configureHtml = null) #StringRenders a topology chart as an embeddable graph explorer fragment by first projecting it into GraphScene.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The source topology chart.
- configureScene System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null
- Optional topology-to-graph projection configuration.
- configureHtml System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- Optional graph explorer HTML configuration.
Returns
A self-contained HTML fragment.
public static String ToGraphExplorerHtmlPage(TopologyChart chart, Action<TopologyGraphSceneOptions>? configureScene = null, Action<HtmlGraphExplorerOptions>? configureHtml = null) #StringRenders a topology chart through the graph explorer adapter by first projecting it into GraphScene.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The source topology chart.
- configureScene System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null
- Optional topology-to-graph projection configuration.
- configureHtml System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- Optional graph explorer HTML configuration.
Returns
A complete self-contained HTML document.
public static GraphScene ToGraphScene(TopologyChart chart, Action<TopologyGraphSceneOptions>? configure = null) #GraphSceneProjects a topology chart into a host-neutral graph scene for large interactive exploration.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The source topology chart.
- configure System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null
- Optional bridge configuration callback.
Returns
A graph scene that preserves topology ids, metadata, groups, and relationships.
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 String ToInteractiveHtmlFragment(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders a self-contained interactive topology HTML fragment.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public static String ToInteractiveHtmlFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders interactive topology markup without renderer-owned assets.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public static String ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders a complete self-contained interactive topology HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public static String ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options, Func<PreparedTopology, String> svgPresentation) #StringRenders controls around trusted SVG created from the adapter's detached interactive topology.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions?
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, System.String>
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 String ToSvg(TopologyChart chart, String idScope, TopologyRenderOptions? options = null) #StringRenders the topology chart to SVG with every SVG id scoped, so several renders of the same chart can be embedded in one document (see TopologyRenderOptions.IdScope).
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- idScope System.String
- A caller-provided scope put in front of every SVG id.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options; null uses the options carried by the chart. They are not modified.
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 VisualArtifact ToVisualArtifact(TopologyChart topology, VisualArtifactSourceLanguage sourceLanguage = Native) #VisualArtifactWraps a topology diagram in a host-inspectable visual artifact envelope.
Parameters
- topology ChartForgeX.Topology.TopologyChart
- sourceLanguage ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage = Native
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 TopologyMotionPresentation WithMotion(TopologyChart chart, TopologyMotionOptions motion, TopologyRenderOptions? options = null) #TopologyMotionPresentationPrepares one detached native topology and adds explicit motion policy.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- motion ChartForgeX.Topology.TopologyMotionOptions
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public static TopologyMotionPresentation WithMotion(TopologyChart chart, TopologyMotionOptions motion, TopologyRenderOptions? options, String? preferredScenarioId) #TopologyMotionPresentationPrepares motion with a preferred route scenario independently of static highlighting.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- motion ChartForgeX.Topology.TopologyMotionOptions
- options ChartForgeX.Topology.TopologyRenderOptions?
- preferredScenarioId System.String?
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 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 TopologyChart WithRenderOptions(TopologyChart chart, TopologyRenderOptions? options) #TopologyChartSets the render options used when a render, prepare, diagnostics, or export call passes none.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions?
- The options to draw the chart with by default, or null to clear them. The chart keeps its own copy.
Returns
The current topology chart.
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 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, TopologyMotionOptions? motion = null) #VoidWrites sampled topology motion to an animated PNG stream.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- stream System.IO.Stream
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
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, TopologyMotionOptions? motion = null) #VoidWrites sampled topology motion to a GIF stream.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- stream System.IO.Stream
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
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.