How to translate a source code into digraph ?
The language consists of 6 types of vertex
- Trait : a trait definition
- Class : a class definition
- Interface : an interface definition
- Method : the declaration of a method a.k.a the signature
- Implementation : the "content" of the method
- Parameter : a parameter of a method
The grammar for edges between vertices