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

Configurable relationship number #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SamLoy
Copy link

@SamLoy SamLoy commented Apr 5, 2017

As discussed in #53

I'm using ml-lodlive over a very large dataset. Some of the entities have multiple (100s) relationships between them.
For example:

Sam is Bananas
Sam went Bananas
Sam ate Bananas
Sam dislikes Bananas
On my large dataset the label on the line between the two node circles can look crazy since it is rendering every single relationship.

This PR provides a new UI.maxRelationshipsToRender flag which when exceeded, renders " and N more" on the label.

For example, on the line between Sam and Bananas it would render "is, went and 2 more".

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

Successfully merging this pull request may close these issues.

1 participant