- ๐ณ๐ฟNew Zealand xurizaemon ลtepoti, Aotearoa ๐
Started work on similar functionality for Migrate Visualize in โจ Support for graphing migration dependencies Active .
The graphs get big, don't they!
For a large complex migration project (124 migrations with complex dependencies), I was trying to determine the optimal way to run migrations in parallel, and developed a migrate:dependency-graph
command. This generates PlantUML files for input to Graphviz. I'm not sure when I'll have a little time to generalize it for a migrate_tools patch, but by opening an issue interested people can ping me here as a reminder if I don't do it in the next couple of weeks (might have to wait until January though).
The usage (assuming you have Graphviz installed) is:
drush migrate:dependency-graph >dependencies.dot
dot dependencies.dot -T pdf >dependencies.pdf
Creating something like this:
Oh, did I mention that because we're trying to figure out process parallelization, I made the heights proportional to the source counts (as a rough proxy of migration time)?
Two features that should be added for the patch to be submitted here:
Attached is what I have now.
Active
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Started work on similar functionality for Migrate Visualize in โจ Support for graphing migration dependencies Active .
The graphs get big, don't they!