Class: SchematicEditor

SchematicEditor(canvasId, componentModels)

new SchematicEditor(canvasId, componentModels)

Creates an instance of SchematicEditor.

Parameters:
Name Type Description
canvasId string

The ID of the HTML canvas element.

componentModels object

An object containing arrays of available component models (e.g., { cables: [], derivadores: [], ... }).

Source: