Forum Discussion
SuryaExpert
7 years agoQrew Assistant Captain
Awesome Dan. You are the ultimate!
- _anomDiebolt_7 years agoQrew Elite>Are you saying the script will generate those diagrams or is that just for illustration purpose
The script could be adopted to generate those diagrams but they were manually created. By virtue of traversing the relationship tree and retrieving all the relevant fields you can perform arbitrary actions for each node visited. By actions I mean arbitrary JavaScript actions not native QuickBase actions. One way to generate a diagram would be to render each node into a segment of GraphViz code. See this post:
IMA Graph Theorist - Does QuickBase Support GraphViz Fields?
https://community.quickbase.com/quickbase/topics/ima-graph-theorist-does-quickbase-support-graphviz-...
GraphViz Fields
https://haversineconsulting.quickbase.com/db/bmpkzhcsa?a=q&qid=1 - _anomDiebolt_7 years agoQrew EliteFWIW, I quickly tried to generate the GraphViz code for the org chart. I don't know how to include the image but all you have to do is generate a small amount of GraphViz for each node/record you visit in the for loop. See:
https://haversineconsulting.quickbase.com/db/bmpkzhcsa?a=dr&rid=38 - SuryaExpert7 years agoQrew Assistant CaptainAwesome Dan. Thanks again.