moodymudskipper / flow

View and Browse Code Using Flow Diagrams
https://moodymudskipper.github.io/flow/
Other
395 stars 26 forks source link

plantuml engine misses some stop/return calls #58

Closed moodymudskipper closed 3 years ago

moodymudskipper commented 3 years ago
library(flow)
fun <- function() {
  if(cond) {
    return()
  }

  if(cond) {
    stop()
  }

  if(cond) {
    expr
    return()
  }

  if(cond) {
    expr
    stop()
  }
}
flow::flow_view(fun, engine = "plantuml")

Created on 2020-10-02 by the reprex package (v0.3.0)

moodymudskipper commented 3 years ago

solved locally

image

github-actions[bot] commented 2 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.