@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
12 lines (11 loc) • 687 B
TypeScript
import type { ParentInformation, RNodeWithParent } from '../../r-bridge/lang-4.x/ast/model/processing/decorate';
import type { RProject } from '../../r-bridge/lang-4.x/ast/model/nodes/r-project';
import type { MermaidGraphPrinterInfo } from './info';
/**
* Serialize the normalized AST to mermaid format
*/
export declare function normalizedAstToMermaid(ast: RProject<ParentInformation> | RNodeWithParent, { prefix, markStyle, includeOnlyIds, mark }?: MermaidGraphPrinterInfo): string;
/**
* Use mermaid to visualize the normalized AST.
*/
export declare function normalizedAstToMermaidUrl(ast: RProject<ParentInformation> | RNodeWithParent, info?: MermaidGraphPrinterInfo): string;