Add the given object to the layer in the global dictionary. It searches for `layer` in the global dictionary `layerBlocks`. If found, it appends the `obj` to the `layer`; otherwise, it adds the `layer` to `layerBlocks` first, and then adds `obj`. Parameters ---------- o
(obj, layer)
source not stored for this graph (policy: none)