Class
GraphExplorerExtensions
ChartForgeX.Interactivity.Html
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
- The graph scene to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- 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
- The graph scene to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- Optional adapter configuration callback.
Returns
string A complete HTML document.