The multi-role relation grapher is more powerful, but also slow.
Use background tasks to calculate the graph. Store the graph status via a Redis key.
On request from a client, return a job status JSON response. The client can repeatedly poll the job status until the job completes, then access the complete JSON response.
The multi-role relation grapher is more powerful, but also slow.
Use background tasks to calculate the graph. Store the graph status via a Redis key.
On request from a client, return a job status JSON response. The client can repeatedly poll the job status until the job completes, then access the complete JSON response.