inception icon indicating copy to clipboard operation
inception copied to clipboard

Displaying long-distance relations

Open s2fische opened this issue 1 year ago • 2 comments

Displaying relations, especially long-distance ones that span over several sentences/lines and if there are more than one in the same part of a document, quickly becomes very confusing and illegible which thus makes it harder to find the start and end points that a relation connects to. Even if anything but entities and relations is hidden. See for example the relation "Sonstige Merkmalsopposition | hell vs. finster" in the second and third screenshots, which starts in line 9 and ends in line 54, so you have to aimlessly scroll a lot to even find the source and target annotations.

Screenshot 2024-06-21 170123

Screenshot 2024-06-21 170305

Screenshot 2024-06-21 170243

We were wondering if there was any way to make relations more overseeable, especially in curation mode: Would it be possible to make a special mode that you can enable in settings as you need it, which makes it so that only the relations and their corresponding source and target annotations (plus maybe a few words to the right and left of them) are shown, while the text between the source and target annotations is shrunk or hidden or replaced by three dots, or something like that?

s2fische avatar Jun 21 '24 15:06 s2fische

It would be quite tricky to hide intermediary text between the relation endpoints.

Please try the following:

  • in the layer settings, change the render mode of the relation layer from always to when selected Screenshot 2024-06-21 at 23 07 00

  • When you select a relation, note the blue crosshair icons next to source and target in the right sidebar. Clicking on either of these will take you directly to the endpoint and also scroll the editor viewport accordingly Screenshot 2024-06-21 at 23 07 32

  • Also, in the left annotation overview sidebar, when you group by position, you will find relations and their target endpints sorted under the respective source endpoints Screenshot 2024-06-21 at 23 09 34

reckart avatar Jun 21 '24 21:06 reckart

Have you been able to try the suggested approach?

reckart avatar Sep 17 '24 19:09 reckart

Thank you for the suggestions!

We've so far tried the second and third ones, but they don't really make looking for relations and their source/target that much easier.

The second suggestion works great if you’re just annotating, but not for curation because if you select the relation in order to see its details in the right sidebar, you automatically merge it as well, which we do not want – we first want to look at its source and target (in their context) before deciding whether to merge it or not.

The third suggestion also does not work very well in curation because the colour of relations that have not been merged yet (i.e., the ones we're looking for) is the same as the colour of any other unmerged span etc., so they're still rather hard to find. It would be helpful if filtering for the kind of layer were possible while "Group by position" is selected. Additionally, using this idea, we still have to alternate between the left sidebar and the text whenever relations are linked to entities that have not been merged yet. Maybe there could be a function that when you select a relation to merge it, the source and/or target are automatically merged as well.

s2fische avatar Oct 23 '24 09:10 s2fische

Did you notice the new display of relations in the annotation sidebar in the Group by layer mode? Does it help in this case?

Screenshot 2024-10-23 at 12 05 44

reckart avatar Oct 23 '24 10:10 reckart

No, it still looks the same for me:

Screenshot 2024-10-23 122620

But yes, that does look helpful!

s2fische avatar Oct 23 '24 10:10 s2fische

The change is included in INCEpTION 34.0 - the current version is 34.1.

reckart avatar Oct 23 '24 10:10 reckart

We have now updated INCEpTION and it is indeed a very helpful feature, thank you!

s2fische avatar Nov 06 '24 15:11 s2fische