Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6969

How to freeze the diagram?

$
0
0

@tesicg wrote:

Is it possible to freeze the diagram that is to make all objects on diagram to be non-movable, non-resizable, non-editable, non-relinkable, etc.?

I've tried the following code, but it doesn't work:

myDiagram = $(go.Diagram, "myDiagramDiv",
{
    initialContentAlignment: go.Spot.Center,
    allowDrop: true, // Nodes from the Palette can be dropped into the Diagram
    allowDelete: false,
    allowLink: false,
    allowMove: false,
    allowRelink: false,
    allowReshape: false,
    allowResize: false,
    allowSelect: false,
    allowTextEdit: false,
    ...

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles