I was about to ask a similar question, but maybe it's better to join this topic.
I have my own flowchart layout algorithm in our project, but it is hardcoded in the class inheriting the Crainiate component and because of that it's not flexible. I've seen in the docs that there is a possibility to implement one's own algorithm using provided mechanisms (in the Crainiate.ERM4.Layouts namespace), but there is no example available and not everything is clear for me.
For now I'm working on a flowchart component, but in the near future I will be also implementing an OrgChart component with the needs very similar to the ones from the post above (provided algorithm is not sufficient), so I will have to write such an algorithm (with some additional advanced features). |
I would like to rebuild my current flowchart algorithm to use the proper mechanisms from Crainiate.ERM4.Layouts before I'll go to the OrgChart part, but without any example it may take too long for me to familiarize with them.
Could you help us and provide a simple example ?