mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +01:00
Corrections in the freemind exporter
This commit is contained in:
parent
a7df3b2db6
commit
1051ada3d6
@ -6,6 +6,7 @@ import IconModel from '../model/IconModel';
|
|||||||
import FeatureModel from '../model/FeatureModel';
|
import FeatureModel from '../model/FeatureModel';
|
||||||
import LinkModel from '../model/LinkModel';
|
import LinkModel from '../model/LinkModel';
|
||||||
import NoteModel from '../model/NoteModel';
|
import NoteModel from '../model/NoteModel';
|
||||||
|
import PositionNodeType from '../PositionType';
|
||||||
import Exporter from './Exporter';
|
import Exporter from './Exporter';
|
||||||
import FreemindConstant from './freemind/FreemindConstant';
|
import FreemindConstant from './freemind/FreemindConstant';
|
||||||
import VersionNumber from './freemind/importer/VersionNumber';
|
import VersionNumber from './freemind/importer/VersionNumber';
|
||||||
@ -18,8 +19,6 @@ import Icon from './freemind/Icon';
|
|||||||
import Edge from './freemind/Edge';
|
import Edge from './freemind/Edge';
|
||||||
import Font from './freemind/Font';
|
import Font from './freemind/Font';
|
||||||
|
|
||||||
type PositionNodeType = {x: number, y: number}
|
|
||||||
|
|
||||||
class FreemindExporter extends Exporter {
|
class FreemindExporter extends Exporter {
|
||||||
private mindmap: Mindmap;
|
private mindmap: Mindmap;
|
||||||
|
|
||||||
@ -64,7 +63,7 @@ class FreemindExporter extends Exporter {
|
|||||||
return 'mm';
|
return 'mm';
|
||||||
}
|
}
|
||||||
|
|
||||||
async export(): Promise<string> {
|
export(): Promise<string> {
|
||||||
this.objectFactory = new ObjectFactory();
|
this.objectFactory = new ObjectFactory();
|
||||||
this.nodeMap = new Map();
|
this.nodeMap = new Map();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user