Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

VisNetworkGraph

Namespace ChartForgeX.Interactivity
Assembly ChartForgeX.Interactivity
Modifiers sealed

Provides a typed compatibility envelope for common vis-network data and option concepts. The converter keeps GraphScene as the reusable ChartForgeX graph contract.

Inheritance

  • Object
  • VisNetworkGraph

Usage

Explore 3 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.

Constructors

public VisNetworkGraph() #

Methods

public VisNetworkGraph AddEdge(String id, String from, String to, String? label = null, Action<VisNetworkEdge>? configure = null) #
Returns: VisNetworkGraph

Adds an edge to the compatibility graph.

Parameters

id System.String requiredposition: 0
from System.String requiredposition: 1
to System.String requiredposition: 2
label System.String? = null optionalposition: 3
configure System.Action<ChartForgeX.Interactivity.VisNetworkEdge>? = null optionalposition: 4
public VisNetworkGraph AddNode(String id, String label, Action<VisNetworkNode>? configure = null) #
Returns: VisNetworkGraph

Adds a node to the compatibility graph.

Parameters

id System.String requiredposition: 0
label System.String requiredposition: 1
configure System.Action<ChartForgeX.Interactivity.VisNetworkNode>? = null optionalposition: 2
public static VisNetworkGraph Create() #
Returns: VisNetworkGraph

Creates a new compatibility graph.

Returns

A graph that can be converted to GraphScene.

public GraphScene ToGraphScene(String id, String title) #
Returns: GraphScene

Converts this compatibility graph into the reusable ChartForgeX graph scene model.

Parameters

id System.String requiredposition: 0
title System.String requiredposition: 1

Properties

public List<VisNetworkNode> Nodes { get; } #

Gets the vis-style node collection.

public List<VisNetworkEdge> Edges { get; } #

Gets the vis-style edge collection.

public Dictionary<String, VisNetworkGroupOptions> Groups { get; } #

Gets group defaults keyed by group id.

public VisNetworkOptions Options { get; } #

Gets vis-style graph options.