Closed laimaretto closed 3 years ago
This is definitely something that would be possible to do.
However, there are quite a few label positions supported by yEd (in the graphml it generates there are several different possibilities for the modelName
, some with several compatible choices of modelPosition
).
Unfortunately I don't currently have time to investigate further and implement this.
Note that if you just want to control whether a label is at the source-end/middle/target-end of an edge, you can now achieve this by using the appropriate argument (one of label
/label_source
/label_target
) to add_edge()
I've just merged a PR (https://github.com/jamesscottbrown/pyyed/pull/44) from @Martinus-Maximus that provides a way to add node/edge labels at specific positions; this feature should now be available in pyyed v 1.5.0.
Hi! This is a grate library! Thanks for doing it...
Do you think is possible to add new arguments to ...
... so as to be able to control label position (ie: center) for the edge label?
Thanks!
Lucas