A simple command-line tool that creates an Excel file with a Dependence Structure Matrix from a text file.
The input text file has a dependency on each line. The source node of the graph is separated from the target node of the graph using a colon ':'.
For example, the file:
Alice : Bob
Alice : Charlie
Bob : Charlie
Defines an input graph with three nodes (Alice
, Bob
and Charlie
) and three edges or "dependencies":
-
Alice : Bob
means thatBob
depends onAlice
. -
Alice : Charlie
means thatCharlie
depends onAlice
. -
Bob : Charlie
means that there is an edge fromBob
toCharlie
, this is, thatCharlie
depends onBob
.
The output is generated as an Excel file with name output.xlsx
(existing ones will be overwriten).
The excel file will have the same number of rows and columns, elements in the matrix represent the dependencies. See Dependence Structure Matrix for details.
With the example file above, the result would be:
java -jar target/dsm-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar [input-file]
Then open the generated Excel file "output.xlsx".
This software is © 2022 Antonio Vieiro, distributed under the Apache License. See LICENSE.txt.