Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

Add the ability to save as an image #11

Open
richardwthompson opened this issue Nov 21, 2015 · 5 comments
Open

Add the ability to save as an image #11

richardwthompson opened this issue Nov 21, 2015 · 5 comments

Comments

@richardwthompson
Copy link

I know XMind itself allows you to save/ export a mindmap as an image file (e.g. BMP or JPEG).

I would be great if the SDK also supported this

@Almerxsese
Copy link

Hi

The SDK allows only to create or modify XMind documents, not to develop "XMind extensions" for adding new features like export to image. Anyway it would be possible to export to another graph or mindmap format like GraphViz which generates it own visualization in PDF, PNG etc...
Let me know if such a feature may be useful in this API.

@richardwthompson
Copy link
Author

It would be useful to my company. We are looking at storing our XMind files under source control (along with our system documentation) and running a CI job to generate rich HTML documentation (hence the interest in using the API to generate an image of the mindmap).

@Almerxsese
Copy link

I've started a prototype on a fork (Almerxsese/xmind-sdk-python). It generates a pdf image of a xmind file. Give it a try, Look the code of main() in GraphvizExportFilter, it converts an xmind file into xmind/data then generates a .dot file (text description forr Graphviz) then runs a Graphviz utility (twopi.exe) to generate the pdf.

@Almerxsese
Copy link

Updates published in https://github.com/Almerxsese/xmind-sdk-python (export to Graphviz .dot format then generation of a pdf)

@Almerxsese
Copy link

Hello Richard

NB: Sorry for the very delayed answer, I have received (or noticed) your
email only this evening...

Thanks for your answer. In fact I'm rather fluent with GUI tools for
mindmapping / semantic networks. I've coded some prototypes for
exporting /XMind/ maps and /TheBrain /networks to other formats (eg:
/XMind to GraphViz/, /TheBrain to Neo4J/ and /TheBrain to GraphViz/).

I tried to reach both /XMind /and /TheBrain /R&D to consider partnership
potential but they are clearly not interested. I even asked the authors
of the GitHub /xmindsdk /project to add an extension with /GraphViz
/export but they werent' interested either (the guywho answered me is in
fact an /XMind /employee).
On the other hand my prototypes may have some value for your projects.
Concerning the "/XMind to GraphViz/" extension for /xmindsdk /I can send
you the code for free (and with a very permissive license like MIT), but
the code is a kind of the v0.1 prototype and not "/fully fledged/".

For more ambitious projects, if a partnership is an option, I would be
happy to hear more about your company's needs.

Best Regards
Michel Kern

Le 23/11/2015 à 13:28, richardwthompson a écrit :

It would be useful to my company. We are looking at storing our XMind
files under source control (along with our system documentation) and
running a CI job to generate rich HTML documentation (hence the
interest in using the API to generate an image of the mindmap).


Reply to this email directly or view it on GitHub
#11 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants