Skip to content

Instantly share code, notes, and snippets.

Ballerina Diagram Rendering

Ballerina digram is generated from the ballerina AST of the relevent program. To extract the necessary information it uses several AST Visitors.

AST is a tree like representation of the program. See following example.

Program:

import ballerina/io;
@roonyh
roonyh / cv.md
Last active February 9, 2016 06:11
My CV
package main
import (
"fmt"
"io/ioutil"
"log"
"os"
"time"
"github.com/kadirahq/fastcall"