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

Function get

packages/joint-react/src/data/create-ports-data.ts:55–58  ·  view source on GitHub ↗
(cellId: dia.Cell.ID, portId: string)

Source from the content-addressed store, hash-verified

53 }
54 },
55 get(cellId: dia.Cell.ID, portId: string) {
56 const id = getId(cellId, portId);
57 return data.ports.get(id);
58 },
59 clear() {
60 data.ports.clear();
61 },

Callers

nothing calls this directly

Calls 2

getIdFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected