Answer layout requests in a worker: lay out each graph, report its progress whenever the whole percentage changes,
and post the result as JSON, or the error that stopped it. A worker file needs only this call, so callers can host the
layout in a worker of their own and talk to it with forceGraphLayoutInWorker.
Answer layout requests in a worker: lay out each graph, report its progress whenever the whole percentage changes, and post the result as JSON, or the error that stopped it. A worker file needs only this call, so callers can host the layout in a worker of their own and talk to it with forceGraphLayoutInWorker.