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

Review default colours and style in ontopy/graph.py #345

Closed
jesper-friis opened this issue Jan 3, 2022 · 2 comments
Closed

Review default colours and style in ontopy/graph.py #345

jesper-friis opened this issue Jan 3, 2022 · 2 comments

Comments

@jesper-friis
Copy link
Collaborator

EMMO has too many relations to give all of them a unique default colour/style combination. One possibility could be to make mereological, topological and semiotical relations solid, dashed and dotted respectively. For colours we could either:

  • leave it to the user to define them for each plot
  • define explicit colours for some high-level/important relations within each category
  • define a colour cycle and more or less randomly assign them to the relations present in the graph (pros: all relations will get a unique colour by default; cons: the same relation may get different colours in two different graphs)

It is also possible to support all three alternatives.

@francescalb
Copy link
Collaborator

I have now added so that if a defualt is not given for the given relation, the default style olive, solid is used. I think it would be smart to have an option where edgelabels are added only for those relations that do not hava a unique style.

@francescalb
Copy link
Collaborator

Closed with PR469

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

No branches or pull requests

2 participants