Embedded editor sample
This is a simple example of how WiseMapping can be embedded in a page.
Embedding WiseMapping editor is such simple as copying this line in your page:
<iframe src="embedded.html?confUrl=html/container.json" width="800" height="600"></iframe>
The container.json file contains a set of properties that must be configured. Properties:
- size: Must match with the size of the iframe
- zoom: Scale to be applied to the map
- readOnly: If the map could be modified.
- persistenceManager: Persistence managers to be used. By default, local browser storage is used.
- mapId: UUID of the map to be loaded.
- container: div element where the mindmap will be embedded..
It's important to point out that embedded.html is a static html page that it's mean to be a template page
for advanced customization. In few words, go ahead and modify it.