Genogram disabling the "delete" button functionality

When a node is selected on the genogram diagram, pressing the “delete” key deletes that node. How can I disable this. I don’t want it to any react when I press the “delete” button.

You have several choices, depending on exactly the behavior that you want.

  • you could set Part.deletable to false on the node templates
  • you could set Diagram.allowDelete to false in the diagram initialization
  • you could set Diagram.isReadOnly to true in the diagram initialization

Read about these choices and others at: GoJS User Permissions -- Northwoods Software

1 Like

Thanks walter