Options
All
  • Public
  • Public/Protected
  • All
Menu

Action to add or remove a child in a model.

Constructor: mxChildChange

Constructs a change of a child in the specified model.

Hierarchy

  • mxChildChange

Index

Constructors

constructor

Properties

child

child: mxCell

index

index: number

model

parent

parent: mxCell

previous

previous: any

previousIndex

previousIndex: number

Methods

connect

  • connect(cell: mxCell, isConnect: boolean): void
  • Disconnects the given cell recursively from its terminals and stores the previous terminal in the cell's terminals.

    warning

    doc from mxGraph source code is incorrect

    Parameters

    • cell: mxCell
    • isConnect: boolean

    Returns void

execute

  • execute(): void
  • Changes the parent of child` using <mxGraphModel.parentForCellChanged> and removes or restores the cell's connections.

    Returns void

Generated using TypeDoc