nickerso / flattenCellML

Code to flatten CellML 1.1 models into 1.0 models
1 stars 1 forks source link

Make use of the compaction report to create a variable dependency graph #7

Open nickerso opened 10 years ago

nickerso commented 10 years ago

771cde285166d0813020c3853ce7e307d1e50392 starts to add better functionality to the model compaction report to track how variables are requested to be compacted and how they are resolved, what dependencies get triggered, etc. Currently this information is just used to try and help identify errors in the source model (the original reason for creating this tool). But there is probably sufficient detail now being stored in the report class that we could look at generating dot files for use in graphviz (i.e., similar to CellML2Dot) or some other network visualisation software.

This sort of feature might help debug models where the compaction process itself doesn't produce any errors...maybe?