Adding an interactive diagram to a...

User 2176485 Photo


Registered User
84 posts

I have a large mindmap I made using Mindjet MindManager, which I’d like to place into my VSD site. The map is massive, so it needs to be ‘clickable’ so that the nodes start closed and are then opened by the viewer. This rules out exporting as a static image.

I got very excited when I found Mindmup (create with Mindjet, then covert to a Freemind file using Xmind, then upload to Mindmup, then embed Mindmup code into VSD - looks great on an iPad) but the diagrams aren't supported on IE or any browsers which aren't the latest version. This is a massive shame as it's just what I was after.:(

Now I’ve discovered that Freeplane can open the MindManager mindmap, then export as a ‘Java Applet (.html)’. I searched on this forum, and it seems that these Applets can be inserted into VSD websites.

Anyone know how I can do this, please??
User 187934 Photo


Senior Advisor
20,271 posts

Use an html box and place the applets code in it.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2176485 Photo


Registered User
84 posts

Thanks, Eric, you’re a font of generous wisdom as ever!

I’m not entirely sure what you mean, though.

Here’s it through the prism of my ignorance!...

When I save and export the mindmap, I have the option of saving as a ‘File type: Java Applet’ in the folder of my choice. This results with an .html file (it carries the Google Chrome logo as I guess this must the default opening program for this type of file), and a yellow file, called “[file name].html_files” containing two files “freeplaneviewer” (1.717 KB ‘Executable Jar File’ file) and “map” (52 KB ‘Freemind’ file.

Any idea where or how I get the applets code out of these?
User 187934 Photo


Senior Advisor
20,271 posts

If you preview the html file does the applet run?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2176485 Photo


Registered User
84 posts

When I open the .html file, it opens a new window in Chrome, but it's blank with no map...

The Executable Jar File won't open, and the the Freemind file opens Freemind, but the mindmap won't open but instead says "Error while parsing file:freemind.main.XMLParseException: XML Parse Exception during parsing of a map element at line 1: Expected: =".

I take it that this means that the applet isn't running...?!

User 187934 Photo


Senior Advisor
20,271 posts

Is there any code you can post on the html page?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2176485 Photo


Registered User
84 posts

My bad – there was a fault with FreeMind, so I downloaded a later version, and the mindmap ‘.MM’ files can now be opened without the error message.

So…

When I open the .html file, and it opens a new window in Chrome, and it's blank with no map, I can right-click, choose ‘View page source’ and then this code comes up:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title/><style type="text/css">/**/body { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; height:100% }html { height:100% }/**/ </style></head><body><applet code="org.freeplane.main.applet.FreeplaneApplet.class" archive="&#10; &#9;./testing.html_files/freeplaneviewer.jar,&#10; " width="100%" height="100%"><param name="type" value="application/x-java-applet;version=1.5"/><param name="scriptable" value="false"/><param name="browsemode_initial_map" value="./testing.html_files/map.mm"/><param name="selection_method" value="selection_method_direct"/></applet></body></html>

The Executable Jar File still won't open.

The .MM file can be opened in Freemind. At the bottom of the screen in Freemind, there’s a window with options for ‘Layout view’ and ‘HTML Code view’. In the ‘HTML Code view’ it gives the following code:

<html>
<head>
<style type="text/css">
<!--
p { margin-top: 0 }
body { font-size: 12pt; font-family: SansSerif }
-->
</style>

</head>
<body>
<p>

</p>
</body>
</html>

Are any of these bits of code any use to me?

Should the Executable Jar File or the .MM file be added - or both?!
User 187934 Photo


Senior Advisor
20,271 posts

I do believe you only need the .jar file. I downloaded Freeplane. I couldn't get the java applet to work even in the html editor. I could get the flash version to show. I'm still looking at why my pc is blocking my script but not that of an example I found. I have used a few applets on my sites and know you can add these to VSD.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2176485 Photo


Registered User
84 posts

Thanks so much for taking the time to check this out, Eric - it would really transform my website if I could include the mindmap...

If you can't get the Java applet to work, maybe this is a Freemind problem? There seem to be dozens of versions of Freemind available to download - a minefield for a newbie like me!...

So, generally, you just add the applet (the .jar file) to the website, then add stick the right code in?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.