-
Notifications
You must be signed in to change notification settings - Fork 65
Visualisation Limitations #530
Copy link
Copy link
Open
CodethinkLabs/bom
#2Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.sig/releaseCategorizes an issue or PR as relevant to SIG Release.Categorizes an issue or PR as relevant to SIG Release.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.sig/releaseCategorizes an issue or PR as relevant to SIG Release.Categorizes an issue or PR as relevant to SIG Release.
/sig cli
What would you like to be added:
A command to dump the
.spdxDAG as a dotlang.dotfile for easy visualization with graphviz.Why is this needed:
The current
.spdxvisualization commandoutlineis limited by the cli environment the result is rendered in. It is unable to appropriately display the DAG when a node has 2 or more parents. Consider the following example:This file creates a graph that looks something like this
However when visualized with
document outlinethe output is like this.This is missleading.
Outputting the graph as a dot file will allow for the use of third party tools such as graph-viz to provide a more accurate visualization. Dot is also used for representing graphs in a variety of other applications. I'm sure other uses of this feature can be found.