Class
VisNetworkMigration
ChartForgeX.Interactivity
Translates a vis-network document (the nodes, edges and options JSON that HtmlForgeX 2.x and other vis-network hosts emit, plus their clustering calls) into a GraphScene. Every option it reads gets a diagnostic saying whether it was mapped, approximated, not needed or unsupported, so a migration never drops a setting silently.
Inheritance
- object
- VisNetworkMigration
Methods
public static VisNetworkMigrationResult Translate(string id, string title, VisNetworkMigrationInput input) #Translates a vis-network document into a graph scene.
Parameters
- id string
- The scene id.
- title string
- The scene title.
- input ChartForgeX.Interactivity.VisNetworkMigrationInput
- The vis-network JSON and clustering calls.
Returns
VisNetworkMigrationResult The scene and diagnostics grouped by option path, outcome and message.Exceptions
FormatException– A JSON document is not valid JSON, for example because it holds a JavaScript function.