{"_id":"@aire-ux/mxgraph","_rev":"9-3e9b9c95e249838070296b0b01df4350","time":{"4.2.3":"2021-11-18T22:58:24.799Z","created":"2021-11-18T23:07:11.370Z","4.2.4":"2021-11-18T23:07:11.621Z","modified":"2022-04-04T12:21:53.639Z","4.2.5":"2021-11-19T00:44:28.477Z","4.2.6":"2021-11-29T23:09:58.047Z"},"name":"@aire-ux/mxgraph","dist-tags":{"latest":"4.2.6"},"versions":{"4.2.4":{"name":"@aire-ux/mxgraph","description":"mxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.","version":"4.2.4","homepage":"https://github.com/aire-ux/mxgraph","author":{"name":"Sunshower.io","email":"josiah@sunshower.io"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/aire-ux/mxgraph.git"},"bugs":{"url":"https://github.com/aire-ux/mxgraph/issues"},"main":"./javascript/dist/build.js","scripts":{"prepare":"grunt build --base ./ --gruntfile etc/build/Gruntfile.js"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.1","grunt-webpack":"^2.0.1","load-grunt-tasks":"^3.5.2","webpack":"^2.2.1"},"gitHead":"d2df81f9936c45cd492f50c74be395cb27d6c8a0","_id":"@aire-ux/mxgraph@4.2.4","_nodeVersion":"12.21.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-OqAGkPohspX6h8uXeMEezjf2oIboiZIeU5vhbeSH062Pi52HemenfANr1d/88qqM5SamKRDfbeOrCejrDmBmeA==","shasum":"5b575d4bafc4e1e0b72cccc7946fe63fc6dc2e8e","tarball":"https://registry.npmjs.org/@aire-ux/mxgraph/-/mxgraph-4.2.4.tgz","fileCount":317,"unpackedSize":8914497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhltyfCRA9TVsSAnZWagAAHwwP/0OUICFZIsgXi7yRqlt/\nxLljqO5bJKFHc4HKr57J2RC3eu/YO6foOol7OUdM6tG48ZsYz6ice+wnjUQR\nEX4qsrGxVkgmXIi8EVzfUyNRdTp2jzhyfJtVhfpnOPpsNfVBj9lrhX1GlrcC\nT355Uwx44x8hD5/soKtClIqHKdhz/2thAMHj9bcvy7WOolxRAJ37stRa7ouo\nSHgTuNZaGXx1hMPUSeIkCu5hdow6NHZTv6OxVIMfq/0rFYG2h3cnMfvIUlnE\nZZz1C/HAXnwcYY55kYHv/FXF5qyHRQFpu+yyK9nnzO587kep+DQbDaJq1VGs\n/QoYlmB3UlH6fPyMokrjdjSeaRNlbtj95NKz+yNjKRsz0XcguSOHVTeXs9xy\nB/qkZfcF7kbmPhUEPFThKHWXErlEFkaEz++wYctAhvyLlTH4X1itXFmUef0h\n9Q7QVOLPmOa6euhNiTuVGIdL1rxXywTxA6xZvz1gk7fs2et/SVGkwryeZXOc\nhpZjgOLLfZZq2pl+ZryC+qTi3KHjjXvrKq87D6sWxPTiq2fCd5lJZyzlKQAU\nwPJ3/cZECdVzByVaIpIoKJc6a0IJj9sc8SK/XKamK17aw8akswQTOGDi+cvK\ndPPbLHNRIjgbRX3CatdhYGnfxbjQzLFZO3BIl74kIDAPtlDSs76+fHk5a8BH\nXLfw\r\n=B4h9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICeL/yI7pNk939VfvY1YbJL5oVlxxfQ6jkeIWf3I2kQmAiByiLqC4fh2m6tpqcWu4DqN2GnAx7IaQkv4xIaixO+wvQ=="}]},"_npmUser":{"name":"sunshowerjoe","email":"josiah@sunshower.io"},"directories":{},"maintainers":[{"name":"sunshowerjoe","email":"josiah@sunshower.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mxgraph_4.2.4_1637276831419_0.06628672693461857"},"_hasShrinkwrap":false},"4.2.5":{"name":"@aire-ux/mxgraph","description":"mxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.","version":"4.2.5","homepage":"https://github.com/aire-ux/mxgraph","author":{"name":"Sunshower.io","email":"josiah@sunshower.io"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/aire-ux/mxgraph.git"},"bugs":{"url":"https://github.com/aire-ux/mxgraph/issues"},"main":"./javascript/dist/build.js","scripts":{"prepare":"grunt build --base ./ --gruntfile etc/build/Gruntfile.js"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.1","grunt-webpack":"^2.0.1","load-grunt-tasks":"^3.5.2","webpack":"^2.2.1"},"gitHead":"a212b98c8f0e82e60322dcd2b21b9b044fdcee41","_id":"@aire-ux/mxgraph@4.2.5","_nodeVersion":"12.21.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-+tltZ2BfNct0tAWhpVHNNyi9VNyQKPOGo6CLApklwElmsrYsW5ZhnDkQzH2kTjnfn8xNib9B/hH6IKSQhfotTg==","shasum":"c271442d3322a26acc27c46b40ea87e214a82689","tarball":"https://registry.npmjs.org/@aire-ux/mxgraph/-/mxgraph-4.2.5.tgz","fileCount":317,"unpackedSize":8914711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlvNsCRA9TVsSAnZWagAAh2cP/jo66n43WOeaOiz/jxqm\nvFZVVHftwa1WDy01iQbB81LRZw5Dk+OfPfsjp00gTLj+W8YMlrGdBsJMeQU6\nylyaI7zsV4bgdaj/i41kICdKeXexAwAdfDLz7s5vhF+d2SCkHJ0hW/UGYBrP\nMo62j7Dm3Jc9Ktlpqfs7QW+SZQQy0YZOvRj9YlIlJIlsiLiiTNg6ykytef5B\nRzY9PCiVsoyKgs9o+ReKFbd17PbJ5L4309+5QaT7yN6zkartsWAHSu2TL2re\n9xxFILTLL95qKK/hTinfzqryRO6Eu6ogv96FDJiIio3/3bmdRWjpdm8URxKh\nnne3zIqJMkvvBGxmhQuf8WaCSRwkNWFhmd46kByfnWM81pyh8r1+WSHVX57p\nL39QA06tS+uZFdc8B2X0izYZ39C2sZJ+OjjcJx/74KY3AVFlIboRL7ZJYcaJ\nSCjAk4s3+GD8jNH58+TrmPXamif13a88mLnnjF83ERsC+zb5B+HexiN7xSgi\nh7v7DT0aeU2sbThPNLp4wHvTAk4EMTQpYFnifAE4jRJyfuDs1YWF6XBbg/Bv\nIZAPX5H0ysnTYfxFyCFioncBMHhiZqUHc3C+o1xu8jV89WN+5OIizYqdyZL8\nN2kqQSS1W1vQbFw3K9Do6OrCXCLjIq3vX3kIlDzlBmRPb4UhjFId+CEx7bN4\ngHA1\r\n=y0za\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFW70jFhOd1ogsGUN+MPmnS095oUJclGJFIjNrGVC9fwAiEAii1HsEXOzz17N9ZEB02FRGZLUDGP79ttD1FtzdqPYZc="}]},"_npmUser":{"name":"sunshowerjoe","email":"josiah@sunshower.io"},"directories":{},"maintainers":[{"name":"sunshowerjoe","email":"josiah@sunshower.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mxgraph_4.2.5_1637282668228_0.09907766204344992"},"_hasShrinkwrap":false},"4.2.6":{"name":"@aire-ux/mxgraph","description":"mxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.","version":"4.2.6","homepage":"https://github.com/aire-ux/mxgraph","author":{"name":"Sunshower.io","email":"josiah@sunshower.io"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/aire-ux/mxgraph.git"},"bugs":{"url":"https://github.com/aire-ux/mxgraph/issues"},"main":"./javascript/dist/build.js","scripts":{"prepare":"grunt build --base ./ --gruntfile etc/build/Gruntfile.js"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.1","grunt-webpack":"^2.0.1","jest":"^27.3.1","load-grunt-tasks":"^3.5.2","ts-jest":"^27.0.7","ts-node":"^10.4.0","webpack":"^2.2.1"},"gitHead":"776469b472159a20f4702586cd7facf9fe1f7a8b","_id":"@aire-ux/mxgraph@4.2.6","_nodeVersion":"12.21.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-/55IyWLXmVeSu7I0ilEu36KnT9dfx2hxZRaocnShJtTuwqHHHqIqy7MbcMs1Egh/jSTkVJjEdfy+DGThbGNmrg==","shasum":"41c98b515759767c0c630c797da6cd9bb650ca13","tarball":"https://registry.npmjs.org/@aire-ux/mxgraph/-/mxgraph-4.2.6.tgz","fileCount":607,"unpackedSize":9716670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpV3GCRA9TVsSAnZWagAAEzgP/i5DWEe8tgIBJsMw8Sq2\nYAItJYc4JorY4uCTExCx4ZFJ8m6QiaXURK1muocZjGqjveR748MtO5y2nUN+\nWrMidX1a+ra1iwFEh62uGpC5iKm9PoITnUUNbOb4mJ3Cc8koti4RbPwMMXRz\nPUBni9g0cxfJ6npZxEhfPg0qhfPeDEAK0afGZp9B4L+Q/SVjTtc2XXPUDlua\n+daKLzmE9y6ppQxAm6RQNKrulwfe0XUzntco0erECKhUiDqJ8bv9mRH2s9iP\nbA3c776BH3eQ6EMVHIFrmnkMRRQtChpz2o7NvicOMxuJYvwIg8bgqLSXDnlM\nMlKYl4LOJX91L/nl0l0JK1Ru4rA38PjrpBCkKUROXExHYDAawxe3MkVjnFW8\n+G7pDZpV541vsTI8xe+GCkLqMoAEnSo7NWuNB0TGz6iGKugllwC42PhbN30e\n+If8BI1mKDoUfoddbMPxM2lha5E1K8pWPwWYNkoyy5SlxuGaKRTdKZQuGJRC\nvJ0N2D7Tc8ckGcD+SjLn4Hm5/mRpfAYxjuVYFjxN6YbJisBJCoLIf6VN58bz\ncj/A/yH+D+oZeL07d1Z4Yrskpl6eREFlOEVw54yE61doIgSkgkWxkCq2exp1\neK+siU7sTjemadRYLjdX+tPV6BJ5E/rAHiHgY3TgZsszHdQc+A4fwbgo+hxj\nVwuU\r\n=qxNa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoNo/m0W8owHIWe4Yy30uLTtnh5PSx4E3J233jjYhkWAiEAmtxc2Sb1oOnGcCYfer25ekfjF01kVa1Zj5Xqf2uME9c="}]},"_npmUser":{"name":"sunshowerjoe","email":"josiah@sunshower.io"},"directories":{},"maintainers":[{"name":"sunshowerjoe","email":"josiah@sunshower.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mxgraph_4.2.6_1638227397703_0.5347512613988221"},"_hasShrinkwrap":false}},"maintainers":[{"name":"sunshowerjoe","email":"josiah@sunshower.io"}],"description":"mxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.","homepage":"https://github.com/aire-ux/mxgraph","repository":{"type":"git","url":"git+https://github.com/aire-ux/mxgraph.git"},"author":{"name":"Sunshower.io","email":"josiah@sunshower.io"},"bugs":{"url":"https://github.com/aire-ux/mxgraph/issues"},"license":"Apache-2.0","readme":"# Aire-UX/MXGraph\n\n[jgraph](https://github.com/jgraph/mxgraph) is no longer being maintained.  The Aire-UX project\nrelies on mxgraph, and this is its official fork. This project's goals are to:\n\n1. Implement bug fixes\n2. Support modern browser features as they appear\n3. Provide TypeScript integration support [@aire-ux/mxgraph-typescript](https://github.com/aire-ux/typed-mxgraph)\n4. Implement some new features as required\n\nAdditionally, this project will consider enterprise support contracts and bug-bounties.\n\n## Installation\n\n**NPM**\n```\nnpm install @aire-ux/mxgraph\n```\n\n**Bower**\n```\nbower install @aire-ux/mxgraph\n```\n\n\nOnce you have installed the project via your package-manager, you can consume it as follows:\n\n```typescript\n\nimport '@aire-ux/mxgraph';\n\nexport type mxConfiguration = {\n  mxLoadResources: boolean;\n  mxForceIncludes: boolean;\n  mxLoadStylesheets: boolean;\n  mxResourceExtension: string;\n  mxProductionMode: boolean;\n  mxBasePath: string;\n};\n\nconst factory = (cfg: Partial<mxConfiguration>) =>\n  mxgraph({\n    mxLoadResources: cfg.mxLoadResources || false,\n    mxForceIncludes: cfg.mxForceIncludes || false,\n    mxLoadStylesheets: cfg.mxLoadStylesheets || true,\n    mxResourceExtension: cfg.mxResourceExtension || '.txt',\n    mxProductionMode: cfg.mxProductionMode || true,\n    mxBasePath: cfg.mxBasePath,\n  });\n\nexport default factory;\n```\n\n```typescript\n\nimport factory from './mxgraph';\n\nconst mx = factory({\n  mxBasePath: value,\n});\n\nconst container = document.getElementById(`#my-container`);\nconst graph = new mx.mxGraph(container);\n```\n\n\n## TypeScript Definitions\n\nAire-UX maintains a fork of [typed-mxgraph](https://github.com/typed-mxgraph/typed-mxgraph) which may\nbe installed via `npm install @aire-ux/typed-mxgraph`.\n\nIt may be used as follows:\n\n**tsconfig.json**\n```json\n\n{\n  \"compilerOptions\": {\n    \"target\": \"es2018\",\n    \"module\": \"esnext\",\n    \"moduleResolution\": \"node\",\n    \"noEmitOnError\": true,\n    \"lib\": [\"es2017\", \"dom\"],\n    \"strict\": true,\n    \"esModuleInterop\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"experimentalDecorators\": true,\n    \"strictPropertyInitialization\": false,\n    \"importHelpers\": true,\n    \"outDir\": \"dist\",\n    \"sourceMap\": true,\n    \"inlineSources\": true,\n    \"rootDir\": \"./\",\n    \"declaration\": true,\n    \"incremental\": true,\n    \"typeRoots\": [\n      \"node_modules/@types\"\n    ]\n  },\n  \"include\": [\n    \"src/**/*.ts\",\n    \"node_modules/@aire-ux/typed-mxgraph/**/*.d.ts\" //include the typings\n  ],\n  \"exclude\": [\"node_modules\"]\n\n}\n```\n\n\n\n\nGetting Started\n===============\n\nIn the root folder there is an index.html file that contains links to all resources. You can view the documentation online on the [Github pages branch](https://jgraph.github.io/mxgraph/). The key resources are the JavaScript user manual, the JavaScript examples and the JavaScript API specificiation.\n\nSupport\n=======\n\nThere is a [mxgraph tag on Stack Overflow](http://stackoverflow.com/questions/tagged/mxgraph). Please ensure your questions adhere to the [SO guidelines](http://stackoverflow.com/help/on-topic), otherwise it is likely to be closed.\n\n","readmeFilename":"README.md"}