Hi, I have a number of Node-Edge diagrams and each of them may contain the same nodes. See attached diagrams for examples.
The text on the diagrams are a little small to read but essentially each node represents a location. Below is a list of location for each Node-Edge diagram.
Core:(ASEQ|AVN|CGL|ERN|HNP|KKU|LNH|OTB|PNP|SKT|SLF|TEA|TGP|TVC|WTA|WTE|EGT|GDS|MHI|SDM|BLM|RVC|TTBM|TTNN|TTTG|TTWN|TTTU|TTGM|TTIN|TTDN|TQST|DUR|TTCH|TTAR|NAT|TTLE|ASGX|TTFH)
Auckland:
(CWFS|ASEQ|NDC|SKT|TVC|WTA|PAN|AKO|PHL|UDC|TCDC|TMDR|VCDC|ICDC|DTDC|AKDC|AKV|PADC|MTET|STDC|ASGX|RVA|TTFH)
Upper North:
(HNP|HNT|KPU|PPO|ROT|SKT|TEA|TTU|TVC|WTA|WHP|HIK|HKA|HNA|KPA|MTA|PAE|TMA|TMDR|TTHT|TTRO|TTTG|NPWH|TTTP|DHDC|TTWK|SWRI|TFWF|TTFH)
I want to be able to give a particular node a fixed coordinate if it appears on that Node-Edge diagram. For example: SKT appears in all 3 and I want it to be placed in the same point. Is there a way to do this? (e.g.: manual configuration of the .json file)?
Hi Bing, there is an item on the backlog to be able to link node positions to columns in your data. Unfortunately this feature is not yet available, so it will need to be done manually for now. In the json of your dashboard, you can find your node-edges in the Components property. Each of them will have InputData, which contains all component specific settings. One of these settings is also the positions of the nodes in the volatileSettings:
The x, y represents the center of your node, and the initial window of the node-edge is a grid from [-50, -50] (bottom left) to [50, 50] (top right).
So inside this object you can configure a fixed position for each node, and copy over the settings to different node-edges if your want them to have the same consistent positions. (probably have to replace the query id in each of them).