← Back to team overview

zim-wiki team mailing list archive

Re: Gephi integration

 

On Mon, Nov 4, 2013 at 5:42 PM, Marco Cevoli <marco.cevoli@xxxxxxxxx> wrote:

> Hi Jaap,
>
> thanks for the answer. I think that a simple export as Graphviz will
> be enough to test other visualization tools. How can I get it? Before
> the Graphviz is rendered, is the file stored in any temp folder that I
> can access?
>
> Alternatively, how can I get a structured export of the current
> notebook and/or access the sqlite database? Is this even possible?
>

No the graphviz file is not saved while rendering. But if you can code a
little bit of python, generating your own output is pretty straight forward.

Have a look at the code in zim/plugins/linkmap/__init__.py . The "LinkMap"
object implements the access to the database. There is a blocks of
"__main__" code in the bottom that shows how to access a notebook from a
script.

Hope this helps,

Jaap

Follow ups

References