

import mx from 'mxgraph';

//@ts-ignore
export const mxgraph = mx({
    mxImageBasePath: "/script/mxgraph-source/images/",
    mxLoadResources: false,
    mxLoadStylesheets: false
});
// decode bug https://github.com/jgraph/mxgraph/issues/49
// //@ts-ignore
// window.mxGraph = mxgraph.mxGraph;
//@ts-ignore
// window.mxGraphModel = mxgraph.mxGraphModel;
// //@ts-ignore
// window.mxEditor = mxgraph.mxEditor;
// //@ts-ignore
// window.mxGeometry = mxgraph.mxGeometry;
// //@ts-ignore
// window.mxDefaultKeyHandler = mxgraph.mxDefaultKeyHandler;
// //@ts-ignore
// window.mxDefaultPopupMenu = mxgraph.mxDefaultPopupMenu;
// //@ts-ignore
// window.mxStylesheet = mxgraph.mxStylesheet;
// //@ts-ignore
// window.mxDefaultToolbar = mxgraph.mxDefaultToolbar;
// //@ts-ignore
// window.mxStencilRegistry = mxgraph.mxStencilRegistry;
// //@ts-ignore
// window.mxStencil = mxgraph.mxStencil;
//@ts-ignore
// window.mxConnectionHandler = mxgraph.mxConnectionHandler
// //@ts-ignore
// window.mxImage = mxgraph.mxImage;
//@ts-ignore
// window.mxToolbar = mxgraph.mxToolbar;
//@ts-ignore
// window.mxKeyHandler = mxgraph.mxKeyHandler;
//@ts-ignore
// window.mxGraphHandler = mxgraph.mxGraphHandler;
// //@ts-ignore
// window.mxCellTracker = mxgraph.mxCellTracker;
// //@ts-ignore
// window.mxRubberband = mxgraph.mxRubberband;
// //@ts-ignore
// window.mxOutline = mxgraph.mxOutline;
// //@ts-ignore
// window.mxCell = mxgraph.mxCell;
// //@ts-ignore
// window.mxEdgeStyle = mxgraph.mxEdgeStyle;
// //@ts-ignore
// window.mxShape = mxgraph.mxShape;
// //@ts-ignore
// window.mxConnectionConstraint = mxgraph.mxConnectionConstraint;
// //@ts-ignore
// window.mxPoint = mxgraph.mxPoint
// //@ts-ignore
// window.mxEvent = mxgraph.mxEvent
// //@ts-ignore
// window.mxObjectCodec = mxgraph.mxObjectCodec
// //@ts-ignore
// window.mxGuide = mxgraph.mxGuide
// //@ts-ignore
// window.mxEdgeHandler = mxgraph.mxEdgeHandler
// //@ts-ignore
// window.mxWindow = mxgraph.mxWindow
// //@ts-ignore
// window.mxEffects = mxgraph.mxEffects
// //@ts-ignore
// window.mxSwimlaneManager = mxgraph.mxSwimlaneManager
// //@ts-ignore
// window.mxStackLayout = mxgraph.mxStackLayout
// //@ts-ignore
// window.mxLayoutManager = mxgraph.mxLayoutManager
// //@ts-ignore
// window.mxSwimlane = mxgraph.mxSwimlane
// //@ts-ignore
// window.mxSwimlaneLayout = mxgraph.mxSwimlaneLayout
// //@ts-ignore
// window.mxStyleRegistry = mxgraph.mxStyleRegistry
// //@ts-ignore
// window.mxMarker = mxgraph.mxMarker
// //@ts-ignore
// window.mxArrow = mxgraph.mxArrow
// //@ts-ignore
// window.mxCellRenderer = mxgraph.mxCellRenderer
// //@ts-ignore
// window.mxCylinder = mxgraph.mxCylinder
// //@ts-ignore
// window.mxClipboard = mxgraph.mxClipboard
// //@ts-ignore
// window.mxConstants = mxgraph.mxConstants
// //@ts-ignore
// window.mxEventObject = mxgraph.mxEventObject
// //@ts-ignore
// window.mxDragSource = mxgraph.mxDragSource
// //@ts-ignore
// window.mxVertexHandler = mxgraph.mxVertexHandler;
// //@ts-ignore
// window.mxCellOverlay = mxgraph.mxCellOverlay;
// //@ts-ignore
// window.mxRectangle = mxgraph.mxRectangle
// //@ts-ignore
// window.mxUndoManager = mxgraph.mxUndoManager
// //@ts-ignore
// window.mxUtils = mxgraph.mxUtils
// //@ts-ignore
// window.mxClient = mxgraph.mxClient
// //@ts-ignore
// window.mxCodec = mxgraph.mxCodec
// //@ts-ignore
// window.mxForceIncludes = mxgraph.mxForceIncludes
// //@ts-ignore
// window.mxHierarchicalLayout = mxgraph.mxHierarchicalLayout
// //@ts-ignore
// window.mxLoadResources = mxgraph.mxLoadResources
// //@ts-ignore
// window.mxLoadStylesheets = mxgraph.mxLoadStylesheets
// //@ts-ignore
// window.mxPerimeter = mxgraph.mxPerimeter
// //@ts-ignore
// window.mxResourceExtension = mxgraph.mxResourceExtension
// //@ts-ignore
// window.mxDictionary = mxgraph.mxDictionary

