Cracker.MermaidGenerator (cracker v0.3.0)
Generates Mermaid flowchart markup from a list of function call edges. Each edge is represented as [caller, callee] where caller and callee are strings in the format "module.function/arity"
Summary
Functions
Generate Mermaid flowchart markup from a list of function call edges.
Functions
Generate Mermaid flowchart markup from a list of function call edges.
Example
edges = [
{"MyApp.ModuleA.post/1", "MyApp.Client.post/2"},
{"MyApp.ModuleA.post/1", "MyApp.ModuleA.persist_data/2"},
{"MyApp.Client.post/2", "MyApp.Client.encode_query/2"},
{"MyApp.Client.post/2", "MyApp.Client.send_request/2"}
]
Cracker.MermaidGenerator.generate(edges)