Constructors

Properties

_bounding: Float32Array = ...
_nodes: LGraphNode[] = []
_pos: Float32Array
_size: Float32Array
color: string
font: string
fontSize: number = LiteGraph.DEFAULT_GROUP_FONT_SIZE
graph?: LGraph = null
title: string

Accessors

Methods

  • checks if a point is inside the shape of a node

    Parameters

    • x: number
    • y: number
    • margin: number = 0
    • skipTitle: boolean = false

    Returns boolean

  • Forces to redraw or the main canvas (LGraphNode) or the bg canvas (links)

    Parameters

    • fg: boolean
    • bg: boolean = false

    Returns void