Skip to content
ChartForgeX
Class

GraphExplorerExtensions

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
static

Provides convenience methods for rendering graph scenes through the HTML graph explorer adapter.

Inheritance

  • object
  • GraphExplorerExtensions

Methods

public static string ToGraphExplorerHtmlFragment(GraphScene scene, Action<HtmlGraphExplorerOptions>? configure = null) #

Renders the graph scene to an embeddable fragment with inline assets.

Parameters

scene ChartForgeX.Interactivity.GraphScene required
The graph scene to render.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null optional
Optional adapter configuration callback.

Returns

string An embeddable HTML fragment.
public static string ToGraphExplorerHtmlPage(GraphScene scene, Action<HtmlGraphExplorerOptions>? configure = null) #

Renders the graph scene to a complete self-contained HTML page.

Parameters

scene ChartForgeX.Interactivity.GraphScene required
The graph scene to render.
configure System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null optional
Optional adapter configuration callback.

Returns

string A complete HTML document.