moodymudskipper / flow

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

split chart and head #10

Closed moodymudskipper closed 4 years ago

moodymudskipper commented 4 years ago

have an argument to show "head" of the chart.

Find out what is the maximal size by default, as nomnoml fails silently, then fail explicitly and print message saying that suggesting to use head = 200 then use break, and that the max value for head is 450 (real numbers to be defined).

These numbers define edges, or ideally, an approximate number of edges, so that we cut the chart at an appropriate place.

break is another argument, which is a vector of break points, because an automatic split will often split in awkward places, we might as well cut the complexity and cut the chart ourselves where t feels better.

head and break can be used together, in that case head will be used on all sub charts.

Subcharts keep their original block numbers (they don't start at 1 again). So it's easy to know where we're at.

The function header (fun) (fun in ellipse block) is replaced by (fun[i]) , where the branches are cut we place an green transceiver block : [<transceiver>fun\[j\]].

moodymudskipper commented 4 years ago

When we handle expressions and not just functions with https://github.com/moodymudskipper/funflow/issues/17 we'll be able to subset the body, incl take the head of the body, it will be flexible enough and the fancy stuff describe here is not needed.

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.