@maxgraph/core
    Preparing search index...

    Class ChildChange

    Action to add or remove a child in a model.

    Implements

    Index

    Constructors

    Properties

    child: Cell
    index: number
    parent: null | Cell
    previous: null | Cell
    previousIndex: number

    Methods

    • 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