Fix several issues with the old layout. For that I had to:

- Revert some positioning code.
- Child nodes are not positioned
- Don't support export/import of relations

This is a temporal fix in order to stabilize the old layout. Pablo, we need to discuss how this will be fix to fit the new layout.
This commit is contained in:
Paulo Gustavo Veiga 2011-04-26 00:46:10 -03:00
parent e8cfa5163d
commit fa726742a4
19 changed files with 202 additions and 89 deletions

View File

@ -47,7 +47,10 @@ public class FreemindImporter
implements Importer {
public static final String CODE_VERSION = "pela";
public static final int HALF_ROOT_TOPICS_SEPARATION = 25;
public static final int SECOND_LEVEL_TOPIC_HEIGHT = 25;
public static final int ROOT_LEVEL_TOPIC_HEIGHT = SECOND_LEVEL_TOPIC_HEIGHT;
public static final int CENTRAL_TO_TOPIC_DISTANCE = 200;
public static final int TOPIC_TO_TOPIC_DISTANCE = 90;
private com.wisemapping.xml.mindmap.ObjectFactory mindmapObjectFactory;
private static final String POSITION_LEFT = "left";
private static final String BOLD = "bold";
@ -133,7 +136,8 @@ public class FreemindImporter
convertChildNodes(freeNode, wiseTopic, 1);
addRelationships(mindmapMap);
// @Todo: Pablo, tenemos que ver como arreglamos esto. No estoy seteando a los hijos la posicion.
//addRelationships(mindmapMap);
JAXBUtils.saveMap(mindmapMap, baos, "com.wisemapping.xml.mindmap");
@ -173,49 +177,36 @@ public class FreemindImporter
}
}
private void fixRelationshipControlPoints(@NotNull RelationshipType relationship) {
private void fixRelationshipControlPoints(@NotNull RelationshipType rel) {
//Both relationship node's ids should be freemind ones at this point.
TopicType srcTopic = nodesMap.get(relationship.getSrcTopicId());
TopicType destTopicType = nodesMap.get(relationship.getDestTopicId());
TopicType srcTopic = nodesMap.get(rel.getSrcTopicId());
TopicType destTopicType = nodesMap.get(rel.getDestTopicId());
//Fix x coord
if (isOnLeftSide(srcTopic)) {
String[] srcCtrlPoint = relationship.getSrcCtrlPoint().split(",");
int x = Integer.valueOf(srcCtrlPoint[0]) * -1;
relationship.setSrcCtrlPoint(x + "," + srcCtrlPoint[1]);
final Coord srcCtrlCoord = Coord.parse(rel.getSrcCtrlPoint());
final Coord destCtrlCoord = Coord.parse(rel.getDestCtrlPoint());
if (Coord.parse(srcTopic.getPosition()).isOnLeftSide()) {
int x = srcCtrlCoord.x * -1;
rel.setSrcCtrlPoint(x + "," + srcCtrlCoord.y);
}
if (isOnLeftSide(destTopicType)) {
String[] destCtrlPoint = relationship.getDestCtrlPoint().split(",");
int x = Integer.valueOf(destCtrlPoint[0]) * -1;
relationship.setDestCtrlPoint(x + "," + destCtrlPoint[1]);
if (Coord.parse(destTopicType.getPosition()).isOnLeftSide()) {
int x = destCtrlCoord.x * -1;
rel.setDestCtrlPoint(x + "," + destCtrlCoord.y);
}
//Fix coord
if (srcTopic.getOrder()!=null && srcTopic.getOrder() % 2 != 0) { //Odd order.
String[] srcCtrlPoint = relationship.getSrcCtrlPoint().split(",");
int y = Integer.valueOf(srcCtrlPoint[1]) * -1;
relationship.setSrcCtrlPoint(srcCtrlPoint[0] + "," + y);
if (srcTopic.getOrder() != null && srcTopic.getOrder() % 2 != 0) { //Odd order.
int y = srcCtrlCoord.y * -1;
rel.setSrcCtrlPoint(srcCtrlCoord.x + "," + y);
}
if (destTopicType.getOrder()!=null && destTopicType.getOrder() % 2 != 0) { //Odd order.
String[] destCtrlPoint = relationship.getDestCtrlPoint().split(",");
int y = Integer.valueOf(destCtrlPoint[1]) * -1;
relationship.setDestCtrlPoint(destCtrlPoint[0] + "," + y);
if (destTopicType.getOrder() != null && destTopicType.getOrder() % 2 != 0) { //Odd order.
int y = destCtrlCoord.y * -1;
rel.setDestCtrlPoint(destCtrlCoord.x + "," + y);
}
}
private boolean isOnLeftSide(TopicType topic) {
String[] position = topic.getPosition().split(",");
int x = Integer.parseInt(position[0]);
return x < 0;
}
private boolean isOnLeftSide(@NotNull String pos) {
String[] position = pos.split(",");
int x = Integer.parseInt(position[0]);
return x < 0;
}
private void convertChildNodes(@NotNull Node freeParent, @NotNull TopicType wiseParent, final int depth) {
final List<Object> freeChilden = freeParent.getArrowlinkOrCloudOrEdge();
TopicType currentWiseTopic = wiseParent;
@ -242,9 +233,14 @@ public class FreemindImporter
}
wiseChild.setOrder(norder);
// Convert node position ...
final String position = convertPosition(wiseParent, freeChild, depth, norder);
wiseChild.setPosition(position);
// @Todo: This is required in the old layout. Pablo, we need to discuss this.
if (depth == 1) {
// Convert node position
int childrenCount = freeChilden.size();
final String position = convertPosition(wiseParent, freeChild, depth, norder, childrenCount);
wiseChild.setPosition(position);
}
// Convert the rest of the node properties ...
convertNodeProperties(freeChild, wiseChild);
@ -305,29 +301,40 @@ public class FreemindImporter
}
} else if (element instanceof Arrowlink) {
final Arrowlink arrow = (Arrowlink) element;
RelationshipType relationship = mindmapObjectFactory.createRelationshipType();
RelationshipType relt = mindmapObjectFactory.createRelationshipType();
String destId = arrow.getDESTINATION();
relationship.setSrcTopicId(freeParent.getID());
relationship.setDestTopicId(destId);
relt.setSrcTopicId(freeParent.getID());
relt.setDestTopicId(destId);
String[] inclination = arrow.getENDINCLINATION().split(";");
relationship.setDestCtrlPoint(inclination[0] + "," + inclination[1]);
relt.setDestCtrlPoint(inclination[0] + "," + inclination[1]);
inclination = arrow.getSTARTINCLINATION().split(";");
relationship.setSrcCtrlPoint(inclination[0] + "," + inclination[1]);
relt.setSrcCtrlPoint(inclination[0] + "," + inclination[1]);
//relationship.setCtrlPointRelative(true);
relationship.setEndArrow(!arrow.getENDARROW().toLowerCase().equals("none"));
relationship.setStartArrow(!arrow.getSTARTARROW().toLowerCase().equals("none"));
relationship.setLineType("3");
relationships.add(relationship);
relt.setEndArrow(!arrow.getENDARROW().toLowerCase().equals("none"));
relt.setStartArrow(!arrow.getSTARTARROW().toLowerCase().equals("none"));
relt.setLineType("3");
relationships.add(relt);
}
}
}
/**
* Sort the freemind node following this pattern:
* <p/>
* 0 -> 3
* 1 -> 1
* 2 -> 0
* 3 -> 2
* 4 -> 4
*/
private int calcFirstLevelOrder(@NotNull List<Object> freeChilden, @NotNull Node freeChild) {
final List<Node> nodes = new ArrayList<Node>();
int result;
if (freeChild.getWorder() != null) {
result = freeChild.getWorder().intValue();
} else {
// Collect all the nodes of the same side ...
for (Object child : freeChilden) {
if (child instanceof Node) {
Node node = (Node) child;
@ -348,14 +355,15 @@ public class FreemindImporter
nodeIndex++;
}
int size = ORDER_SEPARATION_FACTOR * nodes.size();
int size = nodes.size();
int center = (size - 1) / 2;
result = (nodeIndex * ORDER_SEPARATION_FACTOR) - center + ((size % 2 == 0) ? 0 : 1);
result = nodeIndex - center;
if (result < 0) {
result = (result * ORDER_SEPARATION_FACTOR * -2) - 1;
if (result > 0) {
result = (result - 1) * 2;
} else {
result = (result * -2) + 1;
result = result * ORDER_SEPARATION_FACTOR * 2;
}
}
@ -369,37 +377,103 @@ public class FreemindImporter
*/
private
@NotNull
String convertPosition(@NotNull TopicType wiseParent, @NotNull Node freeChild, final int depth, int order) {
String convertPosition(@NotNull TopicType wiseParent, @NotNull Node freeChild, final int depth, int order, int childrenCount) {
// Which side must be the node be positioned ?
String result = freeChild.getWcoords();
if (result == null) {
BigInteger vgap = freeChild.getVSHIFT();
BigInteger hgap = freeChild.getHGAP();
if(hgap==null){
hgap = BigInteger.valueOf(0L);
// Calculate X ...
// Problem on setting X position:
// Text Size is not taken into account ...
int x = CENTRAL_TO_TOPIC_DISTANCE + ((depth - 1) * TOPIC_TO_TOPIC_DISTANCE);
if (depth == 1) {
final String side = freeChild.getPOSITION();
assert side != null : "This should not happen";
x = x * (POSITION_LEFT.equals(side) ? -1 : 1);
} else {
final Coord coord = Coord.parse(wiseParent.getPosition());
x = x * (coord.isOnLeftSide() ? -1 : 1);
}
if(vgap == null){
vgap = BigInteger.valueOf(20L*order);
// Calculate y ...
int y;
if (depth == 1) {
// Follow the following algorithm ...
// Order: 3 = -100 1
// Order: 1 = -50 2
// Order: 0 = 0 3
// Order: 2 = 50 4
// Order: 4 = 100 5
if (order % 2 == 0) {
y = ROOT_LEVEL_TOPIC_HEIGHT * order;
} else {
y = -ROOT_LEVEL_TOPIC_HEIGHT * (order + 1);
}
} else {
// Problem: What happen if the node is more tall than what is defined here.
Coord coord = Coord.parse(wiseParent.getPosition());
int parentY = coord.y;
y = parentY - ((childrenCount / 2) * SECOND_LEVEL_TOPIC_HEIGHT - (order * SECOND_LEVEL_TOPIC_HEIGHT));
}
String[] position = wiseParent.getPosition().split(",");
BigInteger fix = BigInteger.valueOf(1L);
if((freeChild.getPOSITION() !=null && POSITION_LEFT.equals(freeChild.getPOSITION().toLowerCase()))
|| freeChild.getPOSITION()==null && isOnLeftSide(wiseParent))
fix=BigInteger.valueOf(-1L);
BigInteger firstLevelDistance = BigInteger.valueOf(0L);
BigInteger defaultXDistance = BigInteger.valueOf(200L);
if(depth==1){
firstLevelDistance = BigInteger.valueOf(200L);
defaultXDistance = BigInteger.valueOf(0L);
}
BigInteger x = BigInteger.valueOf(Integer.valueOf(position[0])).add(hgap.multiply(fix).add(firstLevelDistance.multiply(fix)).add(defaultXDistance.multiply(fix)));
BigInteger y = BigInteger.valueOf(Integer.valueOf(position[1])).add(vgap);
result = x.toString()+","+y.toString();
result = x + "," + y;
}
return result;
}
/**
* Position is (x,y).
* x values greater than 0 are right axis
* x values lower than 0 are left axis
*/
// private
// @NotNull
// String convertPosition(@NotNull TopicType wiseParent, @NotNull Node freeChild, final int depth, int order) {
//
// // Which side must be the node be positioned ?
// String result = freeChild.getWcoords();
// if (result == null) {
// BigInteger vgap = freeChild.getVSHIFT();
// BigInteger hgap = freeChild.getHGAP();
//
// if (hgap == null) {
// hgap = BigInteger.valueOf(0L);
// }
//
// if (vgap == null) {
// vgap = BigInteger.valueOf(HALF_ROOT_TOPICS_SEPARATION * order);
// }
//
//
// final String[] position = wiseParent.getPosition().split(",");
// BigInteger fix = BigInteger.valueOf(1L);
// if ((freeChild.getPOSITION() != null && POSITION_LEFT.equals(freeChild.getPOSITION().toLowerCase()))
// || freeChild.getPOSITION() == null && isOnLeftSide(wiseParent)) {
// fix = BigInteger.valueOf(-1L);
//
// }
//
// BigInteger firstLevelDistance = BigInteger.valueOf(0L);
// BigInteger defaultXDistance = BigInteger.valueOf(200L);
// if (depth == 1) {
// firstLevelDistance = BigInteger.valueOf(200L);
// defaultXDistance = BigInteger.valueOf(0L);
// }
//
// BigInteger x = BigInteger.valueOf(Integer.valueOf(position[0])).add(hgap.multiply(fix).add(firstLevelDistance.multiply(fix)).add(defaultXDistance.multiply(fix)));
// BigInteger y = BigInteger.valueOf(Integer.valueOf(position[1])).add(vgap);
// result = x.toString() + "," + y.toString();
// }
// return result;
// }
private String getRichContent(Richcontent content) {
String result = null;
List<Element> elementList = content.getHtml().getAny();
@ -557,4 +631,23 @@ public class FreemindImporter
}
return result;
}
static private class Coord {
private int y;
private int x;
private Coord(@NotNull String pos) {
final String[] split = pos.split(",");
x = Integer.parseInt(split[0]);
y = Integer.parseInt(split[1]);
}
public static Coord parse(@NotNull String position) {
return new Coord(position);
}
private boolean isOnLeftSide() {
return x < 0;
}
}
}

View File

@ -130,7 +130,7 @@ public class Node {
// Wise Extensions
@XmlAttribute(name = "wCOORDS")
protected String wcoords;
@XmlAttribute(name = "WORDER")
@XmlAttribute(name = "wORDER")
protected BigInteger worder;
/**

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="This is the root node" ID="ID_0"><node WORDER="3" wCOORDS="200,60" TEXT="Child Level 1 Right 1" POSITION="right" ID="ID_1"/><node WORDER="3" wCOORDS="-200,60" TEXT="Child Level 1 Left 1" POSITION="left" ID="ID_2"><node WORDER="0" wCOORDS="-300,60" TEXT="Child Level 2 Left 11" POSITION="left" ID="ID_3"/><node WORDER="1" wCOORDS="-300,80" TEXT="Child Level 2 Left 12" POSITION="left" ID="ID_4"/></node><node WORDER="0" wCOORDS="200,0" TEXT="Child Level 1 Right 2" POSITION="right" ID="ID_5"/><node WORDER="0" wCOORDS="-200,0" TEXT="Child Level 1 Left 2" POSITION="left" ID="ID_6"><node WORDER="0" wCOORDS="-300,0" TEXT="Child Level 2 Left 21 " POSITION="left" ID="ID_7"/><node WORDER="1" wCOORDS="-300,20" TEXT="Child Level 2 Left 22" POSITION="left" ID="ID_8"/></node></node></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="This is the root node" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Child Level 1 Right 1" POSITION="right" ID="ID_1"/><node wORDER="0" wCOORDS="-200,0" TEXT="Child Level 1 Left 1" POSITION="left" ID="ID_2"><node wORDER="0" TEXT="Child Level 2 Left 11" ID="ID_3"/><node wORDER="1" TEXT="Child Level 2 Left 12" ID="ID_4"/></node><node wORDER="4" wCOORDS="200,100" TEXT="Child Level 1 Right 2" POSITION="right" ID="ID_5"/><node wORDER="4" wCOORDS="-200,100" TEXT="Child Level 1 Left 2" POSITION="left" ID="ID_6"><node wORDER="0" TEXT="Child Level 2 Left 21 " ID="ID_7"/><node wORDER="1" TEXT="Child Level 2 Left 22" ID="ID_8"/></node></node></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="This is the root node"><topic id="1" position="200,60" order="3" shape="line" text="Child Level 1 Right 1"/><topic id="2" position="-200,60" order="3" shape="line" text="Child Level 1 Left 1"><topic id="3" position="-300,60" order="0" shape="line" text="Child Level 2 Left 11"/><topic id="4" position="-300,80" order="1" shape="line" text="Child Level 2 Left 12"/></topic><topic id="5" position="200,0" order="0" shape="line" text="Child Level 1 Right 2"/><topic id="6" position="-200,0" order="0" shape="line" text="Child Level 1 Left 2"><topic id="7" position="-300,0" order="0" shape="line" text="Child Level 2 Left 21 "/><topic id="8" position="-300,20" order="1" shape="line" text="Child Level 2 Left 22"/></topic></topic></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="This is the root node"><topic id="1" position="200,0" order="0" shape="line" text="Child Level 1 Right 1"/><topic id="2" position="-200,0" order="0" shape="line" text="Child Level 1 Left 1"><topic id="3" order="0" shape="line" text="Child Level 2 Left 11"/><topic id="4" order="1" shape="line" text="Child Level 2 Left 12"/></topic><topic id="5" position="200,100" order="4" shape="line" text="Child Level 1 Right 2"/><topic id="6" position="-200,100" order="4" shape="line" text="Child Level 1 Left 2"><topic id="7" order="0" shape="line" text="Child Level 2 Left 21 "/><topic id="8" order="1" shape="line" text="Child Level 2 Left 22"/></topic></topic></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Fonts" ID="ID_0"><node WORDER="1" wCOORDS="200,20" TEXT="Styles" POSITION="right" ID="ID_1"><node WORDER="0" wCOORDS="300,20" TEXT="Bold" POSITION="right" ID="ID_2"><font SIZE="12" NAME="Arial" BOLD="true"/></node><node WORDER="1" wCOORDS="300,40" TEXT="Italic" POSITION="right" ID="ID_3"><font SIZE="12" NAME="Arial" ITALIC="true"/></node></node><node WORDER="1" wCOORDS="-200,20" TEXT="Sizes" POSITION="left" ID="ID_4"><node WORDER="0" wCOORDS="-300,20" TEXT="Normal----" POSITION="left" ID="ID_5"><font SIZE="8" NAME="Arial"/></node><node WORDER="1" wCOORDS="-300,40" TEXT="Normal---" POSITION="left" ID="ID_6"><font SIZE="9" NAME="Arial"/></node><node WORDER="2" wCOORDS="-300,60" TEXT="Normal--" POSITION="left" ID="ID_7"><font SIZE="10" NAME="Arial"/></node><node WORDER="3" wCOORDS="-300,80" TEXT="Normal-" POSITION="left" ID="ID_8"><font SIZE="11" NAME="Arial"/></node><node WORDER="4" wCOORDS="-300,100" TEXT="Normal" POSITION="left" ID="ID_9"/><node WORDER="5" wCOORDS="-300,120" TEXT="Nomal+" POSITION="left" ID="ID_10"><font SIZE="13" NAME="Arial"/></node><node WORDER="6" wCOORDS="-300,140" TEXT="Normal++" POSITION="left" ID="ID_11"><font SIZE="14" NAME="Arial"/></node><node WORDER="7" wCOORDS="-300,160" TEXT="Normal+++" POSITION="left" ID="ID_12"><font SIZE="15" NAME="Arial"/></node><node WORDER="8" wCOORDS="-300,180" TEXT="Normal++++" POSITION="left" ID="ID_13"><font SIZE="16" NAME="Arial"/></node></node></node></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Fonts" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Styles" POSITION="right" ID="ID_1"><node wORDER="0" TEXT="Bold" ID="ID_2"><font SIZE="12" NAME="Arial" BOLD="true"/></node><node wORDER="1" TEXT="Italic" ID="ID_3"><font SIZE="12" NAME="Arial" ITALIC="true"/></node></node><node wORDER="0" wCOORDS="-200,0" TEXT="Sizes" POSITION="left" ID="ID_4"><node wORDER="0" TEXT="Normal----" ID="ID_5"><font SIZE="8" NAME="Arial"/></node><node wORDER="1" TEXT="Normal---" ID="ID_6"><font SIZE="9" NAME="Arial"/></node><node wORDER="2" TEXT="Normal--" ID="ID_7"><font SIZE="10" NAME="Arial"/></node><node wORDER="3" TEXT="Normal-" ID="ID_8"><font SIZE="11" NAME="Arial"/></node><node wORDER="4" TEXT="Normal" ID="ID_9"/><node wORDER="5" TEXT="Nomal+" ID="ID_10"><font SIZE="13" NAME="Arial"/></node><node wORDER="6" TEXT="Normal++" ID="ID_11"><font SIZE="14" NAME="Arial"/></node><node wORDER="7" TEXT="Normal+++" ID="ID_12"><font SIZE="15" NAME="Arial"/></node><node wORDER="8" TEXT="Normal++++" ID="ID_13"><font SIZE="16" NAME="Arial"/></node></node></node></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Fonts"><topic id="1" position="200,20" order="1" shape="line" text="Styles"><topic id="2" position="300,20" order="0" fontStyle="Arial;12;;bold;;" shape="line" text="Bold"/><topic id="3" position="300,40" order="1" fontStyle="Arial;12;;;italic;" shape="line" text="Italic"/></topic><topic id="4" position="-200,20" order="1" shape="line" text="Sizes"><topic id="5" position="-300,20" order="0" fontStyle="Arial;8;;;;" shape="line" text="Normal----"/><topic id="6" position="-300,40" order="1" fontStyle="Arial;9;;;;" shape="line" text="Normal---"/><topic id="7" position="-300,60" order="2" fontStyle="Arial;10;;;;" shape="line" text="Normal--"/><topic id="8" position="-300,80" order="3" fontStyle="Arial;11;;;;" shape="line" text="Normal-"/><topic id="9" position="-300,100" order="4" shape="line" text="Normal"/><topic id="10" position="-300,120" order="5" fontStyle="Arial;13;;;;" shape="line" text="Nomal+"/><topic id="11" position="-300,140" order="6" fontStyle="Arial;14;;;;" shape="line" text="Normal++"/><topic id="12" position="-300,160" order="7" fontStyle="Arial;15;;;;" shape="line" text="Normal+++"/><topic id="13" position="-300,180" order="8" fontStyle="Arial;16;;;;" shape="line" text="Normal++++"/></topic></topic></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Fonts"><topic id="1" position="200,0" order="0" shape="line" text="Styles"><topic id="2" order="0" fontStyle="Arial;12;;bold;;" shape="line" text="Bold"/><topic id="3" order="1" fontStyle="Arial;12;;;italic;" shape="line" text="Italic"/></topic><topic id="4" position="-200,0" order="0" shape="line" text="Sizes"><topic id="5" order="0" fontStyle="Arial;8;;;;" shape="line" text="Normal----"/><topic id="6" order="1" fontStyle="Arial;9;;;;" shape="line" text="Normal---"/><topic id="7" order="2" fontStyle="Arial;10;;;;" shape="line" text="Normal--"/><topic id="8" order="3" fontStyle="Arial;11;;;;" shape="line" text="Normal-"/><topic id="9" order="4" shape="line" text="Normal"/><topic id="10" order="5" fontStyle="Arial;13;;;;" shape="line" text="Nomal+"/><topic id="11" order="6" fontStyle="Arial;14;;;;" shape="line" text="Normal++"/><topic id="12" order="7" fontStyle="Arial;15;;;;" shape="line" text="Normal+++"/><topic id="13" order="8" fontStyle="Arial;16;;;;" shape="line" text="Normal++++"/></topic></topic></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="i18n" ID="ID_0"><node WORDER="3" wCOORDS="200,60" TEXT="Este es un é con acento" POSITION="right" ID="ID_1"/><node WORDER="1" wCOORDS="-200,20" TEXT="Este es una ñ" POSITION="left" ID="ID_2"/><node WORDER="0" wCOORDS="200,0" TEXT="這是一個樣本 Japanise。" POSITION="right" ID="ID_3"/></node></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="i18n" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Este es un é con acento" POSITION="right" ID="ID_1"/><node wORDER="0" wCOORDS="-200,0" TEXT="Este es una ñ" POSITION="left" ID="ID_2"/><node wORDER="4" wCOORDS="200,100" TEXT="這是一個樣本 Japanise。" POSITION="right" ID="ID_3"/></node></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="i18n"><topic id="1" position="200,60" order="3" shape="line" text="Este es un é con acento"/><topic id="2" position="-200,20" order="1" shape="line" text="Este es una ñ"/><topic id="3" position="200,0" order="0" shape="line" text="這是一個樣本 Japanise。"/></topic></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="i18n"><topic id="1" position="200,0" order="0" shape="line" text="Este es un é con acento"/><topic id="2" position="-200,0" order="0" shape="line" text="Este es una ñ"/><topic id="3" position="200,100" order="4" shape="line" text="這是一個樣本 Japanise。"/></topic></map>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Node Links" LINK="http://www.google.com" ID="ID_0"><icon BUILTIN="closed"/><node WORDER="1" wCOORDS="200,20" TEXT="Link Topic" POSITION="right" LINK="http://www.bing.com" ID="ID_1" FOLDED="true"><icon BUILTIN="info"/><node WORDER="0" wCOORDS="300,20" TEXT="Link Topic Topic" POSITION="right" LINK="http://bing.com" ID="ID_2"><icon BUILTIN="messagebox_warning"/></node></node></node></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Node Links" LINK="http://www.google.com" ID="ID_0"><icon BUILTIN="closed"/><node wORDER="0" wCOORDS="200,0" TEXT="Link Topic" POSITION="right" LINK="http://www.bing.com" ID="ID_1" FOLDED="true"><icon BUILTIN="info"/><node wORDER="0" TEXT="Link Topic Topic" LINK="http://bing.com" ID="ID_2"><icon BUILTIN="messagebox_warning"/></node></node></node></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Node Links"><icon id="onoff_delete"/><link url="http://www.google.com"/><topic shrink="true" id="1" position="200,20" order="1" shape="line" text="Link Topic"><icon id="sign_info"/><link url="http://www.bing.com"/><topic id="2" position="300,20" order="0" shape="line" text="Link Topic Topic"><icon id="sign_warning"/><link url="http://bing.com"/></topic></topic></topic></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Node Links"><icon id="onoff_delete"/><link url="http://www.google.com"/><topic shrink="true" id="1" position="200,0" order="0" shape="line" text="Link Topic"><icon id="sign_info"/><link url="http://www.bing.com"/><topic id="2" order="0" shape="line" text="Link Topic Topic"><icon id="sign_warning"/><link url="http://bing.com"/></topic></topic></topic></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="I have HTML In Nodes" ID="ID_0"><node WORDER="1" wCOORDS="200,20" TEXT="Here is some fonts   Add color changes ... Add some bullets: Different Bullets And all aligned !!!!s" POSITION="right" ID="ID_1"/></node></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="I have HTML In Nodes" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Here is some fonts   Add color changes ... Add some bullets: Different Bullets And all aligned !!!!s" POSITION="right" ID="ID_1"/></node></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="I have HTML In Nodes"><topic id="1" position="200,20" order="1" shape="line" text="Here is some fonts   Add color changes ... Add some bullets: Different Bullets And all aligned !!!!s"/></topic></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="I have HTML In Nodes"><topic id="1" position="200,0" order="0" shape="line" text="Here is some fonts   Add color changes ... Add some bullets: Different Bullets And all aligned !!!!s"/></topic></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Shapes" ID="ID_0"><node WORDER="1" wCOORDS="200,20" TEXT="Node Styles" POSITION="right" ID="ID_1"><node WORDER="0" wCOORDS="300,20" TEXT="Fork" POSITION="right" ID="ID_2"><edge COLOR="#808080"/></node><node WORDER="1" wCOORDS="300,40" TEXT="Bubble" STYLE="bubble" POSITION="right" ID="ID_3"><edge COLOR="#808080"/></node><node WORDER="2" wCOORDS="300,60" TEXT="As parent" POSITION="right" ID="ID_4"><edge COLOR="#808080"/></node><node WORDER="3" wCOORDS="300,80" TEXT="Combined" POSITION="right" ID="ID_5"><edge COLOR="#808080"/></node></node><node WORDER="3" wCOORDS="-200,60" TEXT="Node Background Color" POSITION="left" ID="ID_6" BACKGROUND_COLOR="#f20707"><node WORDER="0" wCOORDS="-300,60" TEXT="Fork" POSITION="left" ID="ID_7" BACKGROUND_COLOR="#0000cc"><edge COLOR="#808080"/></node><node WORDER="1" wCOORDS="-300,80" TEXT="Bubble" STYLE="bubble" POSITION="left" ID="ID_8" BACKGROUND_COLOR="#ccffcc"><edge COLOR="#808080"/></node><node WORDER="2" wCOORDS="-300,100" TEXT="As parent" POSITION="left" ID="ID_9" BACKGROUND_COLOR="#00ffff"><edge COLOR="#808080"/></node><node WORDER="3" wCOORDS="-300,120" TEXT="Combined" POSITION="left" ID="ID_10" BACKGROUND_COLOR="#990099"><edge COLOR="#808080"/></node></node><node WORDER="0" wCOORDS="-200,0" TEXT="Node Text Color" POSITION="left" ID="ID_11" BACKGROUND_COLOR="#f20707"><node WORDER="0" wCOORDS="-300,0" TEXT="Fork" POSITION="left" ID="ID_12" COLOR="#ffff00" BACKGROUND_COLOR="#0000cc"><edge COLOR="#808080"/></node><node WORDER="1" wCOORDS="-300,20" TEXT="Bubble" STYLE="bubble" POSITION="left" ID="ID_13" COLOR="#ff6666" BACKGROUND_COLOR="#ccffcc"><edge COLOR="#808080"/></node><node WORDER="2" wCOORDS="-300,40" TEXT="As parent" POSITION="left" ID="ID_14" COLOR="#009999" BACKGROUND_COLOR="#00ffff"><edge COLOR="#808080"/></node><node WORDER="3" wCOORDS="-300,60" TEXT="Combined" POSITION="left" ID="ID_15" COLOR="#009999" BACKGROUND_COLOR="#990099"><edge COLOR="#808080"/></node></node></node></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="Shapes" ID="ID_0"><node wORDER="0" wCOORDS="200,0" TEXT="Node Styles" POSITION="right" ID="ID_1"><node wORDER="0" TEXT="Fork" ID="ID_2"><edge COLOR="#808080"/></node><node wORDER="1" TEXT="Bubble" STYLE="bubble" ID="ID_3"><edge COLOR="#808080"/></node><node wORDER="2" TEXT="As parent" ID="ID_4"><edge COLOR="#808080"/></node><node wORDER="3" TEXT="Combined" ID="ID_5"><edge COLOR="#808080"/></node></node><node wORDER="0" wCOORDS="-200,0" TEXT="Node Background Color" POSITION="left" ID="ID_6" BACKGROUND_COLOR="#f20707"><node wORDER="0" TEXT="Fork" ID="ID_7" BACKGROUND_COLOR="#0000cc"><edge COLOR="#808080"/></node><node wORDER="1" TEXT="Bubble" STYLE="bubble" ID="ID_8" BACKGROUND_COLOR="#ccffcc"><edge COLOR="#808080"/></node><node wORDER="2" TEXT="As parent" ID="ID_9" BACKGROUND_COLOR="#00ffff"><edge COLOR="#808080"/></node><node wORDER="3" TEXT="Combined" ID="ID_10" BACKGROUND_COLOR="#990099"><edge COLOR="#808080"/></node></node><node wORDER="4" wCOORDS="-200,100" TEXT="Node Text Color" POSITION="left" ID="ID_11" BACKGROUND_COLOR="#f20707"><node wORDER="0" TEXT="Fork" ID="ID_12" COLOR="#ffff00" BACKGROUND_COLOR="#0000cc"><edge COLOR="#808080"/></node><node wORDER="1" TEXT="Bubble" STYLE="bubble" ID="ID_13" COLOR="#ff6666" BACKGROUND_COLOR="#ccffcc"><edge COLOR="#808080"/></node><node wORDER="2" TEXT="As parent" ID="ID_14" COLOR="#009999" BACKGROUND_COLOR="#00ffff"><edge COLOR="#808080"/></node><node wORDER="3" TEXT="Combined" ID="ID_15" COLOR="#009999" BACKGROUND_COLOR="#990099"><edge COLOR="#808080"/></node></node></node></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Shapes"><topic id="1" position="200,20" order="1" shape="line" text="Node Styles"><topic id="2" position="300,20" order="0" brColor="#808080" shape="line" text="Fork"/><topic id="3" position="300,40" order="1" brColor="#808080" shape="rounded rectagle" text="Bubble"/><topic id="4" position="300,60" order="2" brColor="#808080" shape="line" text="As parent"/><topic id="5" position="300,80" order="3" brColor="#808080" shape="line" text="Combined"/></topic><topic id="6" position="-200,60" order="3" bgColor="#f20707" shape="line" text="Node Background Color"><topic id="7" position="-300,60" order="0" brColor="#808080" bgColor="#0000cc" shape="line" text="Fork"/><topic id="8" position="-300,80" order="1" brColor="#808080" bgColor="#ccffcc" shape="rounded rectagle" text="Bubble"/><topic id="9" position="-300,100" order="2" brColor="#808080" bgColor="#00ffff" shape="line" text="As parent"/><topic id="10" position="-300,120" order="3" brColor="#808080" bgColor="#990099" shape="line" text="Combined"/></topic><topic id="11" position="-200,0" order="0" bgColor="#f20707" shape="line" text="Node Text Color"><topic id="12" position="-300,0" order="0" brColor="#808080" bgColor="#0000cc" fontStyle=";;#ffff00;;;" shape="line" text="Fork"/><topic id="13" position="-300,20" order="1" brColor="#808080" bgColor="#ccffcc" fontStyle=";;#ff6666;;;" shape="rounded rectagle" text="Bubble"/><topic id="14" position="-300,40" order="2" brColor="#808080" bgColor="#00ffff" fontStyle=";;#009999;;;" shape="line" text="As parent"/><topic id="15" position="-300,60" order="3" brColor="#808080" bgColor="#990099" fontStyle=";;#009999;;;" shape="line" text="Combined"/></topic></topic></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Shapes"><topic id="1" position="200,0" order="0" shape="line" text="Node Styles"><topic id="2" order="0" brColor="#808080" shape="line" text="Fork"/><topic id="3" order="1" brColor="#808080" shape="rounded rectagle" text="Bubble"/><topic id="4" order="2" brColor="#808080" shape="line" text="As parent"/><topic id="5" order="3" brColor="#808080" shape="line" text="Combined"/></topic><topic id="6" position="-200,0" order="0" bgColor="#f20707" shape="line" text="Node Background Color"><topic id="7" order="0" brColor="#808080" bgColor="#0000cc" shape="line" text="Fork"/><topic id="8" order="1" brColor="#808080" bgColor="#ccffcc" shape="rounded rectagle" text="Bubble"/><topic id="9" order="2" brColor="#808080" bgColor="#00ffff" shape="line" text="As parent"/><topic id="10" order="3" brColor="#808080" bgColor="#990099" shape="line" text="Combined"/></topic><topic id="11" position="-200,100" order="4" bgColor="#f20707" shape="line" text="Node Text Color"><topic id="12" order="0" brColor="#808080" bgColor="#0000cc" fontStyle=";;#ffff00;;;" shape="line" text="Fork"/><topic id="13" order="1" brColor="#808080" bgColor="#ccffcc" fontStyle=";;#ff6666;;;" shape="rounded rectagle" text="Bubble"/><topic id="14" order="2" brColor="#808080" bgColor="#00ffff" fontStyle=";;#009999;;;" shape="line" text="As parent"/><topic id="15" order="3" brColor="#808080" bgColor="#990099" fontStyle=";;#009999;;;" shape="line" text="Combined"/></topic></topic></map>

View File

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="0.9.0"><node wCOORDS="0,0" TEXT="eeeeeeeeeee" ID="ID_0" COLOR="#000000"><font SIZE="10" NAME="Arial"/><hook NAME="accessories/plugins/NodeNote.properties"><text>
</text></hook><node WORDER="11" wCOORDS="200,220" TEXT="interne" POSITION="right" ID="ID_1" COLOR="#cc0000"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/><node WORDER="0" wCOORDS="300,220" TEXT="faiblesses" POSITION="right" ID="ID_2" COLOR="#330033"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/></node></node><node WORDER="7" wCOORDS="200,140" TEXT="www.luxuo.com" POSITION="right" LINK="www.luxuo.com" ID="ID_3"><arrowlink ENDARROW="Default" DESTINATION="ID_6"/></node><node WORDER="3" wCOORDS="200,60" TEXT="" POSITION="right" ID="ID_4"/><node WORDER="0" wCOORDS="200,0" TEXT="forces" POSITION="right" ID="ID_5" COLOR="#003333"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/></node><node WORDER="4" wCOORDS="200,80" TEXT="" POSITION="right" ID="ID_6"><hook NAME="accessories/plugins/NodeNote.properties"><text>%5El%3A%5El%3A%5El
</text></hook></node><node WORDER="8" wCOORDS="200,160" TEXT="" POSITION="right" ID="ID_7"><node WORDER="0" wCOORDS="300,160" TEXT="externe" POSITION="right" ID="ID_8" COLOR="#000066"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/><node WORDER="0" wCOORDS="400,160" TEXT="opportunit?s" POSITION="right" ID="ID_9" COLOR="#ff3300"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/></node><node WORDER="1" wCOORDS="400,180" TEXT="menaces" POSITION="right" ID="ID_10" COLOR="#333300"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/><arrowlink ENDARROW="Default" DESTINATION="ID_0"/></node></node><arrowlink ENDARROW="Default" DESTINATION="ID_5"/></node></node></map>
</text></hook><node wORDER="7" wCOORDS="200,-200" TEXT="interne" POSITION="right" ID="ID_1" COLOR="#cc0000"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/><node wORDER="0" TEXT="faiblesses" ID="ID_2" COLOR="#330033"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/></node></node><node wORDER="3" wCOORDS="200,-100" TEXT="www.luxuo.com" POSITION="right" LINK="www.luxuo.com" ID="ID_3"/><node wORDER="0" wCOORDS="200,0" TEXT="" POSITION="right" ID="ID_4"/><node wORDER="4" wCOORDS="200,100" TEXT="forces" POSITION="right" ID="ID_5" COLOR="#003333"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/></node><node wORDER="8" wCOORDS="200,200" TEXT="" POSITION="right" ID="ID_6"><hook NAME="accessories/plugins/NodeNote.properties"><text>%5El%3A%5El%3A%5El
</text></hook></node><node wORDER="12" wCOORDS="200,300" TEXT="" POSITION="right" ID="ID_7"><node wORDER="0" TEXT="externe" ID="ID_8" COLOR="#000066"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/><node wORDER="0" TEXT="opportunit?s" ID="ID_9" COLOR="#ff3300"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/></node><node wORDER="1" TEXT="menaces" ID="ID_10" COLOR="#333300"><font SIZE="12" NAME="Arial" ITALIC="true" BOLD="true"/></node></node></node></node></map>

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" fontStyle="Arial;10;#000000;;;" shape="rounded rectagle" text="eeeeeeeeeee"><note text="%0A "/><topic id="1" position="200,220" order="11" fontStyle="Arial;12;#cc0000;bold;italic;" shape="line" text="interne"><topic id="2" position="300,220" order="0" fontStyle="Arial;12;#330033;bold;italic;" shape="line" text="faiblesses"/></topic><topic id="3" position="200,140" order="7" shape="line" text="www.luxuo.com"><link url="www.luxuo.com"/></topic><topic id="4" position="200,60" order="3" shape="line" text=""/><topic id="5" position="200,0" order="0" fontStyle="Arial;12;#003333;bold;italic;" shape="line" text="forces"/><topic id="6" position="200,80" order="4" shape="line" text=""><note text="%5El%3A%5El%3A%5El%0A "/></topic><topic id="7" position="200,160" order="8" shape="line" text=""><topic id="8" position="300,160" order="0" fontStyle="Arial;12;#000066;bold;italic;" shape="line" text="externe"><topic id="9" position="400,160" order="0" fontStyle="Arial;12;#ff3300;bold;italic;" shape="line" text="opportunit?s"/><topic id="10" position="400,180" order="1" fontStyle="Arial;12;#333300;bold;italic;" shape="line" text="menaces"/></topic></topic></topic><relationship startArrow="false" endArrow="true" destCtrlPoint="108,0" srcCtrlPoint="108,0" lineType="3" destTopicId="6" srcTopicId="3" id="11"/><relationship startArrow="false" endArrow="true" destCtrlPoint="63,0" srcCtrlPoint="63,0" lineType="3" destTopicId="5" srcTopicId="7" id="12"/><relationship startArrow="false" endArrow="true" destCtrlPoint="211,0" srcCtrlPoint="211,0" lineType="3" destTopicId="0" srcTopicId="10" id="13"/></map>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><map version="pela" name="basic"><topic id="0" central="true" position="0,0" fontStyle="Arial;10;#000000;;;" shape="rounded rectagle" text="eeeeeeeeeee"><note text="%0A "/><topic id="1" position="200,-200" order="7" fontStyle="Arial;12;#cc0000;bold;italic;" shape="line" text="interne"><topic id="2" order="0" fontStyle="Arial;12;#330033;bold;italic;" shape="line" text="faiblesses"/></topic><topic id="3" position="200,-100" order="3" shape="line" text="www.luxuo.com"><link url="www.luxuo.com"/></topic><topic id="4" position="200,0" order="0" shape="line" text=""/><topic id="5" position="200,100" order="4" fontStyle="Arial;12;#003333;bold;italic;" shape="line" text="forces"/><topic id="6" position="200,200" order="8" shape="line" text=""><note text="%5El%3A%5El%3A%5El%0A "/></topic><topic id="7" position="200,300" order="12" shape="line" text=""><topic id="8" order="0" fontStyle="Arial;12;#000066;bold;italic;" shape="line" text="externe"><topic id="9" order="0" fontStyle="Arial;12;#ff3300;bold;italic;" shape="line" text="opportunit?s"/><topic id="10" order="1" fontStyle="Arial;12;#333300;bold;italic;" shape="line" text="menaces"/></topic></topic></topic></map>

View File

@ -0,0 +1,20 @@
Actual :<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<map version="pela" name="basic">
<topic id="0" central="true" position="0,0" shape="rounded rectagle" text="Fonts">
<topic id="1" position="200,-50" order="1" shape="line" text="Styles">
<topic id="2" position="400,-25" order="0" fontStyle="Arial;12;;bold;;" shape="line" text="Bold"/>
<topic id="3" position="400,-50" order="1" fontStyle="Arial;12;;;italic;" shape="line" text="Italic"/>
</topic>
<topic id="4" position="-200,-50" order="1" shape="line" text="Sizes">
<topic id="5" position="-400,50" order="0" fontStyle="Arial;8;;;;" shape="line" text="Normal----"/>
<topic id="6" position="-400,25" order="1" fontStyle="Arial;9;;;;" shape="line" text="Normal---"/>
<topic id="7" position="-400,0" order="2" fontStyle="Arial;10;;;;" shape="line" text="Normal--"/>
<topic id="8" position="-400,-25" order="3" fontStyle="Arial;11;;;;" shape="line" text="Normal-"/>
<topic id="9" position="-400,-50" order="4" shape="line" text="Normal"/>
<topic id="10" position="-400,-75" order="5" fontStyle="Arial;13;;;;" shape="line" text="Nomal+"/>
<topic id="11" position="-400,-100" order="6" fontStyle="Arial;14;;;;" shape="line" text="Normal++"/>
<topic id="12" position="-400,-125" order="7" fontStyle="Arial;15;;;;" shape="line" text="Normal+++"/>
<topic id="13" position="-400,-150" order="8" fontStyle="Arial;16;;;;" shape="line" text="Normal++++"/>
</topic>
</topic>
</map>