Corrections in the freemind exporter

This commit is contained in:
Ezequiel-Vega 2022-02-24 11:09:33 -03:00
parent a7df3b2db6
commit 1051ada3d6

View File

@ -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();