Import without auto-arrange
Posted: Mon Jul 02, 2018 1:13 pm
Hi! I have a not obvious issue.
Let's start with the initial story. We have really big dialogues in our database as you can see below. It's big but readable due to good positions of nodes. We can find what we need very easily. When I click "Arrange nodes" they change their positions to a complete mess so it's impossible to manage such a mixed dialogue.
Before auto arrange: https://i.imgur.com/z3oHM4G.png
After auto arrange: https://i.imgur.com/ZlnwbWd.png
Let's switch to the real issue: When I export the database to CSV in order to get translations and then I import (by import, I mean import and merge with the existing one overriding conflicting nodes) it again to the database I see that all nodes changed their positions to exactly the same positions like after "auto arrange" function. I assume that auto-arrange happens automatically during the import. The question is: How to get the original positions of nodes or how to recover them after the import?
Before import: https://i.imgur.com/2HXCG97.png
After import: https://i.imgur.com/E9CrKb2.png
I'm a programmer so if it is possible with doing some changes in the code, please tell me how to achieve that. I would like just to mention that the perfect solution should be compatible with updating Dialogue System to newer versions so changes in the Dialogue System source code are not welcomed but I can do that if it is the only way.
What solutions would you recommend here?
Let's start with the initial story. We have really big dialogues in our database as you can see below. It's big but readable due to good positions of nodes. We can find what we need very easily. When I click "Arrange nodes" they change their positions to a complete mess so it's impossible to manage such a mixed dialogue.
Before auto arrange: https://i.imgur.com/z3oHM4G.png
After auto arrange: https://i.imgur.com/ZlnwbWd.png
Let's switch to the real issue: When I export the database to CSV in order to get translations and then I import (by import, I mean import and merge with the existing one overriding conflicting nodes) it again to the database I see that all nodes changed their positions to exactly the same positions like after "auto arrange" function. I assume that auto-arrange happens automatically during the import. The question is: How to get the original positions of nodes or how to recover them after the import?
Before import: https://i.imgur.com/2HXCG97.png
After import: https://i.imgur.com/E9CrKb2.png
I'm a programmer so if it is possible with doing some changes in the code, please tell me how to achieve that. I would like just to mention that the perfect solution should be compatible with updating Dialogue System to newer versions so changes in the Dialogue System source code are not welcomed but I can do that if it is the only way.
What solutions would you recommend here?