mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Freemind Import - Fixing relationshis in loop
This commit is contained in:
parent
be4cebf64b
commit
8db75a940d
@ -629,15 +629,13 @@ mindplot.MindmapDesigner.prototype._buildRelationship = function (model) {
|
|||||||
if (t.getModel().getId() == fromNodeId)
|
if (t.getModel().getId() == fromNodeId)
|
||||||
{
|
{
|
||||||
fromTopic= t;
|
fromTopic= t;
|
||||||
if(toTopic!=null){
|
}
|
||||||
break;
|
if (t.getModel().getId() == toNodeId)
|
||||||
}
|
|
||||||
}else if (t.getModel().getId() == toNodeId)
|
|
||||||
{
|
{
|
||||||
toTopic= t;
|
toTopic= t;
|
||||||
if(fromTopic!=null){
|
}
|
||||||
break;
|
if(toTopic!=null && fromTopic!=null){
|
||||||
}
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -377,7 +377,7 @@ public class FreemindImporter
|
|||||||
{
|
{
|
||||||
fontStyle.append(fixFontName(font));
|
fontStyle.append(fixFontName(font));
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
BigInteger bigInteger = font.getSIZE().intValue() < 8 ? BigInteger.valueOf(8) : font.getSIZE();
|
BigInteger bigInteger = (font.getSIZE()==null || font.getSIZE().intValue() < 8) ? BigInteger.valueOf(8) : font.getSIZE();
|
||||||
fontStyle.append(bigInteger);
|
fontStyle.append(bigInteger);
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
fontStyle.append(node.getCOLOR());
|
fontStyle.append(node.getCOLOR());
|
||||||
|
Loading…
Reference in New Issue
Block a user