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

Add more control for building trees #7

Open
allenbaron opened this issue Aug 19, 2022 · 0 comments
Open

Add more control for building trees #7

allenbaron opened this issue Aug 19, 2022 · 0 comments
Labels
enhancement New feature or request low priority

Comments

@allenbaron
Copy link
Collaborator

More fine grained control is needed when building trees. It's not clear if this should be handled programmatically or after careful exploration and decisions by the user but some improvements for flexibility are probably needed.

Add control of included subclasses

DO.util's *_subtree() commands have only a top_node argument and build a subtree including all terms below that superclass. When a top_node is in the upper portion of the tree, the number of children can be overwhelming and unnecessary for creating text tree diagrams.

This might be solved by specifying the children of interest and finding the lowest common subsumer programmatically but that might not provide enough control.

Another approach might be to add something similar to ROBOT extract's MIREOT lower-terms argument.

Add ability to create multiple trees

More than once the need for multiple subtrees have been necessary to avoid including a lot of superfluous terms. The ability to create multiple trees with a single command might be helpful. It might also be helpful to allow specifying a maximum distance between classes or a maximum number of total classes to limit tree output?

@allenbaron allenbaron added enhancement New feature or request low priority labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

1 participant