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

Extending undo

$
0
0

@Doogal wrote:

Hi

We are currently using the undo manager in GoJS which works well. However we have a couple of issues due to the way our application is implemented

Our documents can contain multiple diagrams. We reuse the same GoJS instance for each diagram and we are losing the undo history when changing between different diagrams. I think this may be fixable by using addModel for each of our models. Is that right?

We'd also like to include other changes to our documents in undo. i.e we have text fields that are not related to the diagram. We also allow users to re-order the diagrams and other objects in our documents. Can we extend undo with our own changes or would we need to implement our own undo manager?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles