TopologyChart
ChartForgeX.Topology
Represents a renderer-independent topology diagram.
Inheritance
- object
- TopologyChart
Usage
Explore 393 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 159
- Method MarkupArchitectureParser.Parse
- Method MarkupArchitectureParser.ParseBlock
- Method MarkupTopologyDocument.ToTopologyChart
- Extension method MermaidAgentflowDocument.ToTopologyChart
- Method MermaidAgentflowRendering.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.Accessibility
- 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.AddEdgeChip
- Extension method TopologyChart.AddEdgeStripe
- 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.Alignment
- Extension method TopologyChart.Alignments
- Extension method TopologyChart.Annotation
- Extension method TopologyChart.Annotations
- Extension method TopologyChart.ClearNodeArtwork
- Extension method TopologyChart.CrossingPaint
- Extension method TopologyChart.DefaultRenderOptions
- Extension method TopologyChart.Edge
- Extension method TopologyChart.EdgeRouteBundle
- Extension method TopologyChart.Edges
- Extension method TopologyChart.EdgeStroke
- Extension method TopologyChart.EdgeWaypoints
- Extension method TopologyChart.GridLayout
- Extension method TopologyChart.Group
- Extension method TopologyChart.GroupIcon
- Extension method TopologyChart.Groups
- Extension method TopologyChart.Id
- Extension method TopologyChart.Labels
- Extension method TopologyChart.LayoutDirection
- Extension method TopologyChart.LayoutMode
- Extension method TopologyChart.Legend
- Extension method TopologyChart.MapViewport
- Extension method TopologyChart.Node
- Extension method TopologyChart.NodeArtwork
- Extension method TopologyChart.NodeIcon
- Extension method TopologyChart.Nodes
- Extension method TopologyChart.NodesOfKindIcon
- Extension method TopologyChart.NodesOfKindStyle
- Extension method TopologyChart.PathDecoration
- Extension method TopologyChart.PathDecorations
- Extension method TopologyChart.ReciprocalEdgeRouteBundles
- Extension method TopologyChart.Scenario
- Extension method TopologyChart.Scenarios
- Extension method TopologyChart.SiblingGrouping
- Extension method TopologyChart.Subtitle
- Extension method TopologyChart.Theme
- Extension method TopologyChart.ThemeMode
- Extension method TopologyChart.Title
- Extension method TopologyChart.UpdateEdge
- Extension method TopologyChart.UpdateEdges
- Extension method TopologyChart.UpdateGroup
- Extension method TopologyChart.UpdateNode
- Extension method TopologyChart.UpdateNodes
- Extension method TopologyChart.Viewport
- Method TopologyChart.Create
- Method TopologyChart.FromData``2
- Method TopologyChartExtensions.AddArtworkNode
- Method TopologyChartExtensions.AddAutoArtworkNode
- Method TopologyChartExtensions.AddAutoGroup
- Method TopologyChartExtensions.AddAutoIconNode
- Method TopologyChartExtensions.AddAutoNode
- Method TopologyChartExtensions.AddEdge
- Method TopologyChartExtensions.AddEdgeChip
- Method TopologyChartExtensions.AddEdgeStripe
- Method TopologyChartExtensions.AddGroup
- Method TopologyChartExtensions.AddIconNode
- Method TopologyChartExtensions.AddNode
- Method TopologyChartExtensions.AddNodeDetail
- Method TopologyChartExtensions.AddNodePort
- Method TopologyChartExtensions.AddScenario
- Method TopologyChartExtensions.ClearNodeArtwork
- Method TopologyChartExtensions.EdgeRouteBundle
- Method TopologyChartExtensions.EdgeStroke
- Method TopologyChartExtensions.EdgeWaypoints
- Method TopologyChartExtensions.GroupIcon
- Method TopologyChartExtensions.NodeArtwork
- Method TopologyChartExtensions.NodeIcon
- Method TopologyChartExtensions.NodesOfKindIcon
- Method TopologyChartExtensions.NodesOfKindStyle
- Method TopologyChartExtensions.ReciprocalEdgeRouteBundles
- Method TopologyChartExtensions.Theme
- Method TopologyChartExtensions.UpdateEdge
- Method TopologyChartExtensions.UpdateEdges
- Method TopologyChartExtensions.UpdateGroup
- Method TopologyChartExtensions.UpdateNode
- Method TopologyChartExtensions.UpdateNodes
- Method TopologyChartFluent.Accessibility
- Method TopologyChartFluent.Alignment
- Method TopologyChartFluent.Alignments
- Method TopologyChartFluent.Annotation
- Method TopologyChartFluent.Annotations
- Method TopologyChartFluent.CrossingPaint
- Method TopologyChartFluent.DefaultRenderOptions
- Method TopologyChartFluent.Edge
- Method TopologyChartFluent.Edges
- Method TopologyChartFluent.GridLayout
- Method TopologyChartFluent.Group
- Method TopologyChartFluent.Groups
- Method TopologyChartFluent.Id
- Method TopologyChartFluent.Labels
- Method TopologyChartFluent.LayoutDirection
- Method TopologyChartFluent.LayoutMode
- Method TopologyChartFluent.Legend
- Method TopologyChartFluent.MapViewport
- Method TopologyChartFluent.Node
- Method TopologyChartFluent.Nodes
- Method TopologyChartFluent.PathDecoration
- Method TopologyChartFluent.PathDecorations
- Method TopologyChartFluent.Scenario
- Method TopologyChartFluent.Scenarios
- Method TopologyChartFluent.SiblingGrouping
- Method TopologyChartFluent.Subtitle
- Method TopologyChartFluent.Theme
- Method TopologyChartFluent.ThemeMode
- Method TopologyChartFluent.Title
- Method TopologyChartFluent.Viewport
- Method TopologyHierarchyExtensions.AddHierarchy
- Method TopologyHierarchyExtensions.AddTeam
- Extension method TopologyIconCatalog.ToPaletteChart
- Method TopologyIconPaletteExtensions.ToPaletteChart
- Method TopologyMindMapExtensions.AddMindMap
- Extension method FlowArtifact.ToTopologyChart
- Method FlowArtifactRendering.ToTopologyChart
- Extension method VisualArtifactInterchangeEnvelope.ToTopologyChart
- Extension method VisualArtifactInterchangeEnvelope.ToTopologyHierarchySource
- Method VisualArtifactInterchangeMapping.ToTopologyChart
- Method VisualArtifactInterchangeMapping.ToTopologyHierarchySource
Accepted by parameters 234
- Method ImageComposition.DrawTopology
- Extension method VisualCanvas.AddTopology
- Method HtmlInteractiveTopologyRenderer.PrepareHierarchySection
- 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.Accessibility
- 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.AddEdgeChip
- Extension method TopologyChart.AddEdgeStripe
- 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.Alignment
- Extension method TopologyChart.Alignments
- Extension method TopologyChart.Annotation
- Extension method TopologyChart.Annotations
- Extension method TopologyChart.ClearNodeArtwork
- Extension method TopologyChart.CrossingPaint
- Extension method TopologyChart.DefaultRenderOptions
- Extension method TopologyChart.Edge
- Extension method TopologyChart.EdgeRouteBundle
- Extension method TopologyChart.Edges
- Extension method TopologyChart.EdgeStroke
- Extension method TopologyChart.EdgeWaypoints
- Extension method TopologyChart.GetRasterFontInfo
- Extension method TopologyChart.GridLayout
- Extension method TopologyChart.Group
- Extension method TopologyChart.GroupIcon
- Extension method TopologyChart.Groups
- Extension method TopologyChart.Id
- Extension method TopologyChart.Labels
- Extension method TopologyChart.LayoutDirection
- Extension method TopologyChart.LayoutMode
- Extension method TopologyChart.Legend
- Extension method TopologyChart.MapViewport
- Extension method TopologyChart.Node
- Extension method TopologyChart.NodeArtwork
- Extension method TopologyChart.NodeIcon
- Extension method TopologyChart.Nodes
- Extension method TopologyChart.NodesOfKindIcon
- Extension method TopologyChart.NodesOfKindStyle
- Extension method TopologyChart.PathDecoration
- Extension method TopologyChart.PathDecorations
- Extension method TopologyChart.Prepare
- Extension method TopologyChart.PrepareReport
- Extension method TopologyChart.PrepareScenarioStep
- Extension method TopologyChart.ReciprocalEdgeRouteBundles
- Extension method TopologyChart.ResolveScenario
- 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.Scenario
- Extension method TopologyChart.Scenarios
- Extension method TopologyChart.SiblingGrouping
- Extension method TopologyChart.Subtitle
- Extension method TopologyChart.Theme
- Extension method TopologyChart.Theme
- Extension method TopologyChart.ThemeMode
- Extension method TopologyChart.Title
- 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.ToScenarioStory
- Extension method TopologyChart.ToSequenceArtifact
- Extension method TopologyChart.ToSvg
- Extension method TopologyChart.ToTiff
- Extension method TopologyChart.ToVisualArtifact
- Extension method TopologyChart.UpdateEdge
- Extension method TopologyChart.UpdateEdges
- Extension method TopologyChart.UpdateGroup
- Extension method TopologyChart.UpdateNode
- Extension method TopologyChart.UpdateNodes
- Extension method TopologyChart.Viewport
- Extension method TopologyChart.WithMotion
- 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.AddEdgeChip
- Method TopologyChartExtensions.AddEdgeStripe
- Method TopologyChartExtensions.AddGroup
- Method TopologyChartExtensions.AddIconNode
- Method TopologyChartExtensions.AddNode
- Method TopologyChartExtensions.AddNodeDetail
- Method TopologyChartExtensions.AddNodePort
- Method TopologyChartExtensions.AddScenario
- Method TopologyChartExtensions.ClearNodeArtwork
- Method TopologyChartExtensions.EdgeRouteBundle
- Method TopologyChartExtensions.EdgeStroke
- Method TopologyChartExtensions.EdgeWaypoints
- Method TopologyChartExtensions.GetRasterFontInfo
- Method TopologyChartExtensions.GroupIcon
- Method TopologyChartExtensions.NodeArtwork
- Method TopologyChartExtensions.NodeIcon
- Method TopologyChartExtensions.NodesOfKindIcon
- Method TopologyChartExtensions.NodesOfKindStyle
- Method TopologyChartExtensions.Prepare
- Method TopologyChartExtensions.PrepareReport
- Method TopologyChartExtensions.PrepareScenarioStep
- Method TopologyChartExtensions.ReciprocalEdgeRouteBundles
- Method TopologyChartExtensions.ResolveScenario
- 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.Theme
- 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.ToSequenceArtifact
- Method TopologyChartExtensions.ToSvg
- Method TopologyChartExtensions.ToTiff
- Method TopologyChartExtensions.UpdateEdge
- Method TopologyChartExtensions.UpdateEdges
- Method TopologyChartExtensions.UpdateGroup
- Method TopologyChartExtensions.UpdateNode
- Method TopologyChartExtensions.UpdateNodes
- Method TopologyChartExtensions.WriteBmp
- Method TopologyChartExtensions.WritePpm
- Method TopologyChartExtensions.WriteRasterImage
- Method TopologyChartExtensions.WriteTiff
- Method TopologyChartFluent.Accessibility
- Method TopologyChartFluent.Alignment
- Method TopologyChartFluent.Alignments
- Method TopologyChartFluent.Annotation
- Method TopologyChartFluent.Annotations
- Method TopologyChartFluent.CrossingPaint
- Method TopologyChartFluent.DefaultRenderOptions
- Method TopologyChartFluent.Edge
- Method TopologyChartFluent.Edges
- Method TopologyChartFluent.GridLayout
- Method TopologyChartFluent.Group
- Method TopologyChartFluent.Groups
- Method TopologyChartFluent.Id
- Method TopologyChartFluent.Labels
- Method TopologyChartFluent.LayoutDirection
- Method TopologyChartFluent.LayoutMode
- Method TopologyChartFluent.Legend
- Method TopologyChartFluent.MapViewport
- Method TopologyChartFluent.Node
- Method TopologyChartFluent.Nodes
- Method TopologyChartFluent.PathDecoration
- Method TopologyChartFluent.PathDecorations
- Method TopologyChartFluent.Scenario
- Method TopologyChartFluent.Scenarios
- Method TopologyChartFluent.SiblingGrouping
- Method TopologyChartFluent.Subtitle
- Method TopologyChartFluent.Theme
- Method TopologyChartFluent.ThemeMode
- Method TopologyChartFluent.Title
- Method TopologyChartFluent.Viewport
- Method TopologyChartValidator.Validate
- Method TopologyHierarchyExtensions.AddHierarchy
- Method TopologyHierarchyExtensions.AddTeam
- Method TopologyHtmlRenderer.AutoThemeStyleSheet
- 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 TopologyScenarioStoryExtensions.ToScenarioStory
- Method TopologySvgRenderer.Render
- Method TopologyArtifactRendering.ToVisualArtifact
- Method VisualsExtensions.AddTopology
Constructors
public TopologyChart() #Methods
public static TopologyChart Create() #Creates 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) #Maps 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?, string>
- Selects the stable node id.
- nodeLabel System.Func<TNode?, string>
- Selects the visible node label.
- edgeId System.Func<TEdge?, string>
- Selects the stable edge id.
- sourceNodeId System.Func<TEdge?, string>
- Selects the source node id for an edge.
- targetNodeId System.Func<TEdge?, 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.
public PreparedVisual Prepare(VisualRenderContext context) #Compiles a detached topology layout into the common static scene and native semantic snapshot.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
Returns
PreparedVisualpublic PreparedVisual Prepare(VisualRenderContext context, TopologyRenderOptions? options) #Compiles 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
PreparedVisual Detached static pixels, geometry and typed semantic handoff from one resolved diagram.public PreparedVisual PrepareHierarchy(VisualRenderContext context, TopologyHierarchyView? view = null, TopologyRenderOptions? options = null) #Prepares an explicit layered hierarchy view while retaining its complete raw source and authored relationships.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
- The existing common frame, theme, fonts and logical size.
- view ChartForgeX.Topology.TopologyHierarchyView? = null
- Exact collapsed IDs, sibling tie order and native direction; null restores the complete hierarchy.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Existing topology presentation options. The caller's options are not changed.
Returns
PreparedVisual A detached native scene with source contributor facts and the matching immutable view.Inherited Methods
Properties
public List<TopologyAlignment> Alignments { get; } #Gets ordered row/column declarations for Layered placement or supplied Manual geometry validation.
public List<TopologyAnnotation> Annotations { get; } #Gets diagram notes, separate from semantic nodes and edges.
public VisualAccessibility Accessibility { get; set; } #Gets accessibility metadata shared by capable renderers and hosts.
public TopologyLabels Labels { get; 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 TopologyCrossingPaint? CrossingPaint { get; set; } #Gets or sets captured orthogonal crossing paint; null preserves ordinary native paths exactly.
public TopologyGridLayout? GridLayout { get; set; } #Gets or sets explicit automatic row limits for GroupGrid; null retains its incumbent layout and bytes.
public string? Id { get; set; } #Gets or sets a stable chart identifier. Ids are trimmed and must not be empty.
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<TopologyScenario> Scenarios { get; } #Gets reusable scenario overlays that describe paths through the topology.
public VisualTheme Theme { get; set; } #Gets or sets an optional topology theme.
public ThemeMode ThemeMode { get; set; } #Gets or sets the explicit shared theme mode.
public List<TopologyPathDecoration> PathDecorations { get; } #Gets optional captured paths painted behind graph entities in the authored coordinate domain.
public TopologySiblingGrouping? SiblingGrouping { get; set; } #Gets or sets the opt-in sibling grouping policy. Null, the default, keeps every node as authored.
Extension Methods
public static TopologyChart Accessibility(TopologyChart topologyChart, VisualAccessibility value) #Sets TopologyChart.Accessibility: Gets accessibility metadata shared by capable renderers and hosts.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Accessibility.VisualAccessibility
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Accessibility = value }; topologyChart.Accessibility(value);public static TopologyChart Accessibility(TopologyChart topologyChart, Action<VisualAccessibility> configure) #Configures a copy of TopologyChart.Accessibility (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets accessibility metadata shared by capable renderers and hosts.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Accessibility.VisualAccessibility>
- Configures the copy.
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, ChartColor? color = null, ChartColor? backgroundColor = null, TopologyNodeDisplayMode displayMode = Artwork) #Adds a positioned node with node-specific artwork.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id string
- The node id.
- label string
- The node label.
- artwork ChartForgeX.Topology.TopologyIconArtwork
- Trusted SVG or image artwork for SVG and HTML renderers.
- x double
- The x-coordinate.
- y double
- The y-coordinate.
- kind ChartForgeX.Topology.TopologyNodeKind = Generic
- The node kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The node status.
- groupId string? = null
- The optional group id.
- subtitle string? = null
- The optional subtitle.
- href string? = null
- The optional href.
- tooltip string? = null
- The optional tooltip.
- width double = 120
- The node width.
- height double = 64
- The node height.
- symbol string? = null
- The optional short visual symbol shown by fallback renderers.
- cssClass string? = null
- The optional caller-provided CSS class tokens.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional node accent color, independent from health status.
- backgroundColor ChartForgeX.Primitives.ChartColor? = null
- The optional node surface fill color.
- displayMode ChartForgeX.Topology.TopologyNodeDisplayMode = Artwork
- The display mode to apply with the artwork.
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, ChartColor? color = null, ChartColor? backgroundColor = null, TopologyNodeDisplayMode displayMode = Artwork) #Adds an auto-placed node with node-specific artwork.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id string
- The node id.
- label 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 string? = null
- The optional group id.
- subtitle string? = null
- The optional subtitle.
- href string? = null
- The optional href.
- tooltip string? = null
- The optional tooltip.
- width double = 120
- The node width.
- height double = 64
- The node height.
- symbol string? = null
- The optional short visual symbol shown by fallback renderers.
- cssClass string? = null
- The optional caller-provided CSS class tokens.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional node accent color, independent from health status.
- backgroundColor ChartForgeX.Primitives.ChartColor? = null
- The optional node surface fill color.
- displayMode ChartForgeX.Topology.TopologyNodeDisplayMode = Artwork
- The display mode to apply with the artwork.
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, ChartColor? color = null, string? iconId = null) #Adds 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 string
- The group id.
- label string
- The group label.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The group status.
- subtitle string? = null
- The optional subtitle.
- href string? = null
- The optional href.
- tooltip string? = null
- The optional tooltip.
- cssClass string? = null
- The optional caller-provided CSS class tokens.
- symbol string? = null
- The optional short visual symbol shown in the group header.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional group accent color, independent from health status.
- iconId string? = null
- The optional reusable icon id from a topology icon catalog.
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) #Adds an auto-placed node from a reusable icon definition.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- id string
- label string
- iconId string
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- groupId string? = null
- subtitle string? = null
- href string? = null
- tooltip string? = null
- width double = 120
- height double = 64
- cssClass string? = null
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
Returns
TopologyChartpublic 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, ChartColor? color = null, string? iconId = null) #Adds an auto-placed node to the topology chart. Deterministic layout modes assign the coordinates.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id string
- The node id.
- label string
- The node label.
- kind ChartForgeX.Topology.TopologyNodeKind = Generic
- The node kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The node status.
- groupId string? = null
- The optional group id.
- subtitle string? = null
- The optional subtitle.
- href string? = null
- The optional href.
- tooltip string? = null
- The optional tooltip.
- width double = 120
- The node width.
- height double = 64
- The node height.
- symbol string? = null
- The optional short visual symbol shown inside the node icon.
- cssClass string? = null
- The optional caller-provided CSS class tokens.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional node accent color, independent from health status.
- iconId string? = null
- The optional reusable icon id from a topology icon catalog.
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, ChartColor? color = null) #Adds an edge to the topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id string
- The edge id.
- sourceNodeId string
- The source node or group id; node ids take precedence.
- targetNodeId string
- The target node or group id; node ids take precedence.
- label 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 string? = null
- The optional secondary label.
- href string? = null
- The optional href.
- tooltip string? = null
- The optional tooltip.
- cssClass string? = null
- The optional caller-provided CSS class tokens.
- tertiaryLabel string? = null
- The optional tertiary label.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional edge color independent from health status.
public static TopologyChart AddEdgeChip(TopologyChart chart, string edgeId, string text, Tone? tone = null, string? iconId = null) #Adds a small monospace value chip along an edge, such as PoE watts, replication cost or lag.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId string
- text string
- tone ChartForgeX.Tone? = null
- iconId string? = null
Returns
TopologyChartpublic static TopologyChart AddEdgeStripe(TopologyChart chart, string edgeId, ChartColor color, string? label = null) #Adds one colour band to a striped edge. Two or more stripes replace the single edge colour; labelled stripes get a legend entry.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId string
- color ChartForgeX.Primitives.ChartColor
- label string? = null
Returns
TopologyChartpublic 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, ChartColor? color = null, string? iconId = null) #Adds a group to the topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id string
- The group id.
- label string
- The group label.
- x double
- The x-coordinate.
- y double
- The y-coordinate.
- width double
- The group width.
- height double
- The group height.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The group status.
- subtitle string? = null
- The optional subtitle.
- href string? = null
- The optional href.
- tooltip string? = null
- The optional tooltip.
- cssClass string? = null
- The optional caller-provided CSS class tokens.
- symbol string? = null
- The optional short visual symbol shown in the group header.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional group accent color, independent from health status.
- iconId string? = null
- The optional reusable icon id from a topology icon catalog.
public static TopologyChart AddHierarchy(TopologyChart chart, IEnumerable<TopologyHierarchyItem> items, TopologyHierarchyOptions? options = null) #Adds 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
Returns
TopologyChartpublic 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) #Adds a positioned node from a reusable icon definition.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- id string
- label string
- iconId string
- x double
- y double
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- groupId string? = null
- subtitle string? = null
- href string? = null
- tooltip string? = null
- width double = 120
- height double = 64
- cssClass string? = null
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
Returns
TopologyChartpublic static TopologyChart AddMindMap(TopologyChart chart, IEnumerable<TopologyHierarchyItem> items, TopologyMindMapOptions? options = null) #Adds 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
Returns
TopologyChartpublic 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, ChartColor? color = null, string? iconId = null, ChartColor? backgroundColor = null) #Adds a node to the topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id string
- The node id.
- label string
- The node label.
- x double
- The x-coordinate.
- y double
- The y-coordinate.
- kind ChartForgeX.Topology.TopologyNodeKind = Generic
- The node kind.
- status ChartForgeX.Topology.TopologyHealthStatus = Unknown
- The node status.
- groupId string? = null
- The optional group id.
- subtitle string? = null
- The optional subtitle.
- href string? = null
- The optional href.
- tooltip string? = null
- The optional tooltip.
- width double = 120
- The node width.
- height double = 64
- The node height.
- symbol string? = null
- The optional short visual symbol shown inside the node icon.
- cssClass string? = null
- The optional caller-provided CSS class tokens.
- color ChartForgeX.Primitives.ChartColor? = null
- The optional node accent color, independent from health status.
- iconId string? = null
- The optional reusable icon id from a topology icon catalog.
- backgroundColor ChartForgeX.Primitives.ChartColor? = null
- The optional node surface fill color.
public static TopologyChart AddNodeDetail(TopologyChart chart, string nodeId, string label, string value, TopologyHealthStatus? status = null, ChartColor? color = null, string? iconId = null) #Adds a typed detail row to a card-like topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- nodeId string
- label string
- value string
- status ChartForgeX.Topology.TopologyHealthStatus? = null
- color ChartForgeX.Primitives.ChartColor? = null
- iconId string? = null
Returns
TopologyChartpublic static TopologyChart AddNodePort(TopologyChart chart, string nodeId, string portId, TopologyEdgePort side, double offset = 0.5, string? label = null) #Adds a named attachment port to a topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- nodeId string
- portId string
- side ChartForgeX.Topology.TopologyEdgePort
- offset double = 0.5
- label string? = null
Returns
TopologyChartpublic static TopologyChart AddScenario(TopologyChart chart, string id, string label, Action<TopologyScenario>? configure = null) #Adds an interactive scenario that references existing topology nodes and edges.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- id string
- The scenario id.
- label string
- The scenario label.
- configure System.Action<ChartForgeX.Topology.TopologyScenario>? = null
- Optional scenario configuration.
public static TopologyChart AddTeam(TopologyChart chart, string teamId, string teamLabel, IEnumerable<TopologyTeamMember> members, TopologyTeamOptions? options = null) #Adds a reusable team or org diagram to a topology chart.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- teamId string
- teamLabel string
- members System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyTeamMember>
- options ChartForgeX.Topology.TopologyTeamOptions? = null
Returns
TopologyChartpublic static TopologyChart Alignment(TopologyChart topologyChart, TopologyAlignment item) #Adds an item to TopologyChart.Alignments: Gets ordered row/column declarations for Layered placement or supplied Manual geometry validation.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- item ChartForgeX.Topology.TopologyAlignment
- The item.
public static TopologyChart Alignments(TopologyChart topologyChart, IEnumerable<TopologyAlignment> items) #Adds items to TopologyChart.Alignments: Gets ordered row/column declarations for Layered placement or supplied Manual geometry validation.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyAlignment>
- The items, in order.
public static TopologyChart Annotation(TopologyChart topologyChart, TopologyAnnotation item) #Adds an item to TopologyChart.Annotations: Gets diagram notes, separate from semantic nodes and edges.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- item ChartForgeX.Topology.TopologyAnnotation
- The item.
public static TopologyChart Annotations(TopologyChart topologyChart, IEnumerable<TopologyAnnotation> items) #Adds items to TopologyChart.Annotations: Gets diagram notes, separate from semantic nodes and edges.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyAnnotation>
- The items, in order.
public static TopologyChart ClearNodeArtwork(TopologyChart chart, string nodeId, bool resetArtworkDisplayMode = true) #Removes node-specific artwork from an existing topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId string
- The node id.
- resetArtworkDisplayMode bool = true
- Whether to clear an artwork-only display override so icon catalog display defaults can apply again.
public static TopologyChart CrossingPaint(TopologyChart topologyChart, TopologyCrossingPaint? value) #Sets TopologyChart.CrossingPaint: Gets or sets captured orthogonal crossing paint; null preserves ordinary native paths exactly.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyCrossingPaint?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { CrossingPaint = value }; topologyChart.CrossingPaint(value);public static TopologyChart DefaultRenderOptions(TopologyChart topologyChart, TopologyRenderOptions? value) #Sets TopologyChart.DefaultRenderOptions: 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.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyRenderOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { DefaultRenderOptions = value }; topologyChart.DefaultRenderOptions(value);public static TopologyChart DefaultRenderOptions(TopologyChart topologyChart, Action<TopologyRenderOptions> configure) #Configures a copy of TopologyChart.DefaultRenderOptions (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: 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.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyRenderOptions>
- Configures the copy.
public static TopologyChart Edge(TopologyChart topologyChart, TopologyEdge item) #Adds an item to TopologyChart.Edges: Gets the topology edges.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- item ChartForgeX.Topology.TopologyEdge
- The item.
public static TopologyChart Edge(TopologyChart topologyChart, Action<TopologyEdge> configure) #Creates an item, configures it and adds it to TopologyChart.Edges: Gets the topology edges.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyEdge>
- Configures the new item before it is added.
public static TopologyChart EdgeRouteBundle(TopologyChart chart, double centerLane, double spacing, params string[] edgeIds) #Assigns centered orthogonal route lanes to a related set of edges.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- centerLane double
- The center lane offset in pixels.
- spacing double
- The spacing between adjacent lanes in pixels.
- edgeIds string[]
- The related edge ids in visual lane order.
public static TopologyChart Edges(TopologyChart topologyChart, IEnumerable<TopologyEdge> items) #Adds items to TopologyChart.Edges: Gets the topology edges.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyEdge>
- The items, in order.
public static TopologyChart EdgeStroke(TopologyChart chart, string edgeId, double? width = null, double? opacity = null, params double[] dashPattern) #Applies edge-specific stroke width, opacity, and an optional alternating dash/gap pattern.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- edgeId string
- width double? = null
- opacity double? = null
- dashPattern double[]
Returns
TopologyChartpublic static TopologyChart EdgeWaypoints(TopologyChart chart, string edgeId, params ChartPoint[] waypoints) #Sets explicit route bend points on an edge.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- edgeId string
- The edge id.
- waypoints ChartForgeX.Primitives.ChartPoint[]
- The route bend points.
public static RasterFontInfo GetRasterFontInfo(TopologyChart chart) #Resolves 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.
public static TopologyChart GridLayout(TopologyChart topologyChart, TopologyGridLayout? value) #Sets TopologyChart.GridLayout: Gets or sets explicit automatic row limits for GroupGrid; null retains its incumbent layout and bytes.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyGridLayout?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { GridLayout = value }; topologyChart.GridLayout(value);public static TopologyChart Group(TopologyChart topologyChart, TopologyGroup item) #Adds an item to TopologyChart.Groups: Gets the topology groups.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- item ChartForgeX.Topology.TopologyGroup
- The item.
public static TopologyChart Group(TopologyChart topologyChart, Action<TopologyGroup> configure) #Creates an item, configures it and adds it to TopologyChart.Groups: Gets the topology groups.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyGroup>
- Configures the new item before it is added.
public static TopologyChart GroupIcon(TopologyChart chart, string groupId, string iconId, TopologyIconCatalog? catalog = null) #Applies a reusable icon definition to a group.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- groupId string
- The group id.
- iconId string
- The icon id, for example microsoft-ad:site.
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
- Optional icon catalog. When omitted, built-in packs are used.
public static TopologyChart Groups(TopologyChart topologyChart, IEnumerable<TopologyGroup> items) #Adds items to TopologyChart.Groups: Gets the topology groups.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyGroup>
- The items, in order.
public static TopologyChart Id(TopologyChart topologyChart, string? value) #Sets TopologyChart.Id: Gets or sets a stable chart identifier. Ids are trimmed and must not be empty.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Id = value }; topologyChart.Id(value);public static TopologyChart Labels(TopologyChart topologyChart, TopologyLabels value) #Sets TopologyChart.Labels: Gets the words the renderers write on their own: the name of an untitled diagram and its automatic description.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyLabels
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Labels = value }; topologyChart.Labels(value);public static TopologyChart Labels(TopologyChart topologyChart, Action<TopologyLabels> configure) #Configures a copy of TopologyChart.Labels (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the words the renderers write on their own: the name of an untitled diagram and its automatic description.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyLabels>
- Configures the copy.
public static TopologyChart LayoutDirection(TopologyChart topologyChart, TopologyLayoutDirection value) #Sets TopologyChart.LayoutDirection: Gets or sets the deterministic layout flow direction.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyLayoutDirection
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { LayoutDirection = value }; topologyChart.LayoutDirection(value);public static TopologyChart LayoutMode(TopologyChart topologyChart, TopologyLayoutMode value) #Sets TopologyChart.LayoutMode: Gets or sets the deterministic layout mode.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyLayoutMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { LayoutMode = value }; topologyChart.LayoutMode(value);public static TopologyChart Legend(TopologyChart topologyChart, TopologyLegend? value) #Sets TopologyChart.Legend: Gets or sets an optional legend.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyLegend?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Legend = value }; topologyChart.Legend(value);public static TopologyChart Legend(TopologyChart topologyChart, Action<TopologyLegend> configure) #Configures TopologyChart.Legend in place (creating it when not set): Gets or sets an optional legend.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyLegend>
- Configures the value.
public static TopologyChart MapViewport(TopologyChart topologyChart, ChartMapViewport value) #Sets TopologyChart.MapViewport: Gets or sets the longitude/latitude window used by geographic topology layouts.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Core.ChartMapViewport
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { MapViewport = value }; topologyChart.MapViewport(value);public static TopologyChart Node(TopologyChart topologyChart, TopologyNode item) #Adds an item to TopologyChart.Nodes: Gets the topology nodes.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- item ChartForgeX.Topology.TopologyNode
- The item.
public static TopologyChart Node(TopologyChart topologyChart, Action<TopologyNode> configure) #Creates an item, configures it and adds it to TopologyChart.Nodes: Gets the topology nodes.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyNode>
- Configures the new item before it is added.
public static TopologyChart NodeArtwork(TopologyChart chart, string nodeId, TopologyIconArtwork artwork, TopologyNodeDisplayMode displayMode = Artwork) #Applies node-specific artwork directly to an existing topology node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId 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.
public static TopologyChart NodeIcon(TopologyChart chart, string nodeId, string iconId, TopologyIconCatalog? catalog = null) #Applies a reusable icon definition to a node.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- nodeId string
- The node id.
- iconId string
- The icon id, for example network:switch.
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
- Optional icon catalog. When omitted, built-in packs are used.
public static TopologyChart Nodes(TopologyChart topologyChart, IEnumerable<TopologyNode> items) #Adds items to TopologyChart.Nodes: Gets the topology nodes.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyNode>
- The items, in order.
public static TopologyChart NodesOfKindIcon(TopologyChart chart, TopologyNodeKind kind, string iconId, TopologyIconCatalog? catalog = null) #Applies 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 string
- The icon id, for example common:certificate.
- catalog ChartForgeX.Topology.TopologyIconCatalog? = null
- Optional icon catalog. When omitted, built-in packs are used.
public static TopologyChart NodesOfKindStyle(TopologyChart chart, TopologyNodeKind kind, ChartColor? color = null, ChartColor? backgroundColor = null, string? iconId = null, TopologyIconCatalog? catalog = null) #Sets 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 ChartForgeX.Primitives.ChartColor? = null
- The optional node accent color.
- backgroundColor ChartForgeX.Primitives.ChartColor? = null
- The optional node surface fill color.
- iconId 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.
public static TopologyChart PathDecoration(TopologyChart topologyChart, TopologyPathDecoration item) #Adds an item to TopologyChart.PathDecorations: Gets optional captured paths painted behind graph entities in the authored coordinate domain.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- item ChartForgeX.Topology.TopologyPathDecoration
- The item.
public static TopologyChart PathDecorations(TopologyChart topologyChart, IEnumerable<TopologyPathDecoration> items) #Adds items to TopologyChart.PathDecorations: Gets optional captured paths painted behind graph entities in the authored coordinate domain.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyPathDecoration>
- The items, in order.
public static PreparedTopology Prepare(TopologyChart chart, TopologyRenderOptions? options = null) #Validates 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
Returns
PreparedTopologypublic static TopologyReport PrepareReport(TopologyChart chart, TopologyReportOptions? options = null) #Creates 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
Returns
TopologyReportpublic static PreparedTopology PrepareScenarioStep(TopologyChart chart, string scenarioId, int stepIndex, TopologyRenderOptions? options = null) #Prepares the topology with one scenario step highlighted and the rest of the diagram dimmed.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- scenarioId string
- The scenario id.
- stepIndex int
- The zero-based step index.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options. The caller's instance is not modified.
public static TopologyChart ReciprocalEdgeRouteBundles(TopologyChart chart, double spacing = 18) #Assigns centered orthogonal route lanes to reciprocal edge pairs that do not already have explicit lanes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- spacing double = 18
- The spacing between adjacent lanes in pixels.
public static TopologyResolvedScenario ResolveScenario(TopologyChart chart, string scenarioId) #Resolves a scenario against the topology, so each step knows its source, target, edge, label, and payload.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- scenarioId string
- The scenario id.
Exceptions
ArgumentExceptionโ The scenario does not exist or references missing nodes or edges.
public static void Save(TopologyChart chart, string path, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #Saves 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 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) #Saves sampled topology motion as animated PNG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path 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) #Saves the topology chart as BMP.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path 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) #Saves sampled topology motion as GIF.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path string
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
public static void SaveHtml(TopologyChart chart, string path, TopologyRenderOptions? options = null) #Saves the topology chart as a complete HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path string
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
public static void SaveInteractiveHtml(TopologyChart chart, string path, TopologyRenderOptions? options = null) #Saves a complete self-contained interactive topology HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path string
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public static void SaveInteractiveHtml(TopologyChart chart, string path, TopologyRenderOptions? options, Func<PreparedTopology, string> svgPresentation) #Saves interactive controls around a trusted detached SVG presentation of the same topology.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path string
- options ChartForgeX.Topology.TopologyRenderOptions?
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>
public static void SaveInteractiveHtml(TopologyChart chart, string path, TopologyRenderOptions? options, Func<PreparedTopology, string>? svgPresentation = null, Action<HtmlChartLocalization>? configureLocalization = null) #Saves a localized interactive page, optionally around a trusted detached SVG presentation.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- path string
- options ChartForgeX.Topology.TopologyRenderOptions?
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>? = null
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>? = null
public static void SavePng(TopologyChart chart, string path, TopologyRenderOptions? options = null) #Saves the topology chart as PNG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path 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) #Saves the topology chart as PPM.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path 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) #Saves the topology chart as an opaque raster image file.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path 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) #Saves 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 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) #Saves the topology chart as SVG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path 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) #Saves the topology chart as TIFF.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- path string
- The output path.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
- imageOptions ChartForgeX.Core.RasterImageOptions? = null
- Optional raster export options.
public static TopologyChart Scenario(TopologyChart topologyChart, TopologyScenario item) #Adds an item to TopologyChart.Scenarios: Gets reusable scenario overlays that describe paths through the topology.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- item ChartForgeX.Topology.TopologyScenario
- The item.
public static TopologyChart Scenario(TopologyChart topologyChart, Action<TopologyScenario> configure) #Creates an item, configures it and adds it to TopologyChart.Scenarios: Gets reusable scenario overlays that describe paths through the topology.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyScenario>
- Configures the new item before it is added.
public static TopologyChart Scenarios(TopologyChart topologyChart, IEnumerable<TopologyScenario> items) #Adds items to TopologyChart.Scenarios: Gets reusable scenario overlays that describe paths through the topology.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyScenario>
- The items, in order.
public static TopologyChart SiblingGrouping(TopologyChart topologyChart, TopologySiblingGrouping? value) #Sets TopologyChart.SiblingGrouping: Gets or sets the opt-in sibling grouping policy. Null, the default, keeps every node as authored.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologySiblingGrouping?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { SiblingGrouping = value }; topologyChart.SiblingGrouping(value);public static TopologyChart SiblingGrouping(TopologyChart topologyChart, Action<TopologySiblingGrouping> configure) #Configures a copy of TopologyChart.SiblingGrouping (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets the opt-in sibling grouping policy. Null, the default, keeps every node as authored.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologySiblingGrouping>
- Configures the copy.
public static TopologyChart Subtitle(TopologyChart topologyChart, string? value) #Sets TopologyChart.Subtitle: Gets or sets the chart subtitle.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Subtitle = value }; topologyChart.Subtitle(value);public static TopologyChart Theme(TopologyChart chart, Action<VisualThemeBuilder> configure) #Configures the current topology theme.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- configure System.Action<ChartForgeX.Themes.VisualThemeBuilder>
- The theme customization callback.
public static TopologyChart Theme(TopologyChart topologyChart, VisualTheme value) #Sets TopologyChart.Theme: Gets or sets an optional topology theme.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Theme = value }; topologyChart.Theme(value);public static TopologyChart ThemeMode(TopologyChart topologyChart, ThemeMode value) #Sets TopologyChart.ThemeMode: Gets or sets the explicit shared theme mode.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.ThemeMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { ThemeMode = value }; topologyChart.ThemeMode(value);public static TopologyChart Title(TopologyChart topologyChart, string? value) #Sets TopologyChart.Title: Gets or sets the chart title.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Title = value }; topologyChart.Title(value);public static byte[] ToApng(TopologyChart chart, TopologyRenderOptions? options = null, TopologyMotionOptions? motion = null) #Samples topology route motion into animated PNG bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
Returns
byte[]public static byte[] ToBmp(TopologyChart chart, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #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
byte[] A BMP image.public static byte[] ToGif(TopologyChart chart, TopologyRenderOptions? options = null, TopologyMotionOptions? motion = null) #Samples topology route motion into animated GIF bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- motion ChartForgeX.Topology.TopologyMotionOptions? = null
Returns
byte[]public static string ToGraphExplorerHtmlFragment(TopologyChart chart, Action<TopologyGraphSceneOptions>? configureScene = null, Action<HtmlGraphExplorerOptions>? configureHtml = null) #Renders 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
string A self-contained HTML fragment.public static string ToGraphExplorerHtmlPage(TopologyChart chart, Action<TopologyGraphSceneOptions>? configureScene = null, Action<HtmlGraphExplorerOptions>? configureHtml = null) #Renders 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
string A complete self-contained HTML document.public static GraphScene ToGraphScene(TopologyChart chart, Action<TopologyGraphSceneOptions>? configure = null) #Projects 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.
public static string ToHtmlFragment(TopologyChart chart, TopologyRenderOptions? options = null) #Renders the topology chart to an HTML fragment.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
string An embeddable HTML fragment.public static string ToHtmlFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options = null) #Renders 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
string An embeddable HTML fragment that expects the host document to register topology HTML assets.public static string ToHtmlPage(TopologyChart chart, TopologyRenderOptions? options = null) #Renders 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
string A complete HTML page.public static string ToInteractiveHtmlFragment(TopologyChart chart, TopologyRenderOptions? options = null) #Renders a self-contained interactive topology HTML fragment.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
Returns
stringpublic static string ToInteractiveHtmlFragment(TopologyChart chart, TopologyRenderOptions? options, Action<HtmlChartLocalization> configureLocalization) #Renders an interactive fragment with localized control messages.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions?
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>
Returns
stringpublic static string ToInteractiveHtmlFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options = null) #Renders interactive topology markup without renderer-owned assets.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
Returns
stringpublic static string ToInteractiveHtmlFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options, Action<HtmlChartLocalization> configureLocalization) #Renders localized controls without renderer-owned stylesheet or script assets.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions?
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>
Returns
stringpublic static string ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options = null) #Renders a complete self-contained interactive topology HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
Returns
stringpublic static string ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options, Func<PreparedTopology, string> svgPresentation) #Renders 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, string>
Returns
stringpublic static string ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options, Func<PreparedTopology, string>? svgPresentation = null, Action<HtmlChartLocalization>? configureLocalization = null) #Renders a localized interactive page, optionally around a trusted detached SVG presentation.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The source topology.
- options ChartForgeX.Topology.TopologyRenderOptions?
- Native render options, or null for the chart defaults.
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>? = null
- Optional producer for the adapter's detached prepared topology.
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>? = null
- Optional control-message configuration; authored facts remain unchanged.
Returns
stringpublic static byte[] ToPng(TopologyChart chart, TopologyRenderOptions? options = null) #Renders the topology chart to PNG bytes.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
byte[] A PNG image.public static byte[] ToPpm(TopologyChart chart, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #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
byte[] A PPM image.public static byte[] ToRasterImage(TopologyChart chart, RasterImageFormat format, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #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
byte[] Encoded raster image bytes.public static RgbaImage ToRgbaImage(TopologyChart chart, TopologyRenderOptions? options = null) #Renders 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.
public static VisualStory ToScenarioStory(TopologyChart chart, string scenarioId, TopologyScenarioStoryOptions? options = null) #Builds a visual story with one scene per scenario step.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- scenarioId string
- The scenario id.
- options ChartForgeX.Topology.TopologyScenarioStoryOptions? = null
- Optional story options.
public static SequenceArtifact ToSequenceArtifact(TopologyChart chart, string scenarioId) #Projects a scenario into the matching sequence diagram, drawn in the topology's visual language: participants are node cards (icon, subtitle, status), groups become participant bands, messages use the topology's neutral edge color with label pills, replies are dashed, and failed calls take the critical status color.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- scenarioId string
- The scenario id.
Returns
SequenceArtifact A sequence artifact whose messages carry TopologyChartExtensions.ScenarioStepMetadataKey.public static string ToSvg(TopologyChart chart, TopologyRenderOptions? options = null) #Renders the topology chart to SVG.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology chart.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional render options.
Returns
string Complete SVG markup.public static string ToSvg(TopologyChart chart, string idScope, TopologyRenderOptions? options = null) #Renders 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 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
string Complete SVG markup.public static byte[] ToTiff(TopologyChart chart, TopologyRenderOptions? options = null, RasterImageOptions? imageOptions = null) #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
byte[] A TIFF image.public static VisualArtifact ToVisualArtifact(TopologyChart topology, VisualArtifactSourceLanguage sourceLanguage = Native) #Wraps a topology diagram in a host-inspectable visual artifact envelope.
Parameters
- topology ChartForgeX.Topology.TopologyChart
- sourceLanguage ChartForgeX.VisualArtifacts.VisualArtifactSourceLanguage = Native
Returns
VisualArtifactpublic static TopologyChart UpdateEdge(TopologyChart chart, string edgeId, Action<TopologyEdge> configure) #Configures the edge with the given id.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The chart.
- edgeId string
- The edge id.
- configure System.Action<ChartForgeX.Topology.TopologyEdge>
- Configures the edge in place.
Exceptions
ArgumentExceptionโ No edge has the id.
public static TopologyChart UpdateEdges(TopologyChart chart, TopologyEdgeKind kind, Action<TopologyEdge> configure) #Configures every edge of the given kind.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The chart.
- kind ChartForgeX.Topology.TopologyEdgeKind
- The edge kind to match.
- configure System.Action<ChartForgeX.Topology.TopologyEdge>
- Configures each matching edge in place.
public static TopologyChart UpdateGroup(TopologyChart chart, string groupId, Action<TopologyGroup> configure) #Configures the group with the given id.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The chart.
- groupId string
- The group id.
- configure System.Action<ChartForgeX.Topology.TopologyGroup>
- Configures the group in place.
Exceptions
ArgumentExceptionโ No group has the id.
public static TopologyChart UpdateNode(TopologyChart chart, string nodeId, Action<TopologyNode> configure) #Configures the node with the given id.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The chart.
- nodeId string
- The node id.
- configure System.Action<ChartForgeX.Topology.TopologyNode>
- Configures the node in place.
Exceptions
ArgumentExceptionโ No node has the id.
public static TopologyChart UpdateNodes(TopologyChart chart, TopologyNodeKind kind, Action<TopologyNode> configure) #Configures every node of the given kind.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The chart.
- kind ChartForgeX.Topology.TopologyNodeKind
- The node kind to match.
- configure System.Action<ChartForgeX.Topology.TopologyNode>
- Configures each matching node in place.
public static TopologyChart Viewport(TopologyChart topologyChart, TopologyViewport value) #Sets TopologyChart.Viewport: Gets the viewport used by renderers.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- value ChartForgeX.Topology.TopologyViewport
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Viewport = value }; topologyChart.Viewport(value);public static TopologyChart Viewport(TopologyChart topologyChart, Action<TopologyViewport> configure) #Configures TopologyChart.Viewport in place (creating it when not set): Gets the viewport used by renderers.
Parameters
- topologyChart ChartForgeX.Topology.TopologyChart
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyViewport>
- Configures the value.
public static TopologyMotionPresentation WithMotion(TopologyChart chart, TopologyMotionOptions motion, TopologyRenderOptions? options = null) #Prepares one detached native topology and adds explicit motion policy.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- motion ChartForgeX.Topology.TopologyMotionOptions
- options ChartForgeX.Topology.TopologyRenderOptions? = null
Returns
TopologyMotionPresentationpublic static TopologyMotionPresentation WithMotion(TopologyChart chart, TopologyMotionOptions motion, TopologyRenderOptions? options, string? preferredScenarioId) #Prepares motion with a preferred route scenario independently of static highlighting.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- motion ChartForgeX.Topology.TopologyMotionOptions
- options ChartForgeX.Topology.TopologyRenderOptions?
- preferredScenarioId string?
Returns
TopologyMotionPresentationpublic static void WriteApng(TopologyChart chart, Stream stream, TopologyRenderOptions? options = null, TopologyMotionOptions? motion = null) #Writes 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) #Writes 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) #Writes 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) #Writes 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) #Writes 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) #Writes 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.