Is there a way to update the graph/paper or all modified elements in the graph in JointJS?

820 views Asked by At

Basically I'm receiving Cell attributes from a file and I want to replace the corresponding Cells in the graph with the updated attributes but I can't seem to refresh the graph after I've applied the new attributes.

Based on the JointJS docs, it seems like graph.resetCells is what I'm looking for but it doesn't actually do anything when I try it. Any ideas?

1

There are 1 answers

3
Tremmillicious On
paper.render()

paper is the view and graph is the model