Why isn&#x27;t Haskell, or any other functional language, popular for this sort of thing? Turning A into B is what FP excels at, and you shouldn&#x27;t have to reason about side effects, besides writing the graph images somewhere.<p>From what I&#x27;ve heard from a friend of using other people&#x27;s code in one particular scientific field (stringly type some of the things, probably accidentally, don&#x27;t document this), an at-least-passable type system would be a huge improvement.