-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement tree interface #7
Comments
Interesting. I do quite like that this is currently 0-dependency, but I can see the value in this. For what it's worth, you can currently |
I am also interested in seeing something like this come about. I have a few ideas in terms of use case, with the most concrete being the use of org-syntax to build & maintain knowledge graphs rendered with GraphMakie + GLMakie. These packages offer the ability to make incredibly attractive interactive graphs with unique interactivity patterns. To make the idea more concrete, I currently have a properties and memo system that is amenable to the generation of a "Task graph". Think org-roam-ui, but generalized, far more performant, and far more flexible. |
With the advent of weak deps / package extensions with Julia 1.9, I'm much more willing to consider some optional dependencies like AbstractTrees. |
Right now, there is no way to easily traverse the org-mode syntax tree. I recommend a function be implemented to query the child elements of an OrgComponent in a generic way, e.g.
Such an interface would allow one to do a DFS of the syntax tree. If bringin in dependencies is acceptable, implementing the AbstractTrees.jl traits would be convenient.
Some type definitions may need to be adjusted, e.g. from
to
The text was updated successfully, but these errors were encountered: