MCPcopy
hub / github.com/clientIO/joint / setPosition

Method setPosition

packages/joint-core/test/ts/toolsView.test.ts:46–48  ·  view source on GitHub ↗
(view: dia.ElementView, coordinates: dia.Point)

Source from the content-addressed store, hash-verified

44 }
45
46 protected setPosition(view: dia.ElementView, coordinates: dia.Point): void {
47 view.model.set('test', coordinates.y);
48 }
49
50 protected resetPosition(view: dia.ElementView): void {
51 view.model.set('test', 0);

Callers 2

Control.mjsFile · 0.45
DirectedGraph.mjsFile · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected