@maxgraph/core
    Preparing search index...

    Class ChildChange

    Action to add or remove a child in a model.

    Implements

    Index
    child: Cell
    index: number
    parent: Cell | null
    previous: Cell | null
    previousIndex: number
    • Connects the source and the target of the given cell.

      If isConnect is true, the source and target terminals are referenced as such in the model. Otherwise, they are removed.

      Parameters

      • cell: Cell
      • isConnect: boolean = true

      Returns void