Skip to content
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

Displaying long-distance relations #4888

Open
s2fische opened this issue Jun 21, 2024 · 7 comments
Open

Displaying long-distance relations #4888

s2fische opened this issue Jun 21, 2024 · 7 comments

Comments

@s2fische
Copy link

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?

@reckart
Copy link
Member

reckart commented Jun 21, 2024

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
Copy link
Member

reckart commented Sep 17, 2024

Have you been able to try the suggested approach?

@s2fische
Copy link
Author

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.

@reckart
Copy link
Member

reckart commented Oct 23, 2024

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

@s2fische
Copy link
Author

No, it still looks the same for me:

Screenshot 2024-10-23 122620

But yes, that does look helpful!

@reckart
Copy link
Member

reckart commented Oct 23, 2024

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

@s2fische
Copy link
Author

s2fische commented Nov 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants