JS Flowchart is a Coda Pack that allows you to pass in any Javascript code as input and receive a complete flowchart algorithm from it. The pack has a Formula called DrawFlowchart, this formula takes in JavaScript source code as a string input and outputs the algorithm of that code as an SVG image.
Javascript code input:
Here is a Javascript code function of the classic binary search algorithm.