1.0.5 • Published 5 months ago

@specs-feup/clava-visualization v1.0.5

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

Clava Visualization Tool

Clava integration of LARA's web tool for visualization and analysis of the AST and its source code.

For more details, see the LARA Framework repository.

Usage

Before using the tool, you must include the respective NPM package to your project:

npm install @specs-feup/clava-visualization

To launch or update the visualization tool, execute the following statements in your script:

import VisualizationTool from "@specs-feup/clava-visualization/api/VisualizationTool.js";

await VisualizationTool.visualize();

Once ready, Clava will provide the URL that should be opened in the browser to access the web interface. The function can also change the AST root and URL domain and port.

Other properties will allow the user to know other important information from the server:

VisualizationTool.isLaunched;  // true if the server is running
VisualizationTool.url;         // URL where the server is running
VisualizationTool.port;        // port to which the server is listening
VisualizationTool.hostname;    // hostname to which the server is listening

For more details, refer to the GenericVisualizationTool documentation, from LARA.

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

6 months ago