constrain svg arrows for large y lengths#78
Conversation
✅ Deploy Preview for ome-ngff-validator ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
I also enabled the coordinateTransform tooltip when you mouseover the Arrows (as well as the label) so for the longer Arrows, you can still see the tooltip, even if you can't find the Arrow label. |
|
Thanks @will-moore, that looks much better than before. I wonder if setting a 0.8 alpha on the arrows, or putting the box on top of them (and then adding a .8 alpha) would improve it. It is still a bit busy:
|
|
@lubianat I add the arrows behind all the labels now |
lubianat
left a comment
There was a problem hiding this comment.
other than the black/red thing, LGTM
| let rect = makeBG(text); | ||
|
|
||
| // on mouseover of the path - make it red and show the same popover as the text | ||
| let mouseover = (event) => { |
|
@will-moore would it be possible to make the boxes that are now the multiscale groups collapsible and the arrows straight lines?
On second thought, maybe it would not be problematic to leave the scale levels out of the graph entirely? It is not possible to build a scene graph that connects to a particular multiscale, so a scene graph would never include the implicit coordinate system of a particular resolution level. We could highlight the "intrinsic" coordinate system in a particular color, though? Or make the scale level transform graph collapsible/expandable? |
|
@jo-mueller I'm not sure I understand what you're proposing...
you mean
Like this?
You mean remove
I think that the implicit coordinate system of a particular resolution level would be a child / leaf of the graph (connected by a scale to the intrinsic coordinateSystem, but we just don't show that level of detail.
Are these 2 alternative solutions to the same problem? They seem unrelated?
This PR is really about fixing / cleaning the current layout. Any extra validation / display of more info etc can come in a follow-up? |
|
Anything else to do here @jo-mueller? |



First attempt to improve arrow layout for example such as https://deploy-preview-78--ome-ngff-validator.netlify.app/?source=https://radosgw.public.os.wwu.de/s2v/P2A_B6_M2.ome.zarr/
Also:
cc @jo-mueller