You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "vmihailenco (via GitHub)" <gi...@apache.org> on 2023/10/20 13:15:27 UTC
[I] [Feature] Circular graph: improve edgeLabel position start [echarts]
vmihailenco opened a new issue, #19229:
URL: https://github.com/apache/echarts/issues/19229
### What problem does this feature solve?
This is how edgeLabel is positioned now by default:

Adding `edgeLabel: {position: 'start'}` helps, but it still looks messy:

Is it possible to shift the edgeLabel towards the center so it does not collide with the node circle and text? I've tried to indicate the desired position on the screenshot.
### What does the proposed API look like?
I would change how `edgeLabel: {position: 'start'}` works currently without inroducing a new API.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Circular graph: improve edgeLabel position start [echarts]
Posted by "vmihailenco (via GitHub)" <gi...@apache.org>.
vmihailenco commented on issue #19229:
URL: https://github.com/apache/echarts/issues/19229#issuecomment-1774002443
Speaking about alternatives, `align` and `verticalAlign` is probably enough, but the align should be different depending on the node position relative to the center of the layout:
- align: right if the node is to the right
- align: left if the node is to the left
- verticalAlign: bottom is the node is to the top
I don't really know how to achieve that and there are also intermediate positions like "top right" etc.
Any examples are appreciated :grin:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Circular graph: improve edgeLabel position start [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19229:
URL: https://github.com/apache/echarts/issues/19229#issuecomment-3464028787
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Circular graph: improve edgeLabel position start [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19229:
URL: https://github.com/apache/echarts/issues/19229#issuecomment-1773870748
other options to consider :
* [edgeLabel.rich](https://echarts.apache.org/en/option.html#series-graph.edgeLabel.rich) formatting
* graph.layout='none' - everything is controlled with x,y coordinates
* [radial tree](https://echarts.apache.org/examples/en/editor.html?c=tree-radial) instead, with intermediate nodes as edgelabels
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Circular graph: improve edgeLabel position start [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19229:
URL: https://github.com/apache/echarts/issues/19229#issuecomment-3434198587
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
Re: [I] [Feature] Circular graph: improve edgeLabel position start [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #19229: [Feature] Circular graph: improve edgeLabel position start
URL: https://github.com/apache/echarts/issues/19229
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org