ComPWA / qrules

Rule-based particle reaction problem solver on a quantum number level
https://qrules.rtfd.io
Apache License 2.0
9 stars 4 forks source link

Import StateTransitionGraphs from DOT #35

Open redeboer opened 3 years ago

redeboer commented 3 years ago

Since ComPWA/expertsystem#454 it's not possible anymore to cache a recipe to disk (apart from using pickle). This would be mitigated a bit if it's possible to write and read the output of the reaction module (StateTransitionGraphs) to and from disk: generating the transitions takes most time.

redeboer commented 3 years ago

ComPWA/expertsystem#519 already provides what is needed, so we could consider closing that. If desired though, it is possible to implement a fromdot method with pydot and networkx, but they would have to be added to the package dependencies.

redeboer commented 3 years ago

I'll leave this issue open, because it may be combined with ComPWA/qrules#5 (which would probably require networkx).

redeboer commented 3 years ago

See also #49, because networkx has its own readers/writers for DOT language (possibly combined with pydot, which does import/output for DOT).