diff --git a/src/kinetics/ReactionPath.cpp b/src/kinetics/ReactionPath.cpp index f20fe4bbe5..fe7623f453 100644 --- a/src/kinetics/ReactionPath.cpp +++ b/src/kinetics/ReactionPath.cpp @@ -307,8 +307,12 @@ void ReactionPathDiagram::exportToDot(ostream& s) } } } else { - for (size_t i = 0; i < nPaths(); i++) { - flmax = std::max(path(i)->flow(), flmax); + if (scale < 0) { + for (size_t i = 0; i < nPaths(); i++) { + flmax = std::max(path(i)->flow(), flmax); + } + } else { + flmax = scale; } for (size_t i = 0; i < nPaths(); i++) {