Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1022 Bytes

File metadata and controls

26 lines (21 loc) · 1022 Bytes

CMD Graph Visualization

The main.py script visualizes cmd graphs using the force-graph library.

force-graph

To view the interactive force graphs:

  1. Generate graph data by running the script:
    cd sbom_analysis/cmd_graph_visualization
    python main.py
    This will create cmd_graph.json graph data within the web/ directory.

    Note: The script assumes that the linux source tree lies next to this repository. You get this layout by following the Getting Started section.

  2. Start a simple HTTP server to serve the index.html
    cd web
    python -m http.server 8000
  3. Open your web browser and navigate to http://localhost:8000 to interact with the force graphs.