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

Method addCell

examples/isometric/src/obstacles.ts:45–48  ·  view source on GitHub ↗
(cell: dia.Cell)

Source from the content-addressed store, hash-verified

43 }
44
45 protected addCell(cell: dia.Cell) {
46 if (cell.isLink()) return;
47 this.toggleArea(this.getCellArea(cell.getBBox()), cell.cid);
48 }
49
50 protected removeCell(cell: dia.Cell) {
51 if (cell.isLink()) return;

Callers 15

constructorMethod · 0.95
updateMethod · 0.95
useCreateLinkFunction · 0.80
useCreateElementFunction · 0.80
ResizableNodeFunction · 0.80
ToolBarFunction · 0.80
AppFunction · 0.80
links.jsFile · 0.80
cell.jsFile · 0.80
layers.jsFile · 0.80

Calls 2

toggleAreaMethod · 0.95
getCellAreaMethod · 0.95

Tested by

no test coverage detected