Kungsgeten / org-brain-export

Export org-brain to other formats
MIT License
31 stars 3 forks source link

Child nodes don't appear unless explicitly declared #9

Open delucca opened 4 years ago

delucca commented 4 years ago

Hi!

Congrats on the plugin. I was looking for something like this for a long time!

There is a minor issue I would like to be fixed, on org-brain we can place a new headline, below an already existing node, and it will be automatically used as their child.

Using your plugin, if I export it, I was not able to saw it on GraphViz. In order to fix that, I added the BRAIN_PARENT property manually.

Can you fix that so org-brain-export could identify children without the need to explicit declare those?

Kungsgeten commented 4 years ago

Hi! Sorry for the late response. It should work with child headlines, but you have to give them an ID using org-id-get-create (headlines are only considered as entries by org-brain if they have an ID).