Simple dependency tree diagram generator
Posted
by
foampile
on Programmers
See other posts from Programmers
or by foampile
Published on 2012-12-17T19:42:20Z
Indexed on
2012/12/17
23:13 UTC
Read the original article
Hit count: 273
data-structures
|reporting
I have a need to produce a simple dependency tree diagram. The input data would be in the following simple format:
ITEM_NAME DEPENDENCY
----------------------------
ITEM_101 ITEM_75
ITEM_102 ITEM_77
ITEM_102 ITEM_61
ITEM_102 ITEM_11
This means that ITEM_101 depends on ITEM_75 and ITEM_102 depends on items ITEM_77, ITEM_61 and ITEM_11. So the diagram would have items ITEM_77, ITEM_61 and ITEM_11 in one vertical level and ITEM_102 would be below it with a line connecting each of the three dependencies to ITEM_102. The same would be for ITEM_101, ITEM_75 would be somewhere above it and there would be a line connecting it.
In the real world this tree represents a hierarchy of scheduling jobs. We have a very extensive workload automation hierarchy in Autosys
and I have heard that its front end utility has something like this tree visual representation, however, for some reason, that utility has been disabled by admins. My business users want to see this hierarchy in an easy-to-consume format.
I was hoping that I won't have to program something like this from scratch because it seems like quite a common reporting requirement and the input data is simply formatted. My question is: is there a FOSS tool that takes standardized data input and produces such a hierarchical tree?
Thanks
© Programmers or respective owner