Export to logseg

How to export my notes properly in json type to display them in logseq without losing any connection or link or reference
Note: (i do this to have the graph view in logsegq which is free)