-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tweak edge label placement #14
Comments
If we can figure out the dot/graphviz magic it should be easy to make this
work
This is a slightly different issues but may give clues to some techniques
https://stackoverflow.com/questions/12934763/graphviz-edge-label-too-close-to-another-edge
You can use obographviz to output dot, tweak the dot manually, then
generate png, to explore techniques... sorry I don't have any better ideas
right now
…On Thu, Nov 4, 2021 at 8:02 AM Jim Balhoff ***@***.***> wrote:
Is there a way to group edge labels a bit tighter to the arrows? I got
confused by the placement of a label in this picture:
INCATools/ubergraph#34 <INCATools/ubergraph#34>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMMOPQF45H6P7RZJGRWL3UKKVAFANCNFSM5HLU6PYA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
We could also do edges-as-nodes:
https://mikemol.github.io/jekyll/update/nodes/edges/labels/layout/graphviz/dot/2018/01/13/graphviz-technique-nodes-as-edge-labels.html
[S] -----[P]-----> [O]
one thing we could try is representing the edge as a dot (as invisible as
possible), and then a label node connecting to that - essentially
reification:
[S] -----[.]-----> [O]
|
|
[P]
There would be no edge labels as such here, just nodes, and we would have
finer grained control, e.g. state that the distance from the reified edge
node to the P is to be short
…On Thu, Nov 4, 2021 at 9:12 AM Chris Mungall ***@***.***> wrote:
If we can figure out the dot/graphviz magic it should be easy to make this
work
This is a slightly different issues but may give clues to some techniques
https://stackoverflow.com/questions/12934763/graphviz-edge-label-too-close-to-another-edge
You can use obographviz to output dot, tweak the dot manually, then
generate png, to explore techniques... sorry I don't have any better ideas
right now
On Thu, Nov 4, 2021 at 8:02 AM Jim Balhoff ***@***.***>
wrote:
> Is there a way to group edge labels a bit tighter to the arrows? I got
> confused by the placement of a label in this picture:
> INCATools/ubergraph#34 <INCATools/ubergraph#34>
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#14>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAAMMOPQF45H6P7RZJGRWL3UKKVAFANCNFSM5HLU6PYA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to group edge labels a bit tighter to the arrows? I got confused by the placement of a label in this picture: INCATools/ubergraph#34
The text was updated successfully, but these errors were encountered: