HtmlForgeX

API Reference

Class

VisNetworkCustomShape

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents a custom node shape renderer for VisNetwork.

Inheritance

  • Object
  • VisNetworkCustomShape

Constructors

VisNetworkCustomShape 2 overloads
public VisNetworkCustomShape(String name, String renderFunction) #

Creates a custom shape with the specified render function.

Parameters

name System.String requiredposition: 0
The name of the shape.
renderFunction System.String requiredposition: 1
The JavaScript function code.
public VisNetworkCustomShape() #

Default constructor.

Properties

public String RenderFunction { get; set; } #
JsonIgnore

Gets or sets the JavaScript function code for rendering the shape.

public String Name { get; set; } #
JsonIgnore

Gets or sets the name of the custom shape.