Updates the given object, notifying any renderers to do a repaint.
update(object: Base, updates?: ObjectData): void;
|object||Base||Either a Node, Group, Port or Edge, or, as a string, the id of some Node, Group, Port or Edge.|
|updates||ObjectData||An object with path->value pairs. Path can be in dotted notation. You do not actually have to supply this, although in most cases you will want to. But there are edge cases in which you might simply wish to kick off a repaint.|