Skip to content
ChartForgeX
Class

TopologyHtmlOptions

ChartForgeX.Topology

Namespace
ChartForgeX.Topology
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Interactive HTML page controls, panels and content security settings. Configure it through TopologyRenderOptions.Html.

Inheritance

  • object
  • TopologyHtmlOptions

Usage

Explore 81 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 39

Accepted by parameters 42

Constructors

public TopologyHtmlOptions() #

Properties

public bool Interactions { get; set; } #

Gets or sets whether complete HTML pages should include lightweight selection interactions. Defaults to static, script-free HTML.

public bool ViewportControls { get; set; } #

Gets or sets whether interactive HTML pages should include lightweight zoom and pan controls.

public double NarrowMinimumHeight { get; set; } #

Gets or sets the minimum drawing height in pixels for interactive viewports in containers up to 640 pixels wide. Zero preserves proportional sizing.

public bool ExportControls { get; set; } #

Gets or sets whether interactive HTML pages should include lightweight SVG and PNG export controls.

public bool ForceGraphControls { get; set; } #

Gets or sets whether force-directed HTML pages should include graph exploration controls.

public bool FindControls { get; set; } #

Gets or sets whether interactive HTML pages render a find bar that highlights nodes by text, group or kind and moves the viewport to them.

public bool SynchronizedState { get; set; } #

Gets or sets whether interactive HTML pages should synchronize selection and viewport state with wrappers in the same sync group.

public bool ScenarioControls { get; set; } #

Gets or sets whether interactive HTML pages should render scenario picker controls when scenarios are present.

public TopologyHtmlScenarioControlMode ScenarioControlMode { get; set; } #

Gets or sets how interactive HTML pages should render scenario controls.

public bool ScenarioPanel { get; set; } #

Gets or sets whether interactive HTML pages should render a compact scenario detail panel when scenarios are present.

public bool ScenarioSequence { get; set; } #

Gets or sets whether interactive HTML pages show each scenario's matching sequence diagram and highlight the active step's message in it.

public bool SelectionPanel { get; set; } #

Gets or sets whether interactive HTML pages should render a compact selected-record panel for clicked nodes, edges, and groups.

public bool FullscreenControl { get; set; } #

Gets or sets whether interactive HTML pages should render a fullscreen viewport control.

public TopologyHtmlControlPlacement ControlPlacement { get; set; } #

Gets or sets where viewport, fullscreen, and export controls are placed in interactive HTML output.

public TopologyHtmlOpeningView OpeningView { get; set; } #

Gets or sets the view an interactive HTML topology with viewport controls opens at.

public TopologyHtmlWheelZoom WheelZoom { get; set; } #

Gets or sets how the mouse wheel acts on an interactive HTML topology with viewport controls.

public bool ScenarioUrlState { get; set; } #

Gets or sets whether interactive HTML pages should read and update scenario state from the page query string.

public string? SyncGroupName { get; set; } #

Gets or sets the optional HTML synchronization group name used by topology wrappers on the same page.

public string? Nonce { get; set; } #

Gets or sets the content security policy nonce for topology HTML. When set, the HTML carries no style attributes: every inline style and style element moves into one style element with this nonce (see HtmlStrictStyles), and interactive script elements carry it too.

Extension Methods

public static TopologyHtmlOptions ControlPlacement(TopologyHtmlOptions topologyHtmlOptions, TopologyHtmlControlPlacement value) #

