MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / setId

Function setId

chapter24/docs/d3-graphviz.js:1044–1047  ·  view source on GitHub ↗
(datum, parentData)

Source from the content-addressed store, hash-verified

1042 }
1043 }
1044 function setId(datum, parentData) {
1045 var id = (parentData ? parentData.id + '.' : '') + datum.key;
1046 datum.id = id;
1047 }
1048 function addToDictionary(datum) {
1049 dictionary[datum.id] = datum;
1050 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected