Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.13 KB

File metadata and controls

29 lines (18 loc) · 1.13 KB

Graph Construction Tools

This folder contains tools used to explore the results of Graph Construction.

Modules

This section outlines the different modules and the input and expected output of each module.

Show Paths

The Show Paths module reads the JSON output of graph construction, the image used in graph construction, and the starting asset id and overlays the paths from the starting asset to connected assets.

Parameters

  • --image-path [REQUIRED]: The image used to generate the graph construction results.
  • --asset-connectivity-path [REQUIRED]: The asset connectivity data path generated by graph construction.
  • --starting-asset-id [REQUIRED]: The starting symbol id.
  • --output-folder-path [REQUIRED]: The output folder path. The program will create the folder if the folder does not exist.

Outputs

The script creates a new image with the assets-to-asset connections overlaid on the image. The image is saved to {output_folder_path}/{filename(image_path)}_{starting_symbol}.png.