I have a BOM structured in a CSV as follows
1, Part 1
2, Part 12
2, Part 13
3, Part 123
1, Part 2
2, Part 22
Is there some way to create a hierarchical diagram such as this one in Python? Any help at all would be appreciated! http://mirror.neu.edu.cn/mysql/tech-resources/articles/hierarchical-data-1.png
You can generate a DOT description and render it with Graphviz . There are many Python bindings for it: http://www.graphviz.org/Resources.php
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.