Click to edit this example. In an editor window highlight some code to create the diagram from. They are not very common in industry today but are sometimes used as a computer science teaching tool often as an alternate to flowcharts.