Sets TopologyHtmlOptions.ControlPlacement: Gets or sets where viewport, fullscreen, and export controls are placed in interactive HTML output.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value ChartForgeX.Topology.TopologyHtmlControlPlacement required
The value.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ControlPlacement = value };    topologyHtmlOptions.ControlPlacement(value);
public static TopologyHtmlOptions ExportControls(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.ExportControls: Gets or sets whether interactive HTML pages should include lightweight SVG and PNG export controls.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ExportControls = value };    topologyHtmlOptions.ExportControls(value);
public static TopologyHtmlOptions FindControls(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.FindControls: Gets or sets whether interactive HTML pages render a find bar that highlights nodes by text, group or kind and moves the viewport to them.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { FindControls = value };    topologyHtmlOptions.FindControls(value);
public static TopologyHtmlOptions ForceGraphControls(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.ForceGraphControls: Gets or sets whether force-directed HTML pages should include graph exploration controls.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ForceGraphControls = value };    topologyHtmlOptions.ForceGraphControls(value);
public static TopologyHtmlOptions FullscreenControl(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.FullscreenControl: Gets or sets whether interactive HTML pages should render a fullscreen viewport control.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { FullscreenControl = value };    topologyHtmlOptions.FullscreenControl(value);
public static TopologyHtmlOptions Interactions(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.Interactions: Gets or sets whether complete HTML pages should include lightweight selection interactions. Defaults to static, script-free HTML.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { Interactions = value };    topologyHtmlOptions.Interactions(value);
public static TopologyHtmlOptions NarrowMinimumHeight(TopologyHtmlOptions topologyHtmlOptions, double value) #

Sets TopologyHtmlOptions.NarrowMinimumHeight: Gets or sets the minimum drawing height in pixels for interactive viewports in containers up to 640 pixels wide. Zero preserves proportional sizing.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value double required
The value.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { NarrowMinimumHeight = value };    topologyHtmlOptions.NarrowMinimumHeight(value);
public static TopologyHtmlOptions Nonce(TopologyHtmlOptions topologyHtmlOptions, string? value) #

Sets TopologyHtmlOptions.Nonce: Gets or sets the content security policy nonce for topology HTML. When set, the HTML carries no style attributes: every inline style and style element moves into one style element with this nonce (see HtmlStrictStyles), and interactive script elements carry it too.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value string? required
The value.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { Nonce = value };    topologyHtmlOptions.Nonce(value);
public static TopologyHtmlOptions OpeningView(TopologyHtmlOptions topologyHtmlOptions, TopologyHtmlOpeningView value) #

Sets TopologyHtmlOptions.OpeningView: Gets or sets the view an interactive HTML topology with viewport controls opens at.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value ChartForgeX.Topology.TopologyHtmlOpeningView required
The value.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { OpeningView = value };    topologyHtmlOptions.OpeningView(value);
public static TopologyHtmlOptions ScenarioControlMode(TopologyHtmlOptions topologyHtmlOptions, TopologyHtmlScenarioControlMode value) #

Sets TopologyHtmlOptions.ScenarioControlMode: Gets or sets how interactive HTML pages should render scenario controls.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value ChartForgeX.Topology.TopologyHtmlScenarioControlMode required
The value.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ScenarioControlMode = value };    topologyHtmlOptions.ScenarioControlMode(value);
public static TopologyHtmlOptions ScenarioControls(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.ScenarioControls: Gets or sets whether interactive HTML pages should render scenario picker controls when scenarios are present.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ScenarioControls = value };    topologyHtmlOptions.ScenarioControls(value);
public static TopologyHtmlOptions ScenarioPanel(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.ScenarioPanel: Gets or sets whether interactive HTML pages should render a compact scenario detail panel when scenarios are present.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ScenarioPanel = value };    topologyHtmlOptions.ScenarioPanel(value);
public static TopologyHtmlOptions ScenarioSequence(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.ScenarioSequence: Gets or sets whether interactive HTML pages show each scenario's matching sequence diagram and highlight the active step's message in it.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ScenarioSequence = value };    topologyHtmlOptions.ScenarioSequence(value);
public static TopologyHtmlOptions ScenarioUrlState(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.ScenarioUrlState: Gets or sets whether interactive HTML pages should read and update scenario state from the page query string.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ScenarioUrlState = value };    topologyHtmlOptions.ScenarioUrlState(value);
public static TopologyHtmlOptions SelectionPanel(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.SelectionPanel: Gets or sets whether interactive HTML pages should render a compact selected-record panel for clicked nodes, edges, and groups.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { SelectionPanel = value };    topologyHtmlOptions.SelectionPanel(value);
public static TopologyHtmlOptions SyncGroupName(TopologyHtmlOptions topologyHtmlOptions, string? value) #

Sets TopologyHtmlOptions.SyncGroupName: Gets or sets the optional HTML synchronization group name used by topology wrappers on the same page.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value string? required
The value.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { SyncGroupName = value };    topologyHtmlOptions.SyncGroupName(value);
public static TopologyHtmlOptions SynchronizedState(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.SynchronizedState: Gets or sets whether interactive HTML pages should synchronize selection and viewport state with wrappers in the same sync group.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { SynchronizedState = value };    topologyHtmlOptions.SynchronizedState(value);
public static TopologyHtmlOptions ViewportControls(TopologyHtmlOptions topologyHtmlOptions, bool value = true) #

Sets TopologyHtmlOptions.ViewportControls: Gets or sets whether interactive HTML pages should include lightweight zoom and pan controls.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { ViewportControls = value };    topologyHtmlOptions.ViewportControls(value);
public static TopologyHtmlOptions WheelZoom(TopologyHtmlOptions topologyHtmlOptions, TopologyHtmlWheelZoom value) #

Sets TopologyHtmlOptions.WheelZoom: Gets or sets how the mouse wheel acts on an interactive HTML topology with viewport controls.

Parameters

topologyHtmlOptions ChartForgeX.Topology.TopologyHtmlOptions required
The instance.
value ChartForgeX.Topology.TopologyHtmlWheelZoom required
The value.

Returns

TopologyHtmlOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Topology.TopologyHtmlOptions { WheelZoom = value };    topologyHtmlOptions.WheelZoom(value);