Issue #24 - Use ELK layout to position SVG tasks + links - #30
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
036190d to
dd4db3c
Compare
There was a problem hiding this comment.
Not sure this is the best place nor the best name for this module.
Should it not be in svg ? Or even put the function in svg_task_group?
There was a problem hiding this comment.
Well, it's a converter from: ewoks graph -> SVG
In the same module we have: elk_link_group_builder.py elk graph -> SVG and elk_converter.py SVG -> elk graph.
I don't think it should be svg_task_group, since it handles Ewoks graphs.
I can create a new module for it. What do you think?
Co-authored-by: Loïc Huder <42204205+loichuder@users.noreply.github.com>
Co-authored-by: Loïc Huder <42204205+loichuder@users.noreply.github.com>
|
@loichuder I apply your suggestions.
|
Above I suggested |
|
|
||
| class ElkChild(TypedDict): | ||
| class ElkChildBeforeLayout(TypedDict): | ||
| """An ELK child before layout.""" |
There was a problem hiding this comment.
| """An ELK child before layout.""" |
🙃
PR summary
From the graph/tasks geometry ELK representation, we now used ELK to compute the tasks' optimal positions and link routing. The computed ELK layout is used to position the tasks and draw the links.
AI Disclosure