Add migrator for Pela to Tango
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
$(document).fireEvent('loadcomplete', 'brix');
|
||||
};
|
||||
|
||||
var mapId = 'mapId'; // @todo: Must be changed ...
|
||||
var mapId = 'welcome'; // @todo: Must be changed ...
|
||||
var brixReady = false;
|
||||
var mindReady = false;
|
||||
var collab = 'standalone';
|
||||
@@ -59,12 +59,12 @@
|
||||
// Load map from XML ...
|
||||
var persitence = mindplot.PersitenceManager.getInstance();
|
||||
var mindmap;
|
||||
try {
|
||||
// try {
|
||||
mindmap = persitence.load(mapId);
|
||||
} catch(e) {
|
||||
// If the map could not be loaded, create a new empty map...
|
||||
mindmap = mindplot.model.Mindmap.buildEmpty(mapId);
|
||||
}
|
||||
// } catch(e) {
|
||||
// // If the map could not be loaded, create a new empty map...
|
||||
// mindmap = mindplot.model.Mindmap.buildEmpty(mapId);
|
||||
// }
|
||||
|
||||
designer.loadMap(mindmap);
|
||||
|
||||
|
@@ -1,26 +0,0 @@
|
||||
<map name="mapId" version="pela">
|
||||
<topic central="true" id="0">
|
||||
<topic position="127,-163" order="0" id="1"/>
|
||||
<topic position="-127,-33" order="1" id="2"/>
|
||||
<topic position="127,-130" order="2" id="3"/>
|
||||
<topic position="-127,0" order="3" id="4"/>
|
||||
<topic position="127,94" order="6" id="5">
|
||||
<topic position="251,94" order="0" text="ddddddddddddddddddddd" id="8">
|
||||
<topic position="364,55" order="0" id="9"/>
|
||||
<topic position="364,81" order="1" id="10"/>
|
||||
<topic position="364,107" order="2" id="11"/>
|
||||
<topic position="364,133" order="3" id="12"/>
|
||||
</topic>
|
||||
</topic>
|
||||
<topic position="-127,33" order="5" id="6"/>
|
||||
<topic position="127,163" order="8" id="7"/>
|
||||
<topic position="127,-35" order="4" id="13">
|
||||
<topic position="216,-100" order="0" id="14"/>
|
||||
<topic position="216,-74" order="1" id="15"/>
|
||||
<topic position="216,3" order="4" id="16"/>
|
||||
<topic position="216,-48" order="2" id="17"/>
|
||||
<topic position="216,29" order="5" id="18"/>
|
||||
<topic position="216,-22" order="3" id="19"/>
|
||||
</topic>
|
||||
</topic>
|
||||
</map>
|
@@ -33,7 +33,7 @@
|
||||
<topic position="266,0" order="0" text="Try it Now!" id="11" fontStyle=";;#ffffff;;;" bgColor="#250be3"
|
||||
brColor="#080559">
|
||||
<topic position="358,-33" order="0" text="Double Click" id="12" fontStyle=";;#001be6;;italic;"/>
|
||||
<topic position="362,-9" order="1" text="" INS" to insert" id="13" fontStyle=";;#001be6;;italic;"/>
|
||||
<topic position="362,-9" order="1" text=" INS to insert" id="13" fontStyle=";;#001be6;;italic;"/>
|
||||
<topic position="371,15" order="2" text="Drag map to move" id="14" fontStyle=";;#001be6;;italic;"/>
|
||||
</topic>
|
||||
<topic position="299,-100" order="3" text="Mind Mapping" id="6" fontStyle=";;#602378;;;" bgColor="#edabff">
|
||||
|
Reference in New Issue
Block a user