nnako / freeplane-python-io

a Python library to directly access Freeplane mindmap files
GNU General Public License v3.0
12 stars 5 forks source link

Not able to access notes attached with a node #6

Closed kraghuprasad closed 1 month ago

kraghuprasad commented 2 months ago

I was going through the document to find out how to get the contents of a note attached with a node. But I could not find any details on how to do it, even though the word note and notes are mentioned many times in the API document. Has anyone used freeplane-python-io library to retrieve such contents along with all list of linked (incoming and outgoing) nodes?

Thanks in advance.

nnako commented 2 months ago

Hi @kraghuprasad ,

thank you for opening this issue.

Unfortunately, the notes attribute of nodes is not fully implemented, yet. But, as it goes along with the details attributes, you could use those details for storing information, if you have not already done so in parallel to your notes.

With the next release, the handling of notes attributes will be covered within the codebase. At least to handle plaintext notes. I guess, already until the end of the current week. HTML handling within notes would then be implemented later.

Thanks. Nnako

nnako commented 2 months ago

Hi @kraghuprasad ,

I just pushed the added feature. Now, you would be able to use it in the following way:

Does this work for you?

Thanks.

nnako commented 2 months ago

Now version 0.9.0 can be updated directly via pip. It should solve the issue. Please confirm.

kraghuprasad commented 2 months ago

Thanks a lot, nnako, for the prompt replies and the fixes. :)

I confirm that I am able to access node.notes successfully. I would be testing other methods soon.

Thanks again.

nnako commented 1 month ago

closing issue as it seems completed.