Flowchart (ISO 5807)
Source code
TypeScript
function sign(n: number): number {
if (n > 0) return 1;
else if (n < 0) return -1;
else return 0;
}The editor opens with this code — change it and the chart redraws.
- Language
- TypeScript
- Constructs
- if / else if + types
- Topic
- Branching
- Formats
- Word, Visio, draw.io, PDF, SVG