Created README for the project with development plan for implementing graph.py using Graphviz library: - new_graph.py will replace graph.py Changed text order in styrman-blocks.yml for correct ordering of people in the tree at 'label: 8. sukupolvi, Antti Jokisen lapset'.
565 B
565 B
Puudot
Development
Start implementing graph.py with Graphviz Python library.
New architecture for creating dot. No clusters; one node contains one row table with each column for a person.
dot.node('<this node id>', fr'{(<node id>) <text>}|...')
dot.edge('<this node id>:<other node id>', '<other node id>')
algorithm:
for block in blocks
create node
if block has link, set link as id
else create id
add texts to node
for text in block save links
create edges from links