diff --git a/ChangeLog b/ChangeLog index 98ed8f049..40aaf2490 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +12-APR-2017: 3.7.2 + +- Adds checks for swimlane rendering boundary cases +- Fixes cloned start/end arrow in mxGraph.splitEdge +- Removes mxShape.arrowStrokewidth, fixes mxCellHighlight for arrows +- Adds automatic NPM release +- Adds optional type argument in mxForm.addText +- Fixes selection of removed parents in grapheditor +- Fixes Graph.distributeCells for child cells in groups +- Fixes Graph.encodeCells for children of selected parents +- Fixes possible NPE in mxUtils.getOffset/getScrollOrigin +- Fixes dashed and strokewidth tag in stencils for Java +- Fixes markup for same window for IE in mxPrintPreview + 01-MAR-2017: 3.7.1 - Uses semantic versioning diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index 1ea312672..000000000 --- a/Gruntfile.js +++ /dev/null @@ -1,101 +0,0 @@ -var path = require("path"), - fs = require("fs"), - parentFolderName = path.basename(path.resolve('..')), - mxClientContent, - deps; - -// To get the dependencies for the project, read the filenames by matching -// mxClient.include([...]) in mxClient.js. This is not perfect, but the list is -// required in mxClient.js for compatibility. -mxClientContent = fs.readFileSync( - path.join(__dirname, "./javascript/src/js/mxClient.js"), - "utf8" -); -deps = mxClientContent.match(/mxClient\.include\([^"']+["'](.*?)["']/gi).map(function (str) { - return "." + str.match(/mxClient\.include\([^"']+["'](.*?)["']/)[1]; -}); -deps = ["./js/mxClient.js"].concat(deps.slice(0)); - -module.exports = function (grunt) { - grunt.initConfig({ - copy: { - main: { - files: [{ - expand: true, - cwd: "./javascript/src", - src: deps, - dest: "./javascript/dist" - }], - options: { - // After each module, add the object to the '__mxOutput' namespace - // E.g. __mxOutput.mxLog, etc. - process: function (content, srcpath) { - var afterContent = "", - moduleName = path.basename(srcpath, ".js"); - - afterContent += "\n__mxOutput." + path.basename(srcpath, ".js") + - " = typeof " + moduleName + " !== 'undefined' ? " + moduleName + " : undefined;\n"; - - return content + afterContent; - } - } - } - }, - concat: { - dist: { - src: deps.map(function (dep) { - return path.join("./javascript/dist", dep); - }), - dest: './javascript/dist/build.js' - }, - options: { - banner: "(function (root, factory) {\n" + - "if (typeof define === 'function' && define.amd) {\n" + - "define([], factory);\n" + - "} else if (typeof module === 'object' && module.exports) {\n" + - "module.exports = factory();\n" + - "} else {\n" + - "root.mxgraph = factory();\n" + - "}\n" + - "}(this, function () {\n" + - "return function (opts) {\n" + - // Opts will be passed into this function, expand them out as if - // they were globals so they can get picked up by the logic in - // mxClient.js. - "for (var name in opts) { this[name] = opts[name]; }\n" + - "var __mxOutput = {};\n", - footer: "return __mxOutput;\n" + - "};\n" + - "}));" - } - }, - webpack: { - examples: { - entry: "./javascript/examples/webpack/src/anchors.js", - output: { - path: "javascript/examples/webpack/dist", - filename: "anchors.js" - } - } - }, - watch: { - javascripts: { - files: "javascript/src/**/*.js", - tasks: ["umdify"], - options: { - interrupt: true - } - } - }, - }); - - require(parentFolderName === "node_modules" ? "load-grunt-parent-tasks" : "load-grunt-tasks")(grunt); - grunt.registerTask("default", [ - "copy", - "concat", - "webpack" - ]); - grunt.registerTask("build", [ - "default" - ]); -}; diff --git a/docs/css/manual-styles.css b/docs/css/manual-styles.css index f2535bf9e..60f144e33 100644 --- a/docs/css/manual-styles.css +++ b/docs/css/manual-styles.css @@ -2,9 +2,9 @@ body { padding:50px; - font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; - color:#777; - font-weight:300; + font:14px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; + color:#333; + font-weight:400; max-width:800px; margin: 0 auto; } @@ -35,7 +35,7 @@ h3, h4, h5, h6 { } a { - color:#39c; + color:#337ab7; font-weight:400; text-decoration:none; } diff --git a/docs/js-api/files/editor/mxDefaultKeyHandler-js.html b/docs/js-api/files/editor/mxDefaultKeyHandler-js.html index 4ffff8f19..f1f2369d5 100644 --- a/docs/js-api/files/editor/mxDefaultKeyHandler-js.html +++ b/docs/js-api/files/editor/mxDefaultKeyHandler-js.html @@ -36,7 +36,7 @@ keyHandler.bindAction(46, 'delete');

Codec< - diff --git a/docs/js-api/files/editor/mxDefaultPopupMenu-js.html b/docs/js-api/files/editor/mxDefaultPopupMenu-js.html index 608b36bee..a734bbe7a 100644 --- a/docs/js-api/files/editor/mxDefaultPopupMenu-js.html +++ b/docs/js-api/files/editor/mxDefaultPopupMenu-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/editor/mxDefaultToolbar-js.html b/docs/js-api/files/editor/mxDefaultToolbar-js.html index d72b9635b..739c26ba1 100644 --- a/docs/js-api/files/editor/mxDefaultToolbar-js.html +++ b/docs/js-api/files/editor/mxDefaultToolbar-js.html @@ -69,7 +69,7 @@ toolbar.addActionOption(combo, 'Paste', 'paste');
- diff --git a/docs/js-api/files/editor/mxEditor-js.html b/docs/js-api/files/editor/mxEditor-js.html index 2f457487c..c2eec8771 100644 --- a/docs/js-api/files/editor/mxEditor-js.html +++ b/docs/js-api/files/editor/mxEditor-js.html @@ -372,7 +372,7 @@ mxEditor.prototype.showTasks = function() - diff --git a/docs/js-api/files/handler/mxCellHighlight-js.html b/docs/js-api/files/handler/mxCellHighlight-js.html index 87f1a4f4a..ffd909f03 100644 --- a/docs/js-api/files/handler/mxCellHighlight-js.html +++ b/docs/js-api/files/handler/mxCellHighlight-js.html @@ -54,7 +54,7 @@ highlight.highlight(graph.view.getState(cell))); - diff --git a/docs/js-api/files/handler/mxCellMarker-js.html b/docs/js-api/files/handler/mxCellMarker-js.html index 2dddb8e65..3f7e9cb16 100644 --- a/docs/js-api/files/handler/mxCellMarker-js.html +++ b/docs/js-api/files/handler/mxCellMarker-js.html @@ -101,7 +101,7 @@ graph.addMouseListener({ - diff --git a/docs/js-api/files/handler/mxCellTracker-js.html b/docs/js-api/files/handler/mxCellTracker-js.html index f235fb2cb..810672966 100644 --- a/docs/js-api/files/handler/mxCellTracker-js.html +++ b/docs/js-api/files/handler/mxCellTracker-js.html @@ -72,7 +72,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxConnectionHandler-js.html b/docs/js-api/files/handler/mxConnectionHandler-js.html index 07bdbf17e..f83ce5b05 100644 --- a/docs/js-api/files/handler/mxConnectionHandler-js.html +++ b/docs/js-api/files/handler/mxConnectionHandler-js.html @@ -205,7 +205,7 @@ mxConnectionHandler.prototype.insertEdge = function(parent, id, value, source, t - diff --git a/docs/js-api/files/handler/mxConstraintHandler-js.html b/docs/js-api/files/handler/mxConstraintHandler-js.html index 619a66926..6b8a60214 100644 --- a/docs/js-api/files/handler/mxConstraintHandler-js.html +++ b/docs/js-api/files/handler/mxConstraintHandler-js.html @@ -69,7 +69,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxEdgeHandler-js.html b/docs/js-api/files/handler/mxEdgeHandler-js.html index dbb4c054a..cfde42c27 100644 --- a/docs/js-api/files/handler/mxEdgeHandler-js.html +++ b/docs/js-api/files/handler/mxEdgeHandler-js.html @@ -196,7 +196,7 @@ mxEdgeHandler.prototype.removeEnabled = true;

Note: This ex

- diff --git a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html index a04b6e5c4..77946588a 100644 --- a/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html +++ b/docs/js-api/files/handler/mxEdgeSegmentHandler-js.html @@ -37,7 +37,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxElbowEdgeHandler-js.html b/docs/js-api/files/handler/mxElbowEdgeHandler-js.html index 516da503f..7c8064403 100644 --- a/docs/js-api/files/handler/mxElbowEdgeHandler-js.html +++ b/docs/js-api/files/handler/mxElbowEdgeHandler-js.html @@ -41,7 +41,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxGraphHandler-js.html b/docs/js-api/files/handler/mxGraphHandler-js.html index 612554770..1e8da3b50 100644 --- a/docs/js-api/files/handler/mxGraphHandler-js.html +++ b/docs/js-api/files/handler/mxGraphHandler-js.html @@ -141,7 +141,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxHandle-js.html b/docs/js-api/files/handler/mxHandle-js.html index f17064f38..2e7759d16 100644 --- a/docs/js-api/files/handler/mxHandle-js.html +++ b/docs/js-api/files/handler/mxHandle-js.html @@ -71,7 +71,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxKeyHandler-js.html b/docs/js-api/files/handler/mxKeyHandler-js.html index 9aadd4322..b59a8a102 100644 --- a/docs/js-api/files/handler/mxKeyHandler-js.html +++ b/docs/js-api/files/handler/mxKeyHandler-js.html @@ -84,7 +84,7 @@ keyHandler.bindKey(46, function(evt) - diff --git a/docs/js-api/files/handler/mxPanningHandler-js.html b/docs/js-api/files/handler/mxPanningHandler-js.html index 9d0a66c4e..9c5382ce7 100644 --- a/docs/js-api/files/handler/mxPanningHandler-js.html +++ b/docs/js-api/files/handler/mxPanningHandler-js.html @@ -106,7 +106,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxPopupMenuHandler-js.html b/docs/js-api/files/handler/mxPopupMenuHandler-js.html index ac706d0ea..3384eb659 100644 --- a/docs/js-api/files/handler/mxPopupMenuHandler-js.html +++ b/docs/js-api/files/handler/mxPopupMenuHandler-js.html @@ -55,7 +55,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxRubberband-js.html b/docs/js-api/files/handler/mxRubberband-js.html index 57a161197..24824b3b4 100644 --- a/docs/js-api/files/handler/mxRubberband-js.html +++ b/docs/js-api/files/handler/mxRubberband-js.html @@ -67,7 +67,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxSelectionCellsHandler-js.html b/docs/js-api/files/handler/mxSelectionCellsHandler-js.html index ff8832e0f..81c1dbfc2 100644 --- a/docs/js-api/files/handler/mxSelectionCellsHandler-js.html +++ b/docs/js-api/files/handler/mxSelectionCellsHandler-js.html @@ -55,7 +55,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxTooltipHandler-js.html b/docs/js-api/files/handler/mxTooltipHandler-js.html index 16c5fde75..09e722ed4 100644 --- a/docs/js-api/files/handler/mxTooltipHandler-js.html +++ b/docs/js-api/files/handler/mxTooltipHandler-js.html @@ -69,7 +69,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/handler/mxVertexHandler-js.html b/docs/js-api/files/handler/mxVertexHandler-js.html index 2f8d19fcd..fa59b0b9c 100644 --- a/docs/js-api/files/handler/mxVertexHandler-js.html +++ b/docs/js-api/files/handler/mxVertexHandler-js.html @@ -188,7 +188,7 @@ mxVertexHandler.prototype.union = function(bounds, dx, dy, index, gridEnabled, s - diff --git a/docs/js-api/files/index-txt.html b/docs/js-api/files/index-txt.html index 6c87745f9..a624d1f2e 100644 --- a/docs/js-api/files/index-txt.html +++ b/docs/js-api/files/index-txt.html @@ -47,7 +47,7 @@ mxCodecRegistry.register(codec);

Functions< - diff --git a/docs/js-api/files/io/mxCellCodec-js.html b/docs/js-api/files/io/mxCellCodec-js.html index 09f6e8e81..5f10ae26b 100644 --- a/docs/js-api/files/io/mxCellCodec-js.html +++ b/docs/js-api/files/io/mxCellCodec-js.html @@ -37,7 +37,7 @@ mxCodecRegistry.addAlias('CustomCell', 'mxCell'); - diff --git a/docs/js-api/files/io/mxChildChangeCodec-js.html b/docs/js-api/files/io/mxChildChangeCodec-js.html index 283bb9ca5..32e8b11b8 100644 --- a/docs/js-api/files/io/mxChildChangeCodec-js.html +++ b/docs/js-api/files/io/mxChildChangeCodec-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxCodec-js.html b/docs/js-api/files/io/mxCodec-js.html index 88fe06c2e..b5029657b 100644 --- a/docs/js-api/files/io/mxCodec-js.html +++ b/docs/js-api/files/io/mxCodec-js.html @@ -99,7 +99,7 @@ codec.reference = function(obj) - diff --git a/docs/js-api/files/io/mxCodecRegistry-js.html b/docs/js-api/files/io/mxCodecRegistry-js.html index e244e88ac..85b96a71b 100644 --- a/docs/js-api/files/io/mxCodecRegistry-js.html +++ b/docs/js-api/files/io/mxCodecRegistry-js.html @@ -34,7 +34,7 @@ codec.decode = function(dec, node, into) { ... }

3.  R

- diff --git a/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html b/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html index 6fdb3f07c..1335185d5 100644 --- a/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html +++ b/docs/js-api/files/io/mxDefaultKeyHandlerCodec-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html b/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html index 1b18b5d8b..996d0101f 100644 --- a/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html +++ b/docs/js-api/files/io/mxDefaultPopupMenuCodec-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxDefaultToolbarCodec-js.html b/docs/js-api/files/io/mxDefaultToolbarCodec-js.html index 6b327a8cc..290586f6c 100644 --- a/docs/js-api/files/io/mxDefaultToolbarCodec-js.html +++ b/docs/js-api/files/io/mxDefaultToolbarCodec-js.html @@ -50,7 +50,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxEditorCodec-js.html b/docs/js-api/files/io/mxEditorCodec-js.html index 02dc09c2d..191c8ca09 100644 --- a/docs/js-api/files/io/mxEditorCodec-js.html +++ b/docs/js-api/files/io/mxEditorCodec-js.html @@ -36,7 +36,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxGenericChangeCodec-js.html b/docs/js-api/files/io/mxGenericChangeCodec-js.html index 3d2f04ec0..080b5d5c6 100644 --- a/docs/js-api/files/io/mxGenericChangeCodec-js.html +++ b/docs/js-api/files/io/mxGenericChangeCodec-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxGraphCodec-js.html b/docs/js-api/files/io/mxGraphCodec-js.html index 34ffa4535..3084f1fa8 100644 --- a/docs/js-api/files/io/mxGraphCodec-js.html +++ b/docs/js-api/files/io/mxGraphCodec-js.html @@ -19,7 +19,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxGraphViewCodec-js.html b/docs/js-api/files/io/mxGraphViewCodec-js.html index 0d28ffafd..d8181e0f0 100644 --- a/docs/js-api/files/io/mxGraphViewCodec-js.html +++ b/docs/js-api/files/io/mxGraphViewCodec-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxModelCodec-js.html b/docs/js-api/files/io/mxModelCodec-js.html index ace48ac83..1211787ab 100644 --- a/docs/js-api/files/io/mxModelCodec-js.html +++ b/docs/js-api/files/io/mxModelCodec-js.html @@ -27,7 +27,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxObjectCodec-js.html b/docs/js-api/files/io/mxObjectCodec-js.html index c06a4b0fe..1558b7ad4 100644 --- a/docs/js-api/files/io/mxObjectCodec-js.html +++ b/docs/js-api/files/io/mxObjectCodec-js.html @@ -120,7 +120,7 @@ mapping['variableName'] = 'attribute-name';
- diff --git a/docs/js-api/files/io/mxRootChangeCodec-js.html b/docs/js-api/files/io/mxRootChangeCodec-js.html index bb8f37ce5..f908e5fc3 100644 --- a/docs/js-api/files/io/mxRootChangeCodec-js.html +++ b/docs/js-api/files/io/mxRootChangeCodec-js.html @@ -27,7 +27,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxStylesheetCodec-js.html b/docs/js-api/files/io/mxStylesheetCodec-js.html index bdcf86b70..b9e68cc3f 100644 --- a/docs/js-api/files/io/mxStylesheetCodec-js.html +++ b/docs/js-api/files/io/mxStylesheetCodec-js.html @@ -38,7 +38,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/io/mxTerminalChangeCodec-js.html b/docs/js-api/files/io/mxTerminalChangeCodec-js.html index 8419cb9b7..86bb53e51 100644 --- a/docs/js-api/files/io/mxTerminalChangeCodec-js.html +++ b/docs/js-api/files/io/mxTerminalChangeCodec-js.html @@ -23,7 +23,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html index 65394e01a..36a52eff7 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html @@ -63,7 +63,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html index 2372cef4c..980b0f59c 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyEdge-js.html @@ -51,7 +51,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html index 2aa7e038b..47b268c14 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyModel-js.html @@ -57,7 +57,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html index 3f2772c63..fd7bf466c 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxGraphHierarchyNode-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html b/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html index a65d0fc92..0a7758c28 100644 --- a/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html +++ b/docs/js-api/files/layout/hierarchical/model/mxSwimlaneModel-js.html @@ -61,7 +61,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html b/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html index c25664423..2e8718e16 100644 --- a/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html +++ b/docs/js-api/files/layout/hierarchical/mxHierarchicalLayout-js.html @@ -91,7 +91,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html b/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html index e4178be2c..1eb9fb971 100644 --- a/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html +++ b/docs/js-api/files/layout/hierarchical/mxSwimlaneLayout-js.html @@ -99,7 +99,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html b/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html index afedd5c3f..9a2158345 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxCoordinateAssignment-js.html @@ -129,7 +129,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html b/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html index a1b17314c..662888367 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html b/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html index fb692d274..dac17a9f3 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html @@ -69,7 +69,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html b/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html index c3eaaf0c8..709f90378 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxMinimumCycleRemover-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html b/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html index 54bea690a..d04f73480 100644 --- a/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html +++ b/docs/js-api/files/layout/hierarchical/stage/mxSwimlaneOrdering-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/layout/mxCircleLayout-js.html b/docs/js-api/files/layout/mxCircleLayout-js.html index 01f51ab8c..299285e8e 100644 --- a/docs/js-api/files/layout/mxCircleLayout-js.html +++ b/docs/js-api/files/layout/mxCircleLayout-js.html @@ -46,7 +46,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxCompactTreeLayout-js.html b/docs/js-api/files/layout/mxCompactTreeLayout-js.html index 5b2a9aeaa..f86e05313 100644 --- a/docs/js-api/files/layout/mxCompactTreeLayout-js.html +++ b/docs/js-api/files/layout/mxCompactTreeLayout-js.html @@ -146,7 +146,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxCompositeLayout-js.html b/docs/js-api/files/layout/mxCompositeLayout-js.html index f1e8d2632..fe401e303 100644 --- a/docs/js-api/files/layout/mxCompositeLayout-js.html +++ b/docs/js-api/files/layout/mxCompositeLayout-js.html @@ -38,7 +38,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxEdgeLabelLayout-js.html b/docs/js-api/files/layout/mxEdgeLabelLayout-js.html index c591cb4b2..cf5254b5d 100644 --- a/docs/js-api/files/layout/mxEdgeLabelLayout-js.html +++ b/docs/js-api/files/layout/mxEdgeLabelLayout-js.html @@ -30,7 +30,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxFastOrganicLayout-js.html b/docs/js-api/files/layout/mxFastOrganicLayout-js.html index 84af72845..8d21286ab 100644 --- a/docs/js-api/files/layout/mxFastOrganicLayout-js.html +++ b/docs/js-api/files/layout/mxFastOrganicLayout-js.html @@ -84,7 +84,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxGraphLayout-js.html b/docs/js-api/files/layout/mxGraphLayout-js.html index 10bdd1e02..b31b1b9ea 100644 --- a/docs/js-api/files/layout/mxGraphLayout-js.html +++ b/docs/js-api/files/layout/mxGraphLayout-js.html @@ -68,7 +68,7 @@ graph.traverse(cell, false, function(vertex, edge) - diff --git a/docs/js-api/files/layout/mxParallelEdgeLayout-js.html b/docs/js-api/files/layout/mxParallelEdgeLayout-js.html index 09c98b4b0..482969987 100644 --- a/docs/js-api/files/layout/mxParallelEdgeLayout-js.html +++ b/docs/js-api/files/layout/mxParallelEdgeLayout-js.html @@ -58,7 +58,7 @@ graph.addListener(mxEvent.CELL_CONNECTED, function(sender, evt) - diff --git a/docs/js-api/files/layout/mxPartitionLayout-js.html b/docs/js-api/files/layout/mxPartitionLayout-js.html index 27752e406..25299ef74 100644 --- a/docs/js-api/files/layout/mxPartitionLayout-js.html +++ b/docs/js-api/files/layout/mxPartitionLayout-js.html @@ -42,7 +42,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxRadialTreeLayout-js.html b/docs/js-api/files/layout/mxRadialTreeLayout-js.html index 2704d1c1f..fa332410b 100644 --- a/docs/js-api/files/layout/mxRadialTreeLayout-js.html +++ b/docs/js-api/files/layout/mxRadialTreeLayout-js.html @@ -60,7 +60,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/layout/mxStackLayout-js.html b/docs/js-api/files/layout/mxStackLayout-js.html index 86b885297..23c6c6c4d 100644 --- a/docs/js-api/files/layout/mxStackLayout-js.html +++ b/docs/js-api/files/layout/mxStackLayout-js.html @@ -72,7 +72,7 @@ layout.execute(graph.getDefaultParent()); - diff --git a/docs/js-api/files/model/mxCell-js.html b/docs/js-api/files/model/mxCell-js.html index 75b469172..4f4781d7c 100644 --- a/docs/js-api/files/model/mxCell-js.html +++ b/docs/js-api/files/model/mxCell-js.html @@ -163,7 +163,7 @@ graph.cellLabelChanged = function(cell, newValue, autoSize) - diff --git a/docs/js-api/files/model/mxCellPath-js.html b/docs/js-api/files/model/mxCellPath-js.html index 19f7f38f3..ee18c306a 100644 --- a/docs/js-api/files/model/mxCellPath-js.html +++ b/docs/js-api/files/model/mxCellPath-js.html @@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/model/mxGeometry-js.html b/docs/js-api/files/model/mxGeometry-js.html index f868f811b..15826f572 100644 --- a/docs/js-api/files/model/mxGeometry-js.html +++ b/docs/js-api/files/model/mxGeometry-js.html @@ -57,7 +57,7 @@ geometry.setTerminalPoint(new mxPoint(x3, y3), false);

Cont

- diff --git a/docs/js-api/files/model/mxGraphModel-js.html b/docs/js-api/files/model/mxGraphModel-js.html index cef9b350e..b3876de44 100644 --- a/docs/js-api/files/model/mxGraphModel-js.html +++ b/docs/js-api/files/model/mxGraphModel-js.html @@ -379,7 +379,7 @@ finally - diff --git a/docs/js-api/files/mxClient-js.html b/docs/js-api/files/mxClient-js.html index 3e8befcc2..cc7625d89 100644 --- a/docs/js-api/files/mxClient-js.html +++ b/docs/js-api/files/mxClient-js.html @@ -15,7 +15,7 @@ if (browserType) {document.write("
");if (browserV

Variables

-

VERSION

Contains the current version of the mxGraph library.  The strings that communicate versions of mxGraph use the following format.

versionMajor.versionMinor.buildNumber.revisionNumber

Current version is 3.7.1.

+

VERSION

Contains the current version of the mxGraph library.  The strings that communicate versions of mxGraph use the following format.

versionMajor.versionMinor.buildNumber.revisionNumber

Current version is 3.7.2.

IS_IE

IS_IE: navigator.userAgent.indexOf('MSIE') >

True if the current browser is Internet Explorer 10 or below.  Use mxClient.IS_IE11 to detect IE 11.

@@ -128,7 +128,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxActor-js.html b/docs/js-api/files/shape/mxActor-js.html index d73c00fc7..2abb44f9b 100644 --- a/docs/js-api/files/shape/mxActor-js.html +++ b/docs/js-api/files/shape/mxActor-js.html @@ -39,7 +39,7 @@ SampleShape.prototype.redrawPath = function(path, x, y, w, h) - diff --git a/docs/js-api/files/shape/mxArrow-js.html b/docs/js-api/files/shape/mxArrow-js.html index feff942d5..5a41b3603 100644 --- a/docs/js-api/files/shape/mxArrow-js.html +++ b/docs/js-api/files/shape/mxArrow-js.html @@ -27,7 +27,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxArrowConnector-js.html b/docs/js-api/files/shape/mxArrowConnector-js.html index 3991ae619..1e05340ef 100644 --- a/docs/js-api/files/shape/mxArrowConnector-js.html +++ b/docs/js-api/files/shape/mxArrowConnector-js.html @@ -51,7 +51,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxCloud-js.html b/docs/js-api/files/shape/mxCloud-js.html index e6763cc4e..e9d3d9224 100644 --- a/docs/js-api/files/shape/mxCloud-js.html +++ b/docs/js-api/files/shape/mxCloud-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxConnector-js.html b/docs/js-api/files/shape/mxConnector-js.html index 56efdedd6..2a6f84973 100644 --- a/docs/js-api/files/shape/mxConnector-js.html +++ b/docs/js-api/files/shape/mxConnector-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxCylinder-js.html b/docs/js-api/files/shape/mxCylinder-js.html index 50195ccad..59ee791f9 100644 --- a/docs/js-api/files/shape/mxCylinder-js.html +++ b/docs/js-api/files/shape/mxCylinder-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxDoubleEllipse-js.html b/docs/js-api/files/shape/mxDoubleEllipse-js.html index d7fdcdc22..b165163ba 100644 --- a/docs/js-api/files/shape/mxDoubleEllipse-js.html +++ b/docs/js-api/files/shape/mxDoubleEllipse-js.html @@ -52,7 +52,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxEllipse-js.html b/docs/js-api/files/shape/mxEllipse-js.html index a1f803499..421c226db 100644 --- a/docs/js-api/files/shape/mxEllipse-js.html +++ b/docs/js-api/files/shape/mxEllipse-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxHexagon-js.html b/docs/js-api/files/shape/mxHexagon-js.html index aea4a701e..9f4d99b16 100644 --- a/docs/js-api/files/shape/mxHexagon-js.html +++ b/docs/js-api/files/shape/mxHexagon-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxImageShape-js.html b/docs/js-api/files/shape/mxImageShape-js.html index 62966425b..5abf24462 100644 --- a/docs/js-api/files/shape/mxImageShape-js.html +++ b/docs/js-api/files/shape/mxImageShape-js.html @@ -41,7 +41,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxLabel-js.html b/docs/js-api/files/shape/mxLabel-js.html index fb36d8ae8..af9ac47a3 100644 --- a/docs/js-api/files/shape/mxLabel-js.html +++ b/docs/js-api/files/shape/mxLabel-js.html @@ -53,7 +53,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxLine-js.html b/docs/js-api/files/shape/mxLine-js.html index 3aa3f09e5..31125913d 100644 --- a/docs/js-api/files/shape/mxLine-js.html +++ b/docs/js-api/files/shape/mxLine-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxMarker-js.html b/docs/js-api/files/shape/mxMarker-js.html index 43f963bde..e5d3f0bbf 100644 --- a/docs/js-api/files/shape/mxMarker-js.html +++ b/docs/js-api/files/shape/mxMarker-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxPolyline-js.html b/docs/js-api/files/shape/mxPolyline-js.html index b5427efcb..a93a62e2c 100644 --- a/docs/js-api/files/shape/mxPolyline-js.html +++ b/docs/js-api/files/shape/mxPolyline-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxRectangleShape-js.html b/docs/js-api/files/shape/mxRectangleShape-js.html index 2446a06e6..a032a8b17 100644 --- a/docs/js-api/files/shape/mxRectangleShape-js.html +++ b/docs/js-api/files/shape/mxRectangleShape-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxRhombus-js.html b/docs/js-api/files/shape/mxRhombus-js.html index 9c2fc266b..eb075989a 100644 --- a/docs/js-api/files/shape/mxRhombus-js.html +++ b/docs/js-api/files/shape/mxRhombus-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxShape-js.html b/docs/js-api/files/shape/mxShape-js.html index 60916cefc..1434ebef5 100644 --- a/docs/js-api/files/shape/mxShape-js.html +++ b/docs/js-api/files/shape/mxShape-js.html @@ -173,7 +173,7 @@ style[mxConstants.STYLE_SHAPE] = 'customShape'; - diff --git a/docs/js-api/files/shape/mxStencil-js.html b/docs/js-api/files/shape/mxStencil-js.html index ed7c95b32..ee4af8066 100644 --- a/docs/js-api/files/shape/mxStencil-js.html +++ b/docs/js-api/files/shape/mxStencil-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxStencil

Implements a generic shape which is based on a XML node as a description.

shape

The outer element is shape, that has attributes

  • ”name”, string, required.  The stencil name that uniquely identifies the shape.
  • ”w” and “h” are optional decimal view bounds.  This defines your co-ordinate system for the graphics operations in the shape.  The default is 100,100.
  • ”aspect”, optional string.  Either “variable”, the default, or “fixed”.  Fixed means always render the shape with the aspect ratio defined by the ratio w/h.  Variable causes the ratio to match that of the geometry of the current vertex.
  • ”strokewidth”, optional string.  Either an integer or the string “inherit”.  “inherit” indicates that the strokeWidth of the cell is only changed on scaling, not on resizing.  If numeric values are used, the strokeWidth of the cell is changed on both scaling and resizing and the value defines the multiple that is applied to the width.

connections

If you want to define specific fixed connection points on the shape use the connections element.  Each constraint element within connections defines a fixed connection point on the shape.  Constraints have attributes:

  • ”perimeter”, required.  1 or 0.  0 sets the connection point where specified by x,y.  1 Causes the position of the connection point to be extrapolated from the center of the shape, through x,y to the point of intersection with the perimeter of the shape.
  • ”x” and “y” are the position of the fixed point relative to the bounds of the shape.  They can be automatically adjusted if perimeter=1.  So, (0,0) is top left, (0.5,0.5) the center, (1,0.5) the center of the right hand edge of the bounds, etc.  Values may be less than 0 or greater than 1 to be positioned outside of the shape.
  • ”name”, optional string.  A unique identifier for the port on the shape.

background and foreground

The path of the graphics drawing is split into two elements, foreground and background.  The split is to define which part any shadow applied to the shape is derived from (the background).  This, generally, means the background is the line tracing of the outside of the shape, but not always.

Any stroke, fill or fillstroke of a background must be the first element of the foreground element, they must not used within background.  If the background is empty, this is not required.

Because the background cannot have any fill or stroke, it can contain only one path, rect, roundrect or ellipse element (or none).  It can also not include image, text or include-shape.

Note that the state, styling and drawing in mxGraph stencils is very close in design to that of HTML 5 canvas.  Tutorials on this subject, if you’re not familiar with the topic, will give a good high-level introduction to the concepts used.

State

Rendering within the foreground and background elements has the concept of state.  There are two types of operations other than state save/load, styling and drawing.  The styling operations change the current state, so you can save the current state with <save/> and pull the last saved state from the state stack using <restore/>.

Styling

The elements that change colors within the current state all take a hash prefixed hex color code (“#FFEA80”).

  • strokecolor, this sets the color that drawing paths will be rendered in when a stroke or fillstroke command is issued.
  • fillcolor, this sets the color that the inside of closed paths will be rendered in when a fill or fillstroke command is issued.
  • fontcolor, this sets the color that fonts are rendered in when text is drawn.

alpha defines the degree of transparency used between 1.0 for fully opaque and 0.0 for fully transparent.

strokewidth defines the integer thickness of drawing elements rendered by stroking.

dashed is “1” for dashing enabled and “0” for disabled.

When dashed is enabled the current dash pattern, defined by dashpattern, is used on strokes. dashpattern is a sequence of space separated “on, off” lengths that define what distance to paint the stroke for, then what distance to paint nothing for, repeat...  The default is “3 3”.  You could define a more complex pattern with “5 3 2 6”, for example.  Generally, it makes sense to have an even number of elements in the dashpattern, but that’s not required.

linejoin, linecap and miterlimit are best explained by the Mozilla page on Canvas styling (about halfway down).  The values are all the same except we use “flat” for linecap, instead of Canvas’ “butt”.

For font styling there are.

  • fontsize, an integer,
  • fontstyle, an ORed bit pattern of bold (1), italic (2) and underline (4), i.e bold underline is “5”.
  • fontfamily, is a string defining the typeface to be used.

Drawing

Most drawing is contained within a path element.  Again, the graphic primitives are very similar to that of HTML 5 canvas.

  • move to attributes required decimals (x,y).
  • line to attributes required decimals (x,y).
  • quad to required decimals (x2,y2) via control point required decimals (x1,y1).
  • curve to required decimals (x3,y3), via control points required decimals (x1,y1) and (x2,y2).
  • arc, this doesn’t follow the HTML Canvas signatures, instead it’s a copy of the SVG arc command.  The SVG specification documentation gives the best description of its behaviors.  The attributes are named identically, they are decimals and all required.
  • close ends the current subpath and causes an automatic straight line to be drawn from the current point to the initial point of the current subpath.

Complex drawing

In addition to the graphics primitive operations there are non-primitive operations.  These provide an easy method to draw some basic shapes.

  • rect, attributes “x”, “y”, “w”, “h”, all required decimals
  • roundrect, attributes “x”, “y”, “w”, “h”, all required decimals.  Also “arcsize” an optional decimal attribute defining how large, the corner curves are.
  • ellipse, attributes “x”, “y”, “w”, “h”, all required decimals.

Note that these 3 shapes and all paths must be followed by either a fill, stroke, or fillstroke.

Text

text elements have the following attributes.

  • ”str”, the text string to display, required.
  • ”x” and “y”, the decimal location (x,y) of the text element, required.
  • ”align”, the horizontal alignment of the text element, either “left”, “center” or “right”.  Optional, default is “left”.
  • ”valign”, the vertical alignment of the text element, either “top”, “middle” or “bottom”.  Optional, default is “top”.
  • ”localized”, 0 or 1, if 1 then the “str” actually contains a key to use to fetch the value out of mxResources.  Optional, default is mxStencil.defaultLocalized.
  • ”vertical”, 0 or 1, if 1 the label is rendered vertically (rotated by 90 degrees).  Optional, default is 0.
  • ”rotation”, angle in degrees (0 to 360).  The angle to rotate the text by.  Optional, default is 0.
  • ”align-shape”, 0 or 1, if 0 ignore the rotation of the shape when setting the text rotation.  Optional, default is 1.

If allowEval is true, then the text content of the this element can define a function which is invoked with the shape as the only argument and returns the value for the text element (ignored if the str attribute is not null).

Images

image elements can either be external URLs, or data URIs, where supported (not in IE 7-).  Attributes are:

  • ”src”, required string.  Either a data URI or URL.
  • ”x”, “y”, required decimals.  The (x,y) position of the image.
  • ”w”, “h”, required decimals.  The width and height of the image.
  • ”flipH” and “flipV”, optional 0 or 1.  Whether to flip the image along the horizontal/vertical axis.  Default is 0 for both.

If allowEval is true, then the text content of the this element can define a function which is invoked with the shape as the only argument and returns the value for the image source (ignored if the src attribute is not null).

Sub-shapes

include-shape allow stencils to be rendered within the current stencil by referencing the sub-stencil by name.  Attributes are:

  • ”name”, required string.  The unique shape name of the stencil.
  • ”x”, “y”, “w”, “h”, required decimals.  The (x,y) position of the sub-shape and its width and height.
Summary
mxStencilImplements a generic shape which is based on a XML node as a description.
Functions
mxStencilConstructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
Variables
defaultLocalizedStatic global variable that specifies the default value for the localized attribute of the text element.
Functions
allowEvalStatic global switch that specifies if the use of eval is allowed for evaluating text content and images.
Variables
descHolds the XML node with the stencil description.
constraintsHolds an array of mxConnectionConstraints as defined in the shape.
aspectHolds the aspect of the shape.
w0Holds the width of the shape.
h0Holds the height of the shape.
bgNodesHolds the XML node with the stencil description.
fgNodesHolds the XML node with the stencil description.
strokewidthHolds the strokewidth direction from the description.
Functions
parseDescriptionReads w0, h0, aspect, bgNodes and fgNodes from desc.
parseConstraintsReads the constraints from desc into constraints using parseConstraint.
parseConstraintParses the given XML node and returns its mxConnectionConstraint.
evaluateTextAttributeGets the given attribute as a text.
evaluateAttributeGets the attribute for the given name from the given node.
drawShapeDraws this stencil inside the given bounds.
drawChildrenDraws this stencil inside the given bounds.
computeAspectReturns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
drawNodeDraws this stencil inside the given bounds.
+

mxStencil

Implements a generic shape which is based on a XML node as a description.

shape

The outer element is shape, that has attributes

  • ”name”, string, required.  The stencil name that uniquely identifies the shape.
  • ”w” and “h” are optional decimal view bounds.  This defines your co-ordinate system for the graphics operations in the shape.  The default is 100,100.
  • ”aspect”, optional string.  Either “variable”, the default, or “fixed”.  Fixed means always render the shape with the aspect ratio defined by the ratio w/h.  Variable causes the ratio to match that of the geometry of the current vertex.
  • ”strokewidth”, optional string.  Either an integer or the string “inherit”.  “inherit” indicates that the strokeWidth of the cell is only changed on scaling, not on resizing.  Default is “1”.  If numeric values are used, the strokeWidth of the cell is changed on both scaling and resizing and the value defines the multiple that is applied to the width.

connections

If you want to define specific fixed connection points on the shape use the connections element.  Each constraint element within connections defines a fixed connection point on the shape.  Constraints have attributes:

  • ”perimeter”, required.  1 or 0.  0 sets the connection point where specified by x,y.  1 Causes the position of the connection point to be extrapolated from the center of the shape, through x,y to the point of intersection with the perimeter of the shape.
  • ”x” and “y” are the position of the fixed point relative to the bounds of the shape.  They can be automatically adjusted if perimeter=1.  So, (0,0) is top left, (0.5,0.5) the center, (1,0.5) the center of the right hand edge of the bounds, etc.  Values may be less than 0 or greater than 1 to be positioned outside of the shape.
  • ”name”, optional string.  A unique identifier for the port on the shape.

background and foreground

The path of the graphics drawing is split into two elements, foreground and background.  The split is to define which part any shadow applied to the shape is derived from (the background).  This, generally, means the background is the line tracing of the outside of the shape, but not always.

Any stroke, fill or fillstroke of a background must be the first element of the foreground element, they must not be used within background.  If the background is empty, this is not required.

Because the background cannot have any fill or stroke, it can contain only one path, rect, roundrect or ellipse element (or none).  It can also not include image, text or include-shape.

Note that the state, styling and drawing in mxGraph stencils is very close in design to that of HTML 5 canvas.  Tutorials on this subject, if you’re not familiar with the topic, will give a good high-level introduction to the concepts used.

State

Rendering within the foreground and background elements has the concept of state.  There are two types of operations other than state save/load, styling and drawing.  The styling operations change the current state, so you can save the current state with <save/> and pull the last saved state from the state stack using <restore/>.

Styling

The elements that change colors within the current state all take a hash prefixed hex color code (“#FFEA80”).

  • strokecolor, this sets the color that drawing paths will be rendered in when a stroke or fillstroke command is issued.
  • fillcolor, this sets the color that the inside of closed paths will be rendered in when a fill or fillstroke command is issued.
  • fontcolor, this sets the color that fonts are rendered in when text is drawn.

alpha defines the degree of transparency used between 1.0 for fully opaque and 0.0 for fully transparent.

strokewidth defines the integer thickness of drawing elements rendered by stroking.  Use fixed=”1” to apply the value as-is, without scaling.

dashed is “1” for dashing enabled and “0” for disabled.

When dashed is enabled the current dash pattern, defined by dashpattern, is used on strokes. dashpattern is a sequence of space separated “on, off” lengths that define what distance to paint the stroke for, then what distance to paint nothing for, repeat...  The default is “3 3”.  You could define a more complex pattern with “5 3 2 6”, for example.  Generally, it makes sense to have an even number of elements in the dashpattern, but that’s not required.

linejoin, linecap and miterlimit are best explained by the Mozilla page on Canvas styling (about halfway down).  The values are all the same except we use “flat” for linecap, instead of Canvas’ “butt”.

For font styling there are.

  • fontsize, an integer,
  • fontstyle, an ORed bit pattern of bold (1), italic (2) and underline (4), i.e bold underline is “5”.
  • fontfamily, is a string defining the typeface to be used.

Drawing

Most drawing is contained within a path element.  Again, the graphic primitives are very similar to that of HTML 5 canvas.

  • move to attributes required decimals (x,y).
  • line to attributes required decimals (x,y).
  • quad to required decimals (x2,y2) via control point required decimals (x1,y1).
  • curve to required decimals (x3,y3), via control points required decimals (x1,y1) and (x2,y2).
  • arc, this doesn’t follow the HTML Canvas signatures, instead it’s a copy of the SVG arc command.  The SVG specification documentation gives the best description of its behaviors.  The attributes are named identically, they are decimals and all required.
  • close ends the current subpath and causes an automatic straight line to be drawn from the current point to the initial point of the current subpath.

Complex drawing

In addition to the graphics primitive operations there are non-primitive operations.  These provide an easy method to draw some basic shapes.

  • rect, attributes “x”, “y”, “w”, “h”, all required decimals
  • roundrect, attributes “x”, “y”, “w”, “h”, all required decimals.  Also “arcsize” an optional decimal attribute defining how large, the corner curves are.
  • ellipse, attributes “x”, “y”, “w”, “h”, all required decimals.

Note that these 3 shapes and all paths must be followed by either a fill, stroke, or fillstroke.

Text

text elements have the following attributes.

  • ”str”, the text string to display, required.
  • ”x” and “y”, the decimal location (x,y) of the text element, required.
  • ”align”, the horizontal alignment of the text element, either “left”, “center” or “right”.  Optional, default is “left”.
  • ”valign”, the vertical alignment of the text element, either “top”, “middle” or “bottom”.  Optional, default is “top”.
  • ”localized”, 0 or 1, if 1 then the “str” actually contains a key to use to fetch the value out of mxResources.  Optional, default is mxStencil.defaultLocalized.
  • ”vertical”, 0 or 1, if 1 the label is rendered vertically (rotated by 90 degrees).  Optional, default is 0.
  • ”rotation”, angle in degrees (0 to 360).  The angle to rotate the text by.  Optional, default is 0.
  • ”align-shape”, 0 or 1, if 0 ignore the rotation of the shape when setting the text rotation.  Optional, default is 1.

If allowEval is true, then the text content of the this element can define a function which is invoked with the shape as the only argument and returns the value for the text element (ignored if the str attribute is not null).

Images

image elements can either be external URLs, or data URIs, where supported (not in IE 7-).  Attributes are:

  • ”src”, required string.  Either a data URI or URL.
  • ”x”, “y”, required decimals.  The (x,y) position of the image.
  • ”w”, “h”, required decimals.  The width and height of the image.
  • ”flipH” and “flipV”, optional 0 or 1.  Whether to flip the image along the horizontal/vertical axis.  Default is 0 for both.

If allowEval is true, then the text content of the this element can define a function which is invoked with the shape as the only argument and returns the value for the image source (ignored if the src attribute is not null).

Sub-shapes

include-shape allow stencils to be rendered within the current stencil by referencing the sub-stencil by name.  Attributes are:

  • ”name”, required string.  The unique shape name of the stencil.
  • ”x”, “y”, “w”, “h”, required decimals.  The (x,y) position of the sub-shape and its width and height.
Summary
mxStencilImplements a generic shape which is based on a XML node as a description.
Functions
mxStencilConstructs a new generic shape by setting desc to the given XML node and invoking parseDescription and parseConstraints.
Variables
defaultLocalizedStatic global variable that specifies the default value for the localized attribute of the text element.
Functions
allowEvalStatic global switch that specifies if the use of eval is allowed for evaluating text content and images.
Variables
descHolds the XML node with the stencil description.
constraintsHolds an array of mxConnectionConstraints as defined in the shape.
aspectHolds the aspect of the shape.
w0Holds the width of the shape.
h0Holds the height of the shape.
bgNodesHolds the XML node with the stencil description.
fgNodesHolds the XML node with the stencil description.
strokewidthHolds the strokewidth direction from the description.
Functions
parseDescriptionReads w0, h0, aspect, bgNodes and fgNodes from desc.
parseConstraintsReads the constraints from desc into constraints using parseConstraint.
parseConstraintParses the given XML node and returns its mxConnectionConstraint.
evaluateTextAttributeGets the given attribute as a text.
evaluateAttributeGets the attribute for the given name from the given node.
drawShapeDraws this stencil inside the given bounds.
drawChildrenDraws this stencil inside the given bounds.
computeAspectReturns a rectangle that contains the offset in x and y and the horizontal and vertical scale in width and height used to draw this shape inside the given mxRectangle.
drawNodeDraws this stencil inside the given bounds.

Functions

@@ -69,7 +69,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxStencilRegistry-js.html b/docs/js-api/files/shape/mxStencilRegistry-js.html index 1102133f3..22cca0fc3 100644 --- a/docs/js-api/files/shape/mxStencilRegistry-js.html +++ b/docs/js-api/files/shape/mxStencilRegistry-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxSwimlane-js.html b/docs/js-api/files/shape/mxSwimlane-js.html index 5560d11b3..2fe1e3cee 100644 --- a/docs/js-api/files/shape/mxSwimlane-js.html +++ b/docs/js-api/files/shape/mxSwimlane-js.html @@ -49,7 +49,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxText-js.html b/docs/js-api/files/shape/mxText-js.html index 0e8d008c7..0d62e523d 100644 --- a/docs/js-api/files/shape/mxText-js.html +++ b/docs/js-api/files/shape/mxText-js.html @@ -97,7 +97,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/shape/mxTriangle-js.html b/docs/js-api/files/shape/mxTriangle-js.html index e11cb3c65..548aace36 100644 --- a/docs/js-api/files/shape/mxTriangle-js.html +++ b/docs/js-api/files/shape/mxTriangle-js.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxAbstractCanvas2D-js.html b/docs/js-api/files/util/mxAbstractCanvas2D-js.html index bc40458ee..b83c4d0d8 100644 --- a/docs/js-api/files/util/mxAbstractCanvas2D-js.html +++ b/docs/js-api/files/util/mxAbstractCanvas2D-js.html @@ -137,7 +137,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxAnimation-js.html b/docs/js-api/files/util/mxAnimation-js.html index 66bb6991f..e6530aa83 100644 --- a/docs/js-api/files/util/mxAnimation-js.html +++ b/docs/js-api/files/util/mxAnimation-js.html @@ -39,7 +39,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxAutoSaveManager-js.html b/docs/js-api/files/util/mxAutoSaveManager-js.html index f2ddc175e..e1cdb4b6b 100644 --- a/docs/js-api/files/util/mxAutoSaveManager-js.html +++ b/docs/js-api/files/util/mxAutoSaveManager-js.html @@ -62,7 +62,7 @@ mgr.save = function() - diff --git a/docs/js-api/files/util/mxClipboard-js.html b/docs/js-api/files/util/mxClipboard-js.html index 22a9876ce..6e579b0e1 100644 --- a/docs/js-api/files/util/mxClipboard-js.html +++ b/docs/js-api/files/util/mxClipboard-js.html @@ -89,7 +89,7 @@ mxClipboard.paste = function(graph) - diff --git a/docs/js-api/files/util/mxConstants-js.html b/docs/js-api/files/util/mxConstants-js.html index 3be886ac7..2a1df8996 100644 --- a/docs/js-api/files/util/mxConstants-js.html +++ b/docs/js-api/files/util/mxConstants-js.html @@ -547,7 +547,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxDictionary-js.html b/docs/js-api/files/util/mxDictionary-js.html index a04826e37..2110db0a3 100644 --- a/docs/js-api/files/util/mxDictionary-js.html +++ b/docs/js-api/files/util/mxDictionary-js.html @@ -39,7 +39,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxDivResizer-js.html b/docs/js-api/files/util/mxDivResizer-js.html index f7ad38c01..c8b3e2374 100644 --- a/docs/js-api/files/util/mxDivResizer-js.html +++ b/docs/js-api/files/util/mxDivResizer-js.html @@ -44,7 +44,7 @@ resizer.resize(); - diff --git a/docs/js-api/files/util/mxDragSource-js.html b/docs/js-api/files/util/mxDragSource-js.html index 5529581e8..4935af419 100644 --- a/docs/js-api/files/util/mxDragSource-js.html +++ b/docs/js-api/files/util/mxDragSource-js.html @@ -117,7 +117,7 @@ dragSource.mouseDown = function(evt) - diff --git a/docs/js-api/files/util/mxEffects-js.html b/docs/js-api/files/util/mxEffects-js.html index 5f74e4c02..facc422df 100644 --- a/docs/js-api/files/util/mxEffects-js.html +++ b/docs/js-api/files/util/mxEffects-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxEvent-js.html b/docs/js-api/files/util/mxEvent-js.html index 1527cda90..cba7610ab 100644 --- a/docs/js-api/files/util/mxEvent-js.html +++ b/docs/js-api/files/util/mxEvent-js.html @@ -277,7 +277,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxEventObject-js.html b/docs/js-api/files/util/mxEventObject-js.html index 647917578..5f8110472 100644 --- a/docs/js-api/files/util/mxEventObject-js.html +++ b/docs/js-api/files/util/mxEventObject-js.html @@ -44,7 +44,7 @@ INV: evt.isConsumed() == true - diff --git a/docs/js-api/files/util/mxEventSource-js.html b/docs/js-api/files/util/mxEventSource-js.html index fa2804f34..a30e25a65 100644 --- a/docs/js-api/files/util/mxEventSource-js.html +++ b/docs/js-api/files/util/mxEventSource-js.html @@ -50,7 +50,7 @@ MyClass.prototype.constructor = MyClass;

Kn - diff --git a/docs/js-api/files/util/mxForm-js.html b/docs/js-api/files/util/mxForm-js.html index 3c539190a..9f1f19b5f 100644 --- a/docs/js-api/files/util/mxForm-js.html +++ b/docs/js-api/files/util/mxForm-js.html @@ -11,7 +11,7 @@ if (browserType) {document.write("
");if (browserV -

mxForm

A simple class for creating HTML forms.

Summary
mxFormA simple class for creating HTML forms.
Functions
mxFormCreates a HTML table using the specified classname.
Variables
tableHolds the DOM node that represents the table.
bodyHolds the DOM node that represents the tbody (table body).
Functions
getTableReturns the table that contains this form.
addButtonsHelper method to add an OK and Cancel button using the respective functions.
addTextAdds a textfield for the given name and value and returns the textfield.
addCheckboxAdds a checkbox for the given name and value and returns the textfield.
addTextareaAdds a textarea for the given name and value and returns the textarea.
addComboAdds a combo for the given name and returns the combo.
addOptionAdds an option for the given label to the specified combo.
addFieldAdds a new row with the name and the input field in two columns and returns the given input.
+

mxForm

A simple class for creating HTML forms.

Summary
mxFormA simple class for creating HTML forms.
Functions
mxFormCreates a HTML table using the specified classname.
Variables
tableHolds the DOM node that represents the table.
bodyHolds the DOM node that represents the tbody (table body).
Functions
getTableReturns the table that contains this form.
addButtonsHelper method to add an OK and Cancel button using the respective functions.
addTextAdds an input for the given name, type and value and returns it.
addCheckboxAdds a checkbox for the given name and value and returns the textfield.
addTextareaAdds a textarea for the given name and value and returns the textarea.
addComboAdds a combo for the given name and returns the combo.
addOptionAdds an option for the given label to the specified combo.
addFieldAdds a new row with the name and the input field in two columns and returns the given input.

Functions

@@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV

addButtons

mxForm.prototype.addButtons = function(okFunct,
cancelFunct)

Helper method to add an OK and Cancel button using the respective functions.

-

addText

mxForm.prototype.addText = function(name,
value)

Adds a textfield for the given name and value and returns the textfield.

+

addText

mxForm.prototype.addText = function(name,
value,
type)

Adds an input for the given name, type and value and returns it.

addCheckbox

mxForm.prototype.addCheckbox = function(name,
value)

Adds a checkbox for the given name and value and returns the textfield.

@@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV - @@ -55,7 +55,7 @@ HideAllBut([10], 13);// -->
-
function mxForm(className)
Creates a HTML table using the specified classname.
mxForm.prototype.table
Holds the DOM node that represents the table.
mxForm.prototype.body
Holds the DOM node that represents the tbody (table body).
mxForm.prototype.getTable = function()
Returns the table that contains this form.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
mxForm.prototype.addText = function(name,
value)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
+
function mxForm(className)
Creates a HTML table using the specified classname.
mxForm.prototype.table
Holds the DOM node that represents the table.
mxForm.prototype.body
Holds the DOM node that represents the tbody (table body).
mxForm.prototype.getTable = function()
Returns the table that contains this form.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
mxForm.prototype.addText = function(name,
value,
type)
Adds an input for the given name, type and value and returns it.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
diff --git a/docs/js-api/files/util/mxGuide-js.html b/docs/js-api/files/util/mxGuide-js.html index 9fc3f5875..54d057341 100644 --- a/docs/js-api/files/util/mxGuide-js.html +++ b/docs/js-api/files/util/mxGuide-js.html @@ -57,7 +57,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxImage-js.html b/docs/js-api/files/util/mxImage-js.html index 087864dc5..f2fa35513 100644 --- a/docs/js-api/files/util/mxImage-js.html +++ b/docs/js-api/files/util/mxImage-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxImageBundle-js.html b/docs/js-api/files/util/mxImageBundle-js.html index 3c64507d5..32ce09153 100644 --- a/docs/js-api/files/util/mxImageBundle-js.html +++ b/docs/js-api/files/util/mxImageBundle-js.html @@ -63,7 +63,7 @@ all data URIs should be limited to 32 KB. - diff --git a/docs/js-api/files/util/mxImageExport-js.html b/docs/js-api/files/util/mxImageExport-js.html index ca9cdb8a9..bfacd818d 100644 --- a/docs/js-api/files/util/mxImageExport-js.html +++ b/docs/js-api/files/util/mxImageExport-js.html @@ -58,7 +58,7 @@ new mxXmlRequest('export', 'format=png&w=' + w + - diff --git a/docs/js-api/files/util/mxLog-js.html b/docs/js-api/files/util/mxLog-js.html index e7bfe277c..8d0c116fd 100644 --- a/docs/js-api/files/util/mxLog-js.html +++ b/docs/js-api/files/util/mxLog-js.html @@ -62,7 +62,7 @@ mxLog.warn('Hello, World!');
- diff --git a/docs/js-api/files/util/mxMorphing-js.html b/docs/js-api/files/util/mxMorphing-js.html index cfbc1131c..3b43a2086 100644 --- a/docs/js-api/files/util/mxMorphing-js.html +++ b/docs/js-api/files/util/mxMorphing-js.html @@ -64,7 +64,7 @@ finally - diff --git a/docs/js-api/files/util/mxMouseEvent-js.html b/docs/js-api/files/util/mxMouseEvent-js.html index bd13cd76a..50ff8918b 100644 --- a/docs/js-api/files/util/mxMouseEvent-js.html +++ b/docs/js-api/files/util/mxMouseEvent-js.html @@ -77,7 +77,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxObjectIdentity-js.html b/docs/js-api/files/util/mxObjectIdentity-js.html index 19bd09531..ae5e0a41a 100644 --- a/docs/js-api/files/util/mxObjectIdentity-js.html +++ b/docs/js-api/files/util/mxObjectIdentity-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxPanningManager-js.html b/docs/js-api/files/util/mxPanningManager-js.html index b0ed4a153..27fed6ddf 100644 --- a/docs/js-api/files/util/mxPanningManager-js.html +++ b/docs/js-api/files/util/mxPanningManager-js.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxPoint-js.html b/docs/js-api/files/util/mxPoint-js.html index 93876efd5..e15c3d30a 100644 --- a/docs/js-api/files/util/mxPoint-js.html +++ b/docs/js-api/files/util/mxPoint-js.html @@ -35,7 +35,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxPopupMenu-js.html b/docs/js-api/files/util/mxPopupMenu-js.html index 50e20023f..5480585a2 100644 --- a/docs/js-api/files/util/mxPopupMenu-js.html +++ b/docs/js-api/files/util/mxPopupMenu-js.html @@ -88,7 +88,7 @@ mxPopupMenu.prototype.showMenu = function() - diff --git a/docs/js-api/files/util/mxRectangle-js.html b/docs/js-api/files/util/mxRectangle-js.html index 5653138b3..f503ae235 100644 --- a/docs/js-api/files/util/mxRectangle-js.html +++ b/docs/js-api/files/util/mxRectangle-js.html @@ -51,7 +51,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxResources-js.html b/docs/js-api/files/util/mxResources-js.html index e8076940a..97e051b97 100644 --- a/docs/js-api/files/util/mxResources-js.html +++ b/docs/js-api/files/util/mxResources-js.html @@ -51,7 +51,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxSvgCanvas2D-js.html b/docs/js-api/files/util/mxSvgCanvas2D-js.html index 38ba1f1d7..aadd9cb05 100644 --- a/docs/js-api/files/util/mxSvgCanvas2D-js.html +++ b/docs/js-api/files/util/mxSvgCanvas2D-js.html @@ -154,7 +154,7 @@ var svgCanvas = new mxSvgCanvas2D(root);

A description of t

- diff --git a/docs/js-api/files/util/mxToolbar-js.html b/docs/js-api/files/util/mxToolbar-js.html index 1de7b6636..d57a83fcc 100644 --- a/docs/js-api/files/util/mxToolbar-js.html +++ b/docs/js-api/files/util/mxToolbar-js.html @@ -63,7 +63,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxUndoManager-js.html b/docs/js-api/files/util/mxUndoManager-js.html index 60eb397cb..5f2c29403 100644 --- a/docs/js-api/files/util/mxUndoManager-js.html +++ b/docs/js-api/files/util/mxUndoManager-js.html @@ -65,7 +65,7 @@ graph.getView().addListener(mxEvent.UNDO, listener);

The co

- diff --git a/docs/js-api/files/util/mxUndoableEdit-js.html b/docs/js-api/files/util/mxUndoableEdit-js.html index 4b5ae74c9..329db24c5 100644 --- a/docs/js-api/files/util/mxUndoableEdit-js.html +++ b/docs/js-api/files/util/mxUndoableEdit-js.html @@ -74,7 +74,7 @@ graph.model.execute(new CustomChange(graph.model, name)); - diff --git a/docs/js-api/files/util/mxUrlConverter-js.html b/docs/js-api/files/util/mxUrlConverter-js.html index 763bd1934..c2f7da5cc 100644 --- a/docs/js-api/files/util/mxUrlConverter-js.html +++ b/docs/js-api/files/util/mxUrlConverter-js.html @@ -47,7 +47,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxUtils-js.html b/docs/js-api/files/util/mxUtils-js.html index dc5a997b4..3c322b392 100644 --- a/docs/js-api/files/util/mxUtils-js.html +++ b/docs/js-api/files/util/mxUtils-js.html @@ -321,7 +321,7 @@ document.body.appendChild(img);

Parameters< - diff --git a/docs/js-api/files/util/mxVmlCanvas2D-js.html b/docs/js-api/files/util/mxVmlCanvas2D-js.html index 22c3a1e79..f13425935 100644 --- a/docs/js-api/files/util/mxVmlCanvas2D-js.html +++ b/docs/js-api/files/util/mxVmlCanvas2D-js.html @@ -98,7 +98,7 @@ mxVmlCanvas2D.prototype.image = function(x, y, w, h, src, aspect, flipH, flipV) - diff --git a/docs/js-api/files/util/mxWindow-js.html b/docs/js-api/files/util/mxWindow-js.html index aa20285e5..022fea53f 100644 --- a/docs/js-api/files/util/mxWindow-js.html +++ b/docs/js-api/files/util/mxWindow-js.html @@ -175,7 +175,7 @@ wnd.setVisible(true);

To limit the movement of a window, eg

- diff --git a/docs/js-api/files/util/mxXmlCanvas2D-js.html b/docs/js-api/files/util/mxXmlCanvas2D-js.html index bc5fc7707..b70ee003a 100644 --- a/docs/js-api/files/util/mxXmlCanvas2D-js.html +++ b/docs/js-api/files/util/mxXmlCanvas2D-js.html @@ -121,7 +121,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/util/mxXmlRequest-js.html b/docs/js-api/files/util/mxXmlRequest-js.html index 5cc22d77a..997def05a 100644 --- a/docs/js-api/files/util/mxXmlRequest-js.html +++ b/docs/js-api/files/util/mxXmlRequest-js.html @@ -94,7 +94,7 @@ new mxXmlRequest(url, 'xml='+xml).send();

Sends an encoded

- diff --git a/docs/js-api/files/view/mxCellEditor-js.html b/docs/js-api/files/view/mxCellEditor-js.html index 24c547c2c..b70d8d024 100644 --- a/docs/js-api/files/view/mxCellEditor-js.html +++ b/docs/js-api/files/view/mxCellEditor-js.html @@ -138,7 +138,7 @@ graph.fireMouseEvent = function(evtName, me, sender) - diff --git a/docs/js-api/files/view/mxCellOverlay-js.html b/docs/js-api/files/view/mxCellOverlay-js.html index 1b8c1f66c..a8fabd00c 100644 --- a/docs/js-api/files/view/mxCellOverlay-js.html +++ b/docs/js-api/files/view/mxCellOverlay-js.html @@ -68,7 +68,7 @@ overlay.addListener(mxEvent.CLICK, function(sender, evt) - diff --git a/docs/js-api/files/view/mxCellRenderer-js.html b/docs/js-api/files/view/mxCellRenderer-js.html index b9ef1accb..be2a137a0 100644 --- a/docs/js-api/files/view/mxCellRenderer-js.html +++ b/docs/js-api/files/view/mxCellRenderer-js.html @@ -117,7 +117,7 @@ for (var i in mxCellRenderer.prototype.defaultShapes) - diff --git a/docs/js-api/files/view/mxCellState-js.html b/docs/js-api/files/view/mxCellState-js.html index 1e9af74c9..597cf5f25 100644 --- a/docs/js-api/files/view/mxCellState-js.html +++ b/docs/js-api/files/view/mxCellState-js.html @@ -81,7 +81,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxCellStatePreview-js.html b/docs/js-api/files/view/mxCellStatePreview-js.html index 00ed41636..44458f7df 100644 --- a/docs/js-api/files/view/mxCellStatePreview-js.html +++ b/docs/js-api/files/view/mxCellStatePreview-js.html @@ -45,7 +45,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxConnectionConstraint-js.html b/docs/js-api/files/view/mxConnectionConstraint-js.html index 8871b262e..c513e1cd3 100644 --- a/docs/js-api/files/view/mxConnectionConstraint-js.html +++ b/docs/js-api/files/view/mxConnectionConstraint-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxEdgeStyle-js.html b/docs/js-api/files/view/mxEdgeStyle-js.html index c81e8b036..fc8e7296e 100644 --- a/docs/js-api/files/view/mxEdgeStyle-js.html +++ b/docs/js-api/files/view/mxEdgeStyle-js.html @@ -50,7 +50,7 @@ style[mxConstants.STYLE_EDGE] = mxEdgeStyle.MyStyle;

Note t

- diff --git a/docs/js-api/files/view/mxGraph-js.html b/docs/js-api/files/view/mxGraph-js.html index cbdbc676d..2f182a351 100644 --- a/docs/js-api/files/view/mxGraph-js.html +++ b/docs/js-api/files/view/mxGraph-js.html @@ -1370,7 +1370,7 @@ graph.traverse(cell, false, function(vertex, edge) - diff --git a/docs/js-api/files/view/mxGraphSelectionModel-js.html b/docs/js-api/files/view/mxGraphSelectionModel-js.html index 63ab44113..4386f6b9b 100644 --- a/docs/js-api/files/view/mxGraphSelectionModel-js.html +++ b/docs/js-api/files/view/mxGraphSelectionModel-js.html @@ -87,7 +87,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxGraphView-js.html b/docs/js-api/files/view/mxGraphView-js.html index e3b8c4163..b500503f3 100644 --- a/docs/js-api/files/view/mxGraphView-js.html +++ b/docs/js-api/files/view/mxGraphView-js.html @@ -279,7 +279,7 @@ mxGraphView.prototype.getPerimeterBounds = function(terminal, edge, isSource) - diff --git a/docs/js-api/files/view/mxLayoutManager-js.html b/docs/js-api/files/view/mxLayoutManager-js.html index 979ac64e1..0d359e9e2 100644 --- a/docs/js-api/files/view/mxLayoutManager-js.html +++ b/docs/js-api/files/view/mxLayoutManager-js.html @@ -75,7 +75,7 @@ layoutMgr.getLayout = function(cell) - diff --git a/docs/js-api/files/view/mxMultiplicity-js.html b/docs/js-api/files/view/mxMultiplicity-js.html index 874ef52e1..b5780d500 100644 --- a/docs/js-api/files/view/mxMultiplicity-js.html +++ b/docs/js-api/files/view/mxMultiplicity-js.html @@ -58,7 +58,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxOutline-js.html b/docs/js-api/files/view/mxOutline-js.html index 22278d42d..fb697b601 100644 --- a/docs/js-api/files/view/mxOutline-js.html +++ b/docs/js-api/files/view/mxOutline-js.html @@ -111,7 +111,7 @@ if (!nav.suspended) - diff --git a/docs/js-api/files/view/mxPerimeter-js.html b/docs/js-api/files/view/mxPerimeter-js.html index 8998083d5..35fa70149 100644 --- a/docs/js-api/files/view/mxPerimeter-js.html +++ b/docs/js-api/files/view/mxPerimeter-js.html @@ -38,7 +38,7 @@ style[mxConstants.STYLE_PERIMETER] = mxPerimeter.CustomPerimeter;Generated by Natural Docs
- diff --git a/docs/js-api/files/view/mxPrintPreview-js.html b/docs/js-api/files/view/mxPrintPreview-js.html index 1fd9662f5..b68972a5a 100644 --- a/docs/js-api/files/view/mxPrintPreview-js.html +++ b/docs/js-api/files/view/mxPrintPreview-js.html @@ -162,7 +162,7 @@ preview.open();
- diff --git a/docs/js-api/files/view/mxStyleRegistry-js.html b/docs/js-api/files/view/mxStyleRegistry-js.html index 0744b40c6..dba5f70da 100644 --- a/docs/js-api/files/view/mxStyleRegistry-js.html +++ b/docs/js-api/files/view/mxStyleRegistry-js.html @@ -31,7 +31,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxStylesheet-js.html b/docs/js-api/files/view/mxStylesheet-js.html index 73d6a1a37..d5f6d9f2c 100644 --- a/docs/js-api/files/view/mxStylesheet-js.html +++ b/docs/js-api/files/view/mxStylesheet-js.html @@ -48,7 +48,7 @@ graph.getStylesheet().putCellStyle('rounded', style);

In th

- diff --git a/docs/js-api/files/view/mxSwimlaneManager-js.html b/docs/js-api/files/view/mxSwimlaneManager-js.html index f40b8a354..095232bc2 100644 --- a/docs/js-api/files/view/mxSwimlaneManager-js.html +++ b/docs/js-api/files/view/mxSwimlaneManager-js.html @@ -75,7 +75,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/files/view/mxTemporaryCellStates-js.html b/docs/js-api/files/view/mxTemporaryCellStates-js.html index b44fb71bb..cfba0bfb5 100644 --- a/docs/js-api/files/view/mxTemporaryCellStates-js.html +++ b/docs/js-api/files/view/mxTemporaryCellStates-js.html @@ -37,7 +37,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Classes.html b/docs/js-api/index/Classes.html index b282a06de..e5c976b84 100644 --- a/docs/js-api/index/Classes.html +++ b/docs/js-api/index/Classes.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Classes2.html b/docs/js-api/index/Classes2.html index 5a7581366..edd3c2246 100644 --- a/docs/js-api/index/Classes2.html +++ b/docs/js-api/index/Classes2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Cookies.html b/docs/js-api/index/Cookies.html index e4877d32c..944907abb 100644 --- a/docs/js-api/index/Cookies.html +++ b/docs/js-api/index/Cookies.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Events.html b/docs/js-api/index/Events.html index a41489766..ec9d7cfdc 100644 --- a/docs/js-api/index/Events.html +++ b/docs/js-api/index/Events.html @@ -85,7 +85,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Files.html b/docs/js-api/index/Files.html index 8dcf2f617..e54f4e6c9 100644 --- a/docs/js-api/index/Files.html +++ b/docs/js-api/index/Files.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions.html b/docs/js-api/index/Functions.html index 02aa179cd..ddb89b6f7 100644 --- a/docs/js-api/index/Functions.html +++ b/docs/js-api/index/Functions.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 activate, mxWindow
 add
 addAction
 addActionCombo, mxDefaultToolbar
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCheckbox, mxForm
 addCombo
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addElement, mxCodec
 addField, mxForm
 addGestureListeners, mxEvent
 addGraphFragment, mxPrintPreview
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMarker, mxMarker
 addMode
 addMouseListener, mxGraph
 addNode
 addObjectValue, mxObjectCodec
 addOp, mxAbstractCanvas2D
 addOption
 addPageBreak, mxPrintPreview
 addPoint, mxEdgeHandler
 addPointAt, mxEdgeHandler
 addPoints, mxShape
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addTextBackground, mxSvgCanvas2D
 addTransparentBackgroundFilter, mxUtils
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents, mxCompactTreeLayout
 afterDecode
 afterEncode
 alert, mxUtils
 alignCells, mxGraph
 allowEval, mxStencil
 animateCell, mxMorphing
 animateChanges
 appendGraph, mxPrintPreview
 apply
 applyValue, mxCellEditor
 arcTo, mxAbstractCanvas2D
 arcToCurves, mxUtils
 arrangeGroups, mxGraphLayout
 attachParent, mxCompactTreeLayout
 augmentBoundingBox
 autoSizeCell, mxGraph
 avoid, mxEdgeLabelLayout
-
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan,
callback)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls,
enabled)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
mxGraph.prototype.addAllEdges = function(cells)
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
mxGraph.prototype.addCell = function(cell,
parent,
index,
source,
target)
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCells = function(cells,
parent,
index,
source,
target)
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
mxGraph.prototype.addEdge = function(edge,
parent,
source,
target,
index)
Adds the edge to the parent and connects it to the given source and target terminals.
mxCellStatePreview.prototype.addEdges = function(state)
mxCodec.prototype.addElement = function(node)
Adds the given element to elements if it has an ID.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div,
clip)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled,
active)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxPrintPreview.prototype.addPageBreak = function(doc)
Adds a page break to the given document.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
mxGraph.prototype.alignCells = function(align,
cells,
param)
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
Static global switch that specifies if the use of eval is allowed for evaluating text content and images.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
mxPrintPreview.prototype.appendGraph = function(graph,
scale,
x0,
y0,
forcePageBreaks,
keepOpen)
Adds the given graph to the existing print preview.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to update the text styles.
mxCellEditor.prototype.applyValue = function(state,
value)
Called in stopEditing if cancel is false to invoke mxGraph.labelChanged.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Resizes the specified cell to just fit around the its label and/or children
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
+
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan,
callback)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls,
enabled)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
mxGraph.prototype.addAllEdges = function(cells)
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
mxGraph.prototype.addCell = function(cell,
parent,
index,
source,
target)
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCells = function(cells,
parent,
index,
source,
target)
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
mxGraph.prototype.addEdge = function(edge,
parent,
source,
target,
index)
Adds the edge to the parent and connects it to the given source and target terminals.
mxCellStatePreview.prototype.addEdges = function(state)
mxCodec.prototype.addElement = function(node)
Adds the given element to elements if it has an ID.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div,
clip)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled,
active)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxPrintPreview.prototype.addPageBreak = function(doc)
Adds a page break to the given document.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value,
type)
Adds an input for the given name, type and value and returns it.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
mxGraph.prototype.alignCells = function(align,
cells,
param)
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
Static global switch that specifies if the use of eval is allowed for evaluating text content and images.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
mxPrintPreview.prototype.appendGraph = function(graph,
scale,
x0,
y0,
forcePageBreaks,
keepOpen)
Adds the given graph to the existing print preview.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to update the text styles.
mxCellEditor.prototype.applyValue = function(state,
value)
Called in stopEditing if cancel is false to invoke mxGraph.labelChanged.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Resizes the specified cell to just fit around the its label and/or children
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions10.html b/docs/js-api/index/Functions10.html index 68f718a0f..7851b0be7 100644 --- a/docs/js-api/index/Functions10.html +++ b/docs/js-api/index/Functions10.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions11.html b/docs/js-api/index/Functions11.html index 24299093d..b710b98d1 100644 --- a/docs/js-api/index/Functions11.html +++ b/docs/js-api/index/Functions11.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions12.html b/docs/js-api/index/Functions12.html index 1195e78ba..4907df7eb 100644 --- a/docs/js-api/index/Functions12.html +++ b/docs/js-api/index/Functions12.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions13.html b/docs/js-api/index/Functions13.html index fb1ecd9b0..58ae1842b 100644 --- a/docs/js-api/index/Functions13.html +++ b/docs/js-api/index/Functions13.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions14.html b/docs/js-api/index/Functions14.html index 682e624ec..840a14ba0 100644 --- a/docs/js-api/index/Functions14.html +++ b/docs/js-api/index/Functions14.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions15.html b/docs/js-api/index/Functions15.html index 29408c8e8..64d128b69 100644 --- a/docs/js-api/index/Functions15.html +++ b/docs/js-api/index/Functions15.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions16.html b/docs/js-api/index/Functions16.html index 4ecc33419..3f42b60e0 100644 --- a/docs/js-api/index/Functions16.html +++ b/docs/js-api/index/Functions16.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions17.html b/docs/js-api/index/Functions17.html index 1e55f0768..aeb8213cb 100644 --- a/docs/js-api/index/Functions17.html +++ b/docs/js-api/index/Functions17.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions18.html b/docs/js-api/index/Functions18.html index cdeefb7ec..49f829452 100644 --- a/docs/js-api/index/Functions18.html +++ b/docs/js-api/index/Functions18.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions19.html b/docs/js-api/index/Functions19.html index c31cabf89..e735a3a36 100644 --- a/docs/js-api/index/Functions19.html +++ b/docs/js-api/index/Functions19.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions2.html b/docs/js-api/index/Functions2.html index 3ad854a1b..5f9da6116 100644 --- a/docs/js-api/index/Functions2.html +++ b/docs/js-api/index/Functions2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions3.html b/docs/js-api/index/Functions3.html index bf200b95f..b2385e6ec 100644 --- a/docs/js-api/index/Functions3.html +++ b/docs/js-api/index/Functions3.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions4.html b/docs/js-api/index/Functions4.html index 88c24b7a4..42c7cd20e 100644 --- a/docs/js-api/index/Functions4.html +++ b/docs/js-api/index/Functions4.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions5.html b/docs/js-api/index/Functions5.html index 0e78bb264..d6421ebc3 100644 --- a/docs/js-api/index/Functions5.html +++ b/docs/js-api/index/Functions5.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions6.html b/docs/js-api/index/Functions6.html index 9d30adc06..d012386b6 100644 --- a/docs/js-api/index/Functions6.html +++ b/docs/js-api/index/Functions6.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions7.html b/docs/js-api/index/Functions7.html index 86773b879..3f415a438 100644 --- a/docs/js-api/index/Functions7.html +++ b/docs/js-api/index/Functions7.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions8.html b/docs/js-api/index/Functions8.html index 4841b70c7..eeed34392 100644 --- a/docs/js-api/index/Functions8.html +++ b/docs/js-api/index/Functions8.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Functions9.html b/docs/js-api/index/Functions9.html index 81b3c2c67..2f674f830 100644 --- a/docs/js-api/index/Functions9.html +++ b/docs/js-api/index/Functions9.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General.html b/docs/js-api/index/General.html index 7d57cca83..82bc5da58 100644 --- a/docs/js-api/index/General.html +++ b/docs/js-api/index/General.html @@ -13,7 +13,7 @@ if (browserType) {document.write("
");if (browserV
Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 ABSOLUTE_LINE_HEIGHT, mxConstants
 absoluteOffset, mxCellState
 absolutePoints, mxCellState
 actions, mxEditor
 Actions and Options, mxEditor
 activate, mxWindow
 ACTIVATE
 add
 ADD
 ADD_CELLS
 ADD_OVERLAY
 ADD_VERTEX
 addAction
 addActionCombo, mxDefaultToolbar
 addActionOption, mxDefaultToolbar
 addActions, mxEditor
 addAlias, mxCodecRegistry
 addAllEdges, mxGraph
 addBreak, mxToolbar
 addButton, mxLog
 addButtons, mxForm
 addCell
 addCellOverlay, mxGraph
 addCells
 addCheckbox, mxForm
 addCombo
 addEdge, mxGraph
 addEdges, mxCellStatePreview
 addElement, mxCodec
 addEnabled
 addField, mxForm
 addGestureListeners, mxEvent
 addGraphFragment, mxPrintPreview
 addImageBundle, mxGraph
 addItem
 addItems, mxDefaultPopupMenu
 addLine, mxToolbar
 addListener
 addMarker, mxMarker
 addMode
 addMouseListener, mxGraph
 addNode
 addObjectValue, mxObjectCodec
 addOp, mxAbstractCanvas2D
 addOption
 addPageBreak, mxPrintPreview
 addPoint, mxEdgeHandler
 addPointAt, mxEdgeHandler
 addPoints, mxShape
 addPrototype, mxDefaultToolbar
 addSelectionCell, mxGraph
 addSelectionCells, mxGraph
 addSeparator
 addStencil, mxStencilRegistry
 addStylename, mxUtils
 addSwitchMode, mxToolbar
 addTemplate, mxEditor
 addText, mxForm
 addTextarea, mxForm
 addTextBackground, mxSvgCanvas2D
 addTransparentBackgroundFilter, mxUtils
 addVertex, mxEditor
 addWaypoint, mxConnectionHandler
 adjustParents, mxCompactTreeLayout
 AFTER_ADD_VERTEX
 afterDecode
 afterEncode
 alert, mxUtils
 aliases, mxCodecRegistry
 align, mxCellOverlay
 ALIGN_BOTTOM, mxConstants
 ALIGN_CELLS
 ALIGN_CENTER, mxConstants
 ALIGN_LEFT, mxConstants
 ALIGN_MIDDLE, mxConstants
 ALIGN_RIGHT, mxConstants
 ALIGN_TOP, mxConstants
 alignCells, mxGraph
 alignRanks, mxCompactTreeLayout
 allowAutoPanning, mxGraph
 allowDanglingEdges, mxGraph
 allowedToRun, mxFastOrganicLayout
 allowEval
 allowHandleBoundsCheck
 allowLoops, mxGraph
 allowNegativeCoordinates, mxGraph
 alreadyConnectedResource, mxGraph
 alt, mxImageBundle
 alternateBounds, mxGeometry
 alternateEdgeStyle, mxGraph
 angleOffset, mxRadialTreeLayout
 animateCell, mxMorphing
 animateChanges
 antiAlias
 API Specification
 appendGraph, mxPrintPreview
 apply
 applyValue, mxCellEditor
 arcTo, mxAbstractCanvas2D
 arcToCurves, mxUtils
 arrangeGroups, mxGraphLayout
 ARROW_BLOCK, mxConstants
 ARROW_BLOCK_THIN, mxConstants
 ARROW_CLASSIC, mxConstants
 ARROW_CLASSIC_THIN, mxConstants
 ARROW_DIAMOND, mxConstants
 ARROW_DIAMOND_THIN, mxConstants
 ARROW_OPEN, mxConstants
 ARROW_OPEN_THIN, mxConstants
 ARROW_OVAL, mxConstants
 ARROW_SIZE, mxConstants
 ARROW_SPACING, mxConstants
 ARROW_WIDTH, mxConstants
 askZoomResource, mxEditor
 aspect, mxStencil
 async, mxXmlRequest
 attachParent, mxCompactTreeLayout
 attr, mxMultiplicity
 Attribute Cycling, mxEditor
 augmentBoundingBox
 autoExpand, mxPopupMenu
 autoExtend, mxGraph
 Autolayout, mxEditor
 autoOrigin, mxPrintPreview
 autoRadius, mxRadialTreeLayout
 autoSaveDelay, mxAutoSaveManager
 autoSaveThreshold, mxAutoSaveManager
 autoSaveThrottle, mxAutoSaveManager
 autoscroll, mxDragSource
 autoScroll, mxGraph
 autoSize, mxCellEditor
 autoSizeCell, mxGraph
 autoSizeCells, mxGraph
 autoSizeCellsOnAdd, mxGraph
 avoid, mxEdgeLabelLayout
-
Specifies if absolute line heights should be used (px) in CSS.
mxCellState.prototype.absoluteOffset
mxPoint that holds the absolute offset.
mxCellState.prototype.absolutePoints
Holds an array of mxPoints that represent the absolute points of an edge.
mxEditor.prototype.actions
Maps from actionnames to actions, which are functions taking the editor and the cell as arguments.
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
Specifies the event name for activate.
Fires after a window is activated.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan,
callback)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
Specifies the event name for add.
Fires if a cell has been added to the selection.
Fires after an undoable edit was added to the history.
Specifies the event name for addCells.
Fires between begin- and endUpdate in addCells.
Specifies the event name for addOverlay.
Fires after an overlay is added in addCellOverlay.
Fires between begin- and endUpdate in addVertex.
Specifies the event name for addVertex.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls,
enabled)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
mxGraph.prototype.addAllEdges = function(cells)
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
mxGraph.prototype.addCell = function(cell,
parent,
index,
source,
target)
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCells = function(cells,
parent,
index,
source,
target)
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
mxGraph.prototype.addEdge = function(edge,
parent,
source,
target,
index)
Adds the edge to the parent and connects it to the given source and target terminals.
mxCellStatePreview.prototype.addEdges = function(state)
mxCodec.prototype.addElement = function(node)
Adds the given element to elements if it has an ID.
mxEdgeHandler.prototype.addEnabled
Specifies if adding bends by shift-click is enabled.
mxSwimlaneManager.prototype.addEnabled
Specifies if newly added cells should be resized to match the size of their existing siblings.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div,
clip)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled,
active)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxPrintPreview.prototype.addPageBreak = function(doc)
Adds a page break to the given document.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value)
Adds a textfield for the given name and value and returns the textfield.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
Fires after a vertex was inserted and selected in addVertex.
Specifies the event name for afterAddVertex.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
Maps from classnames to codecnames.
mxCellOverlay.prototype.align
Holds the horizontal alignment for the overlay.
Constant for bottom vertical alignment.
Specifies the event name for alignCells.
Fires between begin- and endUpdate in alignCells.
Constant for center horizontal alignment.
Constant for left horizontal alignment.
Constant for middle vertical alignment.
Constant for right horizontal alignment.
Constant for top vertical alignment.
mxGraph.prototype.alignCells = function(align,
cells,
param)
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
mxCompactTreeLayout.prototype.alignRanks
Whether or not the tops of cells in each rank should be aligned across the rank
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.allowDanglingEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxFastOrganicLayout.prototype.allowedToRun
Boolean flag that specifies if the layout is allowed to run.
mxDefaultToolbarCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxObjectCodec.allowEval
Static global switch that specifies if expressions in arrays are allowed.
Static global switch that specifies if the use of eval is allowed for evaluating text content and images.
mxStylesheetCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxEdgeHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE Default is true.
mxVertexHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE or if tolerance > 0.
mxGraph.prototype.allowLoops
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
Specifies if the fallback representation should be returned.
mxGeometry.prototype.alternateBounds
Stores alternate values for x, y, width and height in a rectangle.
mxGraph.prototype.alternateEdgeStyle
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxRadialTreeLayout.prototype.angleOffset
The initial offset to compute the angle position.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
This JavaScript library is divided into 8 packages.
mxPrintPreview.prototype.appendGraph = function(graph,
scale,
x0,
y0,
forcePageBreaks,
keepOpen)
Adds the given graph to the existing print preview.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to update the text styles.
mxCellEditor.prototype.applyValue = function(state,
value)
Called in stopEditing if cancel is false to invoke mxGraph.labelChanged.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
Constant for block arrow markers.
Constant for thin block arrow markers.
Constant for classic arrow markers.
Constant for thin classic arrow markers.
Constant for diamond arrow markers.
Constant for thin diamond arrow markers.
Constant for open arrow markers.
Constant for thin open arrow markers.
Constant for oval arrow markers.
Defines the size of the arrowhead in the arrow shape.
Defines the spacing between the arrow shape and its terminals.
Defines the width of the arrow shape.
mxEditor.prototype.askZoomResource
Specifies the resource key for the zoom dialog.
mxStencil.prototype.aspect
Holds the aspect of the shape.
mxXmlRequest.prototype.async
Boolean indicating if the request is asynchronous.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxMultiplicity.prototype.attr
Optional string that specifies the attributename to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxPopupMenu.prototype.autoExpand
Specifies if submenus should be expanded on mouseover.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxPrintPreview.prototype.autoOrigin
Specifies if the origin should be automatically computed based on the top, left corner of the actual diagram contents.
mxRadialTreeLayout.prototype.autoRadius
Specifies if the radios should be computed automatically
mxAutoSaveManager.prototype.autoSaveDelay
Minimum amount of seconds between two consecutive autosaves.
mxAutoSaveManager.prototype.autoSaveThreshold
Minimum amount of ignored changes before an autosave.
mxAutoSaveManager.prototype.autoSaveThrottle
Minimum amount of seconds between two consecutive autosaves triggered by more than autoSaveThreshhold changes within a timespan of less than autoSaveDelay seconds.
mxDragSource.prototype.autoscroll
Specifies if the graph should scroll automatically.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxCellEditor.prototype.autoSize
Specifies if the textarea should be resized while the text is being edited.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Resizes the specified cell to just fit around the its label and/or children
mxGraph.prototype.autoSizeCells
Specifies if the graph should automatically update the cell size after an edit.
mxGraph.prototype.autoSizeCellsOnAdd
Specifies if autoSize style should be applied when cells are added.
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
+
Specifies if absolute line heights should be used (px) in CSS.
mxCellState.prototype.absoluteOffset
mxPoint that holds the absolute offset.
mxCellState.prototype.absolutePoints
Holds an array of mxPoints that represent the absolute points of an edge.
mxEditor.prototype.actions
Maps from actionnames to actions, which are functions taking the editor and the cell as arguments.
mxWindow.prototype.activate = function()
Puts the window on top of all other windows.
Specifies the event name for activate.
Fires after a window is activated.
mxGraphModel.prototype.add = function(parent,
child,
index)
Adds the specified child to the parent at the given index using mxChildChange and adds the change to the current transaction.
mxRectangle.prototype.add = function(rect)
Adds the given rectangle to this rectangle.
add: function(basename,
lan,
callback)
Adds the default and current language properties file for the specified basename.
mxUndoableEdit.prototype.add = function(change)
Adds the specified change to this edit.
Specifies the event name for add.
Fires if a cell has been added to the selection.
Fires after an undoable edit was added to the history.
Specifies the event name for addCells.
Fires between begin- and endUpdate in addCells.
Specifies the event name for addOverlay.
Fires after an overlay is added in addCellOverlay.
Fires between begin- and endUpdate in addVertex.
Specifies the event name for addVertex.
mxDefaultPopupMenu.prototype.addAction = function(menu,
editor,
lab,
icon,
funct,
action,
cell,
parent,
iconCls,
enabled)
Helper method to bind an action to a new menu item.
mxEditor.prototype.addAction = function (actionname,
funct)
Binds the specified actionname to the specified function.
mxDefaultToolbar.prototype.addActionCombo = function(title)
Helper method to invoke mxToolbar.addActionCombo on toolbar using the given title and return the resulting DOM node.
mxDefaultToolbar.prototype.addActionOption = function(combo,
title,
action)
Binds the given action to a option with the specified label in the given combo.
mxEditor.prototype.addActions = function ()
Adds the built-in actions to the editor instance.
addAlias: function(classname,
codecname)
Adds an alias for mapping a classname to a codecname.
mxGraph.prototype.addAllEdges = function(cells)
Returns an array with the given cells and all edges that are connected to a cell or one of its descendants.
mxToolbar.prototype.addBreak = function()
Adds a break to the container.
addButton: function(lab,
funct)
Adds a button to the console using the given label and function.
mxForm.prototype.addButtons = function(okFunct,
cancelFunct)
Helper method to add an OK and Cancel button using the respective functions.
mxGraph.prototype.addCell = function(cell,
parent,
index,
source,
target)
Adds the cell to the parent and connects it to the given source and target terminals.
mxGraphSelectionModel.prototype.addCell = function(cell)
Adds the given mxCell to the selection and fires a select event.
mxGraph.prototype.addCellOverlay = function(cell,
overlay)
Adds an mxCellOverlay for the specified cell.
mxGraph.prototype.addCells = function(cells,
parent,
index,
source,
target)
Adds the cells to the parent at the given index, connecting each cell to the optional source and target terminal.
mxGraphSelectionModel.prototype.addCells = function(cells)
Adds the given array of mxCells to the selection and fires a select event.
mxForm.prototype.addCheckbox = function(name,
value)
Adds a checkbox for the given name and value and returns the textfield.
mxDefaultToolbar.prototype.addCombo = function()
Helper method to invoke mxToolbar.addCombo on toolbar and return the resulting DOM node.
mxForm.prototype.addCombo = function(name,
isMultiSelect,
size)
Adds a combo for the given name and returns the combo.
mxToolbar.prototype.addCombo = function(style)
Adds and returns a new SELECT element using the given style.
mxGraph.prototype.addEdge = function(edge,
parent,
source,
target,
index)
Adds the edge to the parent and connects it to the given source and target terminals.
mxCellStatePreview.prototype.addEdges = function(state)
mxCodec.prototype.addElement = function(node)
Adds the given element to elements if it has an ID.
mxEdgeHandler.prototype.addEnabled
Specifies if adding bends by shift-click is enabled.
mxSwimlaneManager.prototype.addEnabled
Specifies if newly added cells should be resized to match the size of their existing siblings.
mxForm.prototype.addField = function(name,
input)
Adds a new row with the name and the input field in two columns and returns the given input.
addGestureListeners: function(node,
startListener,
moveListener,
endListener)
Adds the given listeners for touch, mouse and/or pointer events.
mxPrintPreview.prototype.addGraphFragment = function(dx,
dy,
scale,
pageNumber,
div,
clip)
Adds a graph fragment to the given div.
mxGraph.prototype.addImageBundle = function(bundle)
Adds the specified mxImageBundle.
mxDefaultToolbar.prototype.addItem = function(title,
icon,
action,
pressed)
Adds a new item that executes the given action in editor.
mxPopupMenu.prototype.addItem = function(title,
image,
funct,
parent,
iconCls,
enabled,
active)
Adds the given item to the given parent item.
mxToolbar.prototype.addItem = function(title,
icon,
funct,
pressedIcon,
style,
factoryMethod)
Adds the given function as an image with the specified title and icon and returns the new image node.
mxDefaultPopupMenu.prototype.addItems = function(editor,
menu,
cell,
evt,
conditions,
item,
parent)
Recursively adds the given items and all of its children into the given menu.
mxToolbar.prototype.addLine = function()
Adds a horizontal line to the container.
addListener: function()
Binds the function to the specified event on the given element.
mxEventSource.prototype.addListener = function(name,
funct)
Binds the specified function to the given event name.
addMarker: function(type,
funct)
Adds a factory method that updates a given endpoint and returns a function to paint the marker onto the given canvas.
mxDefaultToolbar.prototype.addMode = function(title,
icon,
mode,
pressed,
funct)
Creates an item for selecting the given mode in the editor’s graph.
mxToolbar.prototype.addMode = function(title,
icon,
funct,
pressedIcon,
style,
toggle)
Adds a new item to the toolbar.
mxGraph.prototype.addMouseListener = function(listener)
Adds a listener to the graph event dispatch loop.
mxSvgCanvas2D.prototype.addNode = function(filled,
stroked)
Private helper function to create SVG elements
mxVmlCanvas2D.prototype.addNode = function(filled,
stroked)
Adds the current node to the root.
mxObjectCodec.prototype.addObjectValue = function(obj,
fieldname,
value,
template)
Sets the decoded child node as a value of the given object.
mxAbstractCanvas2D.prototype.addOp = function()
Adds the given operation to the path.
mxDefaultToolbar.prototype.addOption = function(combo,
title,
value)
Helper method to invoke mxToolbar.addOption on toolbar and return the resulting DOM node that represents the option.
mxForm.prototype.addOption = function(combo,
label,
value,
isSelected)
Adds an option for the given label to the specified combo.
mxToolbar.prototype.addOption = function(combo,
title,
value)
Adds and returns a new OPTION element inside the given SELECT element.
mxPrintPreview.prototype.addPageBreak = function(doc)
Adds a page break to the given document.
mxEdgeHandler.prototype.addPoint = function(state,
evt)
Adds a control point for the given state and event.
mxEdgeHandler.prototype.addPointAt = function(state,
x,
y)
Adds a control point at the given point.
mxShape.prototype.addPoints = function(c,
pts,
rounded,
arcSize,
close)
Paints the given points with rounded corners.
mxDefaultToolbar.prototype.addPrototype = function(title,
icon,
ptype,
pressed,
insert,
toggle)
Creates an item for inserting a clone of the specified prototype cell into the editor’s graph.
mxGraph.prototype.addSelectionCell = function(cell)
Adds the given cell to the selection.
mxGraph.prototype.addSelectionCells = function(cells)
Adds the given cells to the selection.
mxDefaultToolbar.prototype.addSeparator = function(icon)
Adds a vertical separator using the optional icon.
mxPopupMenu.prototype.addSeparator = function(parent,
force)
Adds a horizontal separator in the given parent item or the top-level menu if no parent is specified.
mxToolbar.prototype.addSeparator = function(icon)
Adds the specifies image as a separator.
addStencil: function(name,
stencil)
Adds the given mxStencil.
addStylename: function(style,
stylename)
Adds the specified stylename to the given style if it does not already contain the stylename.
mxToolbar.prototype.addSwitchMode = function(title,
icon,
funct,
pressedIcon,
style)
Adds a new selectable item to the toolbar.
mxEditor.prototype.addTemplate = function (name,
template)
Adds the specified template under the given name in templates.
mxForm.prototype.addText = function(name,
value,
type)
Adds an input for the given name, type and value and returns it.
mxForm.prototype.addTextarea = function(name,
value,
rows)
Adds a textarea for the given name and value and returns the textarea.
mxSvgCanvas2D.prototype.addTextBackground = function(node,
str,
x,
y,
w,
h,
align,
valign,
overflow)
Background color and border
addTransparentBackgroundFilter: function(node)
Adds a transparent background to the filter of the given node.
mxEditor.prototype.addVertex = function (parent,
vertex,
x,
y)
Adds the given vertex as a child of parent at the specified x and y coordinate and fires an addVertex event.
mxConnectionHandler.prototype.addWaypointForEvent = function(me)
Adds the waypoint for the given event to waypoints.
mxCompactTreeLayout.prototype.adjustParents = function()
Adjust parent cells whose child geometries have changed.
Fires after a vertex was inserted and selected in addVertex.
Specifies the event name for afterAddVertex.
codec.afterDecode = function(dec,
node,
obj)
Restores object state in the child change.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
mxObjectCodec.prototype.afterDecode = function(dec,
node,
obj)
Hook for subclassers to post-process the object after decoding.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterDecode = function(dec,
node,
obj)
Restores the state by assigning the previous value.
codec.afterEncode = function(enc,
obj,
node)
Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).
codec.afterEncode = function(enc,
obj,
node)
Encodes the child recusively and adds the result to the given node.
mxObjectCodec.prototype.afterEncode = function(enc,
obj,
node)
Hook for subclassers to post-process the node for the given object after encoding and return the post-processed node.
alert: function(message)
Displayss the given alert in a new dialog.
Maps from classnames to codecnames.
mxCellOverlay.prototype.align
Holds the horizontal alignment for the overlay.
Constant for bottom vertical alignment.
Specifies the event name for alignCells.
Fires between begin- and endUpdate in alignCells.
Constant for center horizontal alignment.
Constant for left horizontal alignment.
Constant for middle vertical alignment.
Constant for right horizontal alignment.
Constant for top vertical alignment.
mxGraph.prototype.alignCells = function(align,
cells,
param)
Aligns the given cells vertically or horizontally according to the given alignment using the optional parameter as the coordinate.
mxCompactTreeLayout.prototype.alignRanks
Whether or not the tops of cells in each rank should be aligned across the rank
mxGraph.prototype.allowAutoPanning
Specifies if panning via panGraph should be allowed to implement autoscroll if no scrollbars are available in scrollPointToVisible.
mxGraph.prototype.allowDanglingEdges
Specifies if edges with disconnected terminals are allowed in the graph.
mxFastOrganicLayout.prototype.allowedToRun
Boolean flag that specifies if the layout is allowed to run.
mxDefaultToolbarCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxGraphView.prototype.allowEval
Specifies if string values in cell styles should be evaluated using mxUtils.eval.
mxObjectCodec.allowEval
Static global switch that specifies if expressions in arrays are allowed.
Static global switch that specifies if the use of eval is allowed for evaluating text content and images.
mxStylesheetCodec.allowEval
Static global switch that specifies if the use of eval is allowed for evaluating text content.
mxEdgeHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE Default is true.
mxVertexHandler.prototype.allowHandleBoundsCheck
Specifies if the bounds of handles should be used for hit-detection in IE or if tolerance > 0.
mxGraph.prototype.allowLoops
Specifies if loops (aka self-references) are allowed.
mxGraph.prototype.allowNegativeCoordinates
Specifies if negative coordinates for vertices are allowed.
mxGraph.prototype.alreadyConnectedResource
Specifies the resource key for the error message to be displayed in non-multigraphs when two vertices are already connected.
Specifies if the fallback representation should be returned.
mxGeometry.prototype.alternateBounds
Stores alternate values for x, y, width and height in a rectangle.
mxGraph.prototype.alternateEdgeStyle
Specifies the alternate edge style to be used if the main control point on an edge is being doubleclicked.
mxRadialTreeLayout.prototype.angleOffset
The initial offset to compute the angle position.
mxMorphing.prototype.animateCell = function(cell,
move,
recurse)
Animates the given cell state using mxCellStatePreview.moveState.
animateChanges: function(graph,
changes,
done)
Asynchronous animated move operation.
animateChanges: function(graph,
changes)
See mxEffects.animateChanges.
mxCellRenderer.prototype.antiAlias
Anti-aliasing option for new shapes.
mxShape.prototype.antiAlias
Rendering hint for configuring the canvas.
This JavaScript library is divided into 8 packages.
mxPrintPreview.prototype.appendGraph = function(graph,
scale,
x0,
y0,
forcePageBreaks,
keepOpen)
Adds the given graph to the existing print preview.
mxCompactTreeLayout.prototype.apply = function(node,
bounds)
mxImageShape.prototype.apply = function(state)
Overrides mxShape.apply to replace the fill and stroke colors with the respective values from mxConstants.STYLE_IMAGE_BACKGROUND and mxConstants.STYLE_IMAGE_BORDER.
mxShape.prototype.apply = function(state)
Applies the style of the given mxCellState to the shape.
mxText.prototype.apply = function(state)
Extends mxShape to update the text styles.
mxCellEditor.prototype.applyValue = function(state,
value)
Called in stopEditing if cancel is false to invoke mxGraph.labelChanged.
mxAbstractCanvas2D.prototype.arcTo = function(rx,
ry,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Adds the given arc to the current path.
arcToCurves: function(x0,
y0,
r1,
r2,
angle,
largeArcFlag,
sweepFlag,
x,
y)
Converts the given arc to a series of curves.
mxGraphLayout.prototype.arrangeGroups = function(cells,
border,
topBorder,
rightBorder,
bottomBorder,
leftBorder)
Shortcut to mxGraph.updateGroupBounds with moveGroup set to true.
Constant for block arrow markers.
Constant for thin block arrow markers.
Constant for classic arrow markers.
Constant for thin classic arrow markers.
Constant for diamond arrow markers.
Constant for thin diamond arrow markers.
Constant for open arrow markers.
Constant for thin open arrow markers.
Constant for oval arrow markers.
Defines the size of the arrowhead in the arrow shape.
Defines the spacing between the arrow shape and its terminals.
Defines the width of the arrow shape.
mxEditor.prototype.askZoomResource
Specifies the resource key for the zoom dialog.
mxStencil.prototype.aspect
Holds the aspect of the shape.
mxXmlRequest.prototype.async
Boolean indicating if the request is asynchronous.
mxCompactTreeLayout.prototype.attachParent = function(node,
height)
mxMultiplicity.prototype.attr
Optional string that specifies the attributename to be passed to mxUtils.isNode to check if the rule applies to a cell.
mxArrow.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxArrowConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the edge width and markers.
mxConnector.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxShape.prototype.augmentBoundingBox = function(bbox)
Augments the bounding box with the strokewidth and shadow offsets.
mxPopupMenu.prototype.autoExpand
Specifies if submenus should be expanded on mouseover.
mxGraph.prototype.autoExtend
Specifies if the size of the graph should be automatically extended if the mouse goes near the container edge while dragging.
mxPrintPreview.prototype.autoOrigin
Specifies if the origin should be automatically computed based on the top, left corner of the actual diagram contents.
mxRadialTreeLayout.prototype.autoRadius
Specifies if the radios should be computed automatically
mxAutoSaveManager.prototype.autoSaveDelay
Minimum amount of seconds between two consecutive autosaves.
mxAutoSaveManager.prototype.autoSaveThreshold
Minimum amount of ignored changes before an autosave.
mxAutoSaveManager.prototype.autoSaveThrottle
Minimum amount of seconds between two consecutive autosaves triggered by more than autoSaveThreshhold changes within a timespan of less than autoSaveDelay seconds.
mxDragSource.prototype.autoscroll
Specifies if the graph should scroll automatically.
mxGraph.prototype.autoScroll
Specifies if the graph should automatically scroll if the mouse goes near the container edge while dragging.
mxCellEditor.prototype.autoSize
Specifies if the textarea should be resized while the text is being edited.
mxGraph.prototype.autoSizeCell = function(cell,
recurse)
Resizes the specified cell to just fit around the its label and/or children
mxGraph.prototype.autoSizeCells
Specifies if the graph should automatically update the cell size after an edit.
mxGraph.prototype.autoSizeCellsOnAdd
Specifies if autoSize style should be applied when cells are added.
mxEdgeLabelLayout.prototype.avoid = function(edge,
vertex)
Places the labels of the given edges.
@@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General10.html b/docs/js-api/index/General10.html index 6a0f05066..d6bf061f9 100644 --- a/docs/js-api/index/General10.html +++ b/docs/js-api/index/General10.html @@ -29,7 +29,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General11.html b/docs/js-api/index/General11.html index 79a9df5f3..87500983f 100644 --- a/docs/js-api/index/General11.html +++ b/docs/js-api/index/General11.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General12.html b/docs/js-api/index/General12.html index b6f715085..5968d8589 100644 --- a/docs/js-api/index/General12.html +++ b/docs/js-api/index/General12.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General13.html b/docs/js-api/index/General13.html index 37504b947..4c2e1fbb9 100644 --- a/docs/js-api/index/General13.html +++ b/docs/js-api/index/General13.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General14.html b/docs/js-api/index/General14.html index 2d7e16e07..373e2547a 100644 --- a/docs/js-api/index/General14.html +++ b/docs/js-api/index/General14.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General15.html b/docs/js-api/index/General15.html index 941a02364..c7e55445e 100644 --- a/docs/js-api/index/General15.html +++ b/docs/js-api/index/General15.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General16.html b/docs/js-api/index/General16.html index 4203be5a1..9f134eb5c 100644 --- a/docs/js-api/index/General16.html +++ b/docs/js-api/index/General16.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General17.html b/docs/js-api/index/General17.html index 7ca4bf582..d69141fd2 100644 --- a/docs/js-api/index/General17.html +++ b/docs/js-api/index/General17.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General18.html b/docs/js-api/index/General18.html index 5f4fdca42..4c19e8354 100644 --- a/docs/js-api/index/General18.html +++ b/docs/js-api/index/General18.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General19.html b/docs/js-api/index/General19.html index fea4ac226..547ab6bd9 100644 --- a/docs/js-api/index/General19.html +++ b/docs/js-api/index/General19.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General2.html b/docs/js-api/index/General2.html index 20ad702e0..22191d310 100644 --- a/docs/js-api/index/General2.html +++ b/docs/js-api/index/General2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General20.html b/docs/js-api/index/General20.html index 6dc27f432..69c8aacec 100644 --- a/docs/js-api/index/General20.html +++ b/docs/js-api/index/General20.html @@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General3.html b/docs/js-api/index/General3.html index d611b4308..3056c1aa0 100644 --- a/docs/js-api/index/General3.html +++ b/docs/js-api/index/General3.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General4.html b/docs/js-api/index/General4.html index 03a0c3921..9dc22f9ad 100644 --- a/docs/js-api/index/General4.html +++ b/docs/js-api/index/General4.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General5.html b/docs/js-api/index/General5.html index 32fc4b613..a274c699b 100644 --- a/docs/js-api/index/General5.html +++ b/docs/js-api/index/General5.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General6.html b/docs/js-api/index/General6.html index 48b4114d2..2f59caa9d 100644 --- a/docs/js-api/index/General6.html +++ b/docs/js-api/index/General6.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General7.html b/docs/js-api/index/General7.html index 1e8db9a98..4af0281a1 100644 --- a/docs/js-api/index/General7.html +++ b/docs/js-api/index/General7.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General8.html b/docs/js-api/index/General8.html index a3720cefc..e486fa462 100644 --- a/docs/js-api/index/General8.html +++ b/docs/js-api/index/General8.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/General9.html b/docs/js-api/index/General9.html index a9407348f..f870debc6 100644 --- a/docs/js-api/index/General9.html +++ b/docs/js-api/index/General9.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables.html b/docs/js-api/index/Variables.html index 89f3e2689..a0e26f9b5 100644 --- a/docs/js-api/index/Variables.html +++ b/docs/js-api/index/Variables.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables10.html b/docs/js-api/index/Variables10.html index 23cbacdf4..64c251540 100644 --- a/docs/js-api/index/Variables10.html +++ b/docs/js-api/index/Variables10.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables11.html b/docs/js-api/index/Variables11.html index 18634e323..dc2cca600 100644 --- a/docs/js-api/index/Variables11.html +++ b/docs/js-api/index/Variables11.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables12.html b/docs/js-api/index/Variables12.html index 96c4a6260..5ec1ae93d 100644 --- a/docs/js-api/index/Variables12.html +++ b/docs/js-api/index/Variables12.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables13.html b/docs/js-api/index/Variables13.html index c59a2514a..ac98c8fce 100644 --- a/docs/js-api/index/Variables13.html +++ b/docs/js-api/index/Variables13.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables14.html b/docs/js-api/index/Variables14.html index 5227265fe..bd8539fc6 100644 --- a/docs/js-api/index/Variables14.html +++ b/docs/js-api/index/Variables14.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables15.html b/docs/js-api/index/Variables15.html index 66e47120b..05c7d7421 100644 --- a/docs/js-api/index/Variables15.html +++ b/docs/js-api/index/Variables15.html @@ -33,7 +33,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables16.html b/docs/js-api/index/Variables16.html index 3fe8f7152..dd5a9f18b 100644 --- a/docs/js-api/index/Variables16.html +++ b/docs/js-api/index/Variables16.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables2.html b/docs/js-api/index/Variables2.html index 947f2b43c..8b555ff69 100644 --- a/docs/js-api/index/Variables2.html +++ b/docs/js-api/index/Variables2.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables3.html b/docs/js-api/index/Variables3.html index 1406c0bd6..3c48a20de 100644 --- a/docs/js-api/index/Variables3.html +++ b/docs/js-api/index/Variables3.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables4.html b/docs/js-api/index/Variables4.html index 97c342df6..fffdf11e8 100644 --- a/docs/js-api/index/Variables4.html +++ b/docs/js-api/index/Variables4.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables5.html b/docs/js-api/index/Variables5.html index 788af2d55..773a7d01e 100644 --- a/docs/js-api/index/Variables5.html +++ b/docs/js-api/index/Variables5.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables6.html b/docs/js-api/index/Variables6.html index 6ad43bb94..6cfa930a7 100644 --- a/docs/js-api/index/Variables6.html +++ b/docs/js-api/index/Variables6.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables7.html b/docs/js-api/index/Variables7.html index c1034cf16..696abd3c3 100644 --- a/docs/js-api/index/Variables7.html +++ b/docs/js-api/index/Variables7.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables8.html b/docs/js-api/index/Variables8.html index 8eec3065e..c3538c60b 100644 --- a/docs/js-api/index/Variables8.html +++ b/docs/js-api/index/Variables8.html @@ -25,7 +25,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/index/Variables9.html b/docs/js-api/index/Variables9.html index 7806d61a8..352524ddd 100644 --- a/docs/js-api/index/Variables9.html +++ b/docs/js-api/index/Variables9.html @@ -21,7 +21,7 @@ if (browserType) {document.write("
");if (browserV - diff --git a/docs/js-api/javascript/searchdata.js b/docs/js-api/javascript/searchdata.js index bec0a457d..d00617f6c 100644 --- a/docs/js-api/javascript/searchdata.js +++ b/docs/js-api/javascript/searchdata.js @@ -1,34 +1,4 @@ var indexSectionsWithContent = { - "Classes": { - "Symbols": false, - "Numbers": false, - "A": false, - "B": false, - "C": false, - "D": false, - "E": false, - "F": false, - "G": false, - "H": false, - "I": false, - "J": false, - "K": false, - "L": false, - "M": true, - "N": false, - "O": false, - "P": false, - "Q": false, - "R": false, - "S": false, - "T": false, - "U": false, - "V": false, - "W": true, - "X": false, - "Y": false, - "Z": false - }, "Cookies": { "Symbols": false, "Numbers": false, @@ -59,7 +29,7 @@ var indexSectionsWithContent = { "Y": false, "Z": false }, - "General": { + "Events": { "Symbols": false, "Numbers": false, "A": true, @@ -70,24 +40,24 @@ var indexSectionsWithContent = { "F": true, "G": true, "H": true, - "I": true, - "J": true, - "K": true, + "I": false, + "J": false, + "K": false, "L": true, "M": true, "N": true, "O": true, "P": true, - "Q": true, + "Q": false, "R": true, "S": true, "T": true, "U": true, - "V": true, - "W": true, - "X": true, - "Y": true, - "Z": true + "V": false, + "W": false, + "X": false, + "Y": false, + "Z": false }, "Functions": { "Symbols": false, @@ -149,7 +119,37 @@ var indexSectionsWithContent = { "Y": true, "Z": true }, - "Events": { + "Classes": { + "Symbols": false, + "Numbers": false, + "A": false, + "B": false, + "C": false, + "D": false, + "E": false, + "F": false, + "G": false, + "H": false, + "I": false, + "J": false, + "K": false, + "L": false, + "M": true, + "N": false, + "O": false, + "P": false, + "Q": false, + "R": false, + "S": false, + "T": false, + "U": false, + "V": false, + "W": true, + "X": false, + "Y": false, + "Z": false + }, + "General": { "Symbols": false, "Numbers": false, "A": true, @@ -160,24 +160,24 @@ var indexSectionsWithContent = { "F": true, "G": true, "H": true, - "I": false, - "J": false, - "K": false, + "I": true, + "J": true, + "K": true, "L": true, "M": true, "N": true, "O": true, "P": true, - "Q": false, + "Q": true, "R": true, "S": true, "T": true, "U": true, - "V": false, - "W": false, - "X": false, - "Y": false, - "Z": false + "V": true, + "W": true, + "X": true, + "Y": true, + "Z": true }, "Files": { "Symbols": false, diff --git a/docs/known-issues.html b/docs/known-issues.html index 4de038d66..84e6f5596 100644 --- a/docs/known-issues.html +++ b/docs/known-issues.html @@ -10,7 +10,7 @@

Table Of Contents


-

Doctypes

+

Doctypes

VML in IE should only be used in quirks mode. You can use any DOCTYPE in the page and force IE into quirks mode by using the following first two lines in HTML: @@ -39,12 +39,12 @@ and this for details.

-

Support for IE8 standards mode

+

Support for IE8 standards mode

Experimental support for IE8 standards mode is available. The use of quirks mode or IE7 standards mode is recommended for performance reasons.

-

Support for SVG in Microsoft Internet Explorer 9

+

Support for SVG in Microsoft Internet Explorer 9

Please use the following meta tag to enable SVG in IE9:

@@ -55,7 +55,7 @@ Note that IE=5 is required for IE versions prior to 9 to render VML. To use IE7 standards mode IE=5 can be replaced with IE=7.

-

Focus

+

Focus

Firefox and Webkit do not allow to programmatically focus DIVs by default. Since this affects handling of key events, here is a workaround to allow the @@ -83,7 +83,7 @@ if (mxClient.IS_NS) using outline:none CSS property. Also note that the focus is transferred normally if the DIV receives a double click, the above solution is just for single-clicks.

-

Opacity style in HTML labels

+

Opacity style in HTML labels

There is a problem in Webkit (Chrome, Safari) where HTML labels with opacities other than 1 inside foreignObjects are not rendered at the @@ -96,7 +96,7 @@ graph.insertVertex(parent, null, 'Hello' For different CSS opacities inside the label, try using mxClient.NO_FO = true before rendering the graph.

-

Local XHR in Chrome

+

Local XHR in Chrome

Chrome does not load files from the local filesystem via XHR by default. This affects the loading of resources if examples are viewed via the file:// @@ -107,13 +107,13 @@ graph.insertVertex(parent, null, 'Hello' See security section for 5.0.335.0 release here.

-

Clipped labels

+

Clipped labels

For clipped labels (overflow:hidden or mxGraph.isLabelClipped returns true) it is possible that event handling remains as if the label was unclipped. There are several browsers and versions that show this behaviour.

-

Scrollable labels in Webkit

+

Scrollable labels in Webkit

For labels that contain HTML markup with scrollbars in Webkit (Safari and Chrome) you should disable the use of foreignObject to make sure the HTML @@ -125,7 +125,7 @@ graph.insertVertex(parent, null, 'Hello'

Bug Report

-

Local Files

+

Local Files

For enabling the functionality in mxUtils.save and mxUtils.open for reading and writing local files, the security settings for the page need to be @@ -150,7 +150,7 @@ graph.insertVertex(parent, null, 'Hello' problem.) This is only required for local file access and not for production software deployed on a webserver.

-

Rotation

+

Rotation

Support for rotation is limited to the shape display. Text labels, handles, selection bounds and perimeter points are currently not rotated. Support @@ -158,14 +158,14 @@ graph.insertVertex(parent, null, 'Hello' mxGraphics2DCanvas in Java and the mxGdiCanvas in C#. PHP does not currently support rotation in GD.

-

Order of Events in IE

+

Order of Events in IE

When adding listeners for DOM events using mxEvent in IE, which in turn uses attachEvent, then the order in which listeners are invoked for a specific event is not as listeners have been added. This is a known bug. There is no workaround for this problem.

-

Printing

+

Printing

Printing does not work in Firefox 1.5 (bug 314707). However, it works in Firefox 2.0 and later. In Internet Explorer 6 on Windows XP (no @@ -180,7 +180,7 @@ graph.insertVertex(parent, null, 'Hello' is cropped when printed. Please use mxPrintPreview for printing across multiple pages.

-

Statusbar

+

Statusbar

The status bar is used to display information while the DOM is being updated. Therefore, it is not possible to display this information in the @@ -197,7 +197,7 @@ graph.insertVertex(parent, null, 'Hello' configuration setting via about:config, dom.disable_window_status_change to false.

-

Access Denied in IE

+

Access Denied in IE

The latest version of IE does no longer allow to read files from the local filesystem. This means that all files must be loaded from a webserver, or @@ -210,7 +210,7 @@ graph.insertVertex(parent, null, 'Hello' used for development. In production, the page containing the client and all files should be loaded from a webserver via HTTP.

-

Font Rendering

+

Font Rendering

In Firefox (including 2.0), the fonts are sometimes cropped at the end of a line (some pixels missing). On the Mac, the text sometimes completely @@ -221,7 +221,7 @@ graph.insertVertex(parent, null, 'Hello'

Bug Report

-

Label Bounding Box

+

Label Bounding Box

In Firefox, the SVG-function getBBox for vertex- and edgelabels is one step behind zoom. This means, the bounding box for overlapping labels and the @@ -229,7 +229,7 @@ graph.insertVertex(parent, null, 'Hello' after zooming. The display can be updated by panning the graph at least 1 pixel.

-

Linefeeds

+

Linefeeds

Linefeeds are converted into &#xa; at encoding time. However, in shared diagram sessions the linefeeds (\n) are kept. When sending such XML back to @@ -240,7 +240,7 @@ graph.insertVertex(parent, null, 'Hello' mxUtils.getXml(node, linefeed) method. The optional linefeed argument is the string to be used for encoding linefeeds and defaults to &#xa;.

-

Scripts Run Slowly Error in IE

+

Scripts Run Slowly Error in IE

This error (A script on this page is causing internet explorer to run slowly) in IE (all supported versions including IE 7) is triggered by @@ -257,7 +257,7 @@ graph.insertVertex(parent, null, 'Hello' and reboot. Warning: According to the Knowledge Base article, "serious problems might occur if you modify the registry".

-

Body, HTML Borders

+

Body, HTML Borders

When using a style definition for the body or HTML element that makes the border invisible, such as none or 0px for the border-width, then there is a @@ -268,7 +268,7 @@ graph.insertVertex(parent, null, 'Hello' elements are the default setting and the bug does not occur if the border is set to something visible, such as 1px solid black.

-

HTML Labels

+

HTML Labels

HTML labels are supported in SVG browsers via the mxGraph.htmlLabels switch. mxGraph.isHtmlLabel(mxCell) may be overridden to return individual @@ -285,7 +285,7 @@ dispatch loop.

  • In SVG-based browsers, the labels appear on top of all SVG in a separate layer.
  • -

    SVG Container

    +

    SVG Container

    In Firefox, the size of the SVG element is updated to be the size of the graph whenever the graph changes. However, since there is no resize event @@ -295,7 +295,7 @@ layer. without updating the SVG element's size, then the SVG element (and hence the drawing area) will appear smaller than the container of the graph.

    -

    Opera

    +

    Opera

    Support for Opera 9 is currently experimental. There are several known issues, such as no context menu, cropping in SVG canvas, ignored @@ -303,26 +303,26 @@ layer. displaying the context menu in Opera (and on Mac), hold down the shift key while clicking the (left) mouse button.

    -

    Safari

    +

    Safari

    For the context menu to appear in Safari on the Mac, hold down the shift key while clicking the (left) mouse button. Safari does not provide the beforeunload event. Also, vertical labels are not working in Safari on the Mac.

    -

    Webkit (Safari and Google Chrome)

    +

    Webkit (Safari and Google Chrome)

    For some container positions there are artifacts in Safari and Google Chrome when repainting dynamic SVG elements (eg. highlights and previews). This is due to a bug in the Webkit repaint code. Also, the value for text opacity is currently ignored in Webkit.

    -

    PHP and strokewidths

    +

    PHP and strokewidths

    The strokewidth is currently ignored in some GD implementations, as the imagesetthickness function is not working properly.

    -

    Cross-domain AJAX

    +

    Cross-domain AJAX

    Cross-domain AJAX requests are generally not allowed, so make sure all requests are kept within the same domain of the page that contains the @@ -352,7 +352,7 @@ layer. from a different domain (evaluation). This problem goes away when using HTTP.

    -

    Android stock browser virtual keyboard

    +

    Android stock browser virtual keyboard

    In Chrome 18 Mobile a bug prevents the keyboard from appearing after a double tap event. Another tap on the selected text can be used as a workaround. The @@ -361,6 +361,6 @@ layer. handles.


    -© 2006-2016 by JGraph Ltd. +© 2006-2017 by JGraph Ltd. diff --git a/docs/manual.html b/docs/manual.html index 5135c5e39..1b1f07093 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -9,8 +9,8 @@

    mxGraph User Manual – JavaScript Client



    -

    mxGraph Version 3.7.1 – 01. March 2017

    -

    Copyright (c) JGraph Ltd 2006-2016

    +

    mxGraph Version 3.7.2 – 12. April 2017

    +

    Copyright (c) JGraph Ltd 2006-2017


    All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or @@ -37,8 +37,8 @@ trademarks of Sun Microsystems, Inc. in the U.S. and other countries.


    -

    Introduction

    -

    Product Introduction

    +

    Introduction

    +

    Product Introduction

    mxGraph is a JavaScript component that provides features aimed at applications that display interactive diagrams @@ -89,7 +89,7 @@ JavaScript enabled web browser.


    The mxGraph components and their relationships

    -

    What Applications can +

    What Applications can mxGraph be used for?

    Example applications for a graph visualization library include: @@ -100,7 +100,7 @@ electronic circuits, VLSI, CAD, financial and social networks, data mining, biochemistry, ecological cycles, entity and cause-effect relationships and organisational charts.

    -

    How is mxGraph deployed?

    +

    How is mxGraph deployed?

    In the typical thin-client environment, mxGraph is split into the client-side JavaScript library and a server-side library in one of the @@ -113,7 +113,7 @@ ability to run JavaScript to be enabled.

    html page that embeds the mxGraph library, as well as a simple application to invoke the library's functionality.

    -

    mxGraph Technologies

    +

    mxGraph Technologies

    mxGraph uses JavaScript for the client-side functionality on the browser. The JavaScript code in turn uses the underlying vector graphics @@ -129,14 +129,14 @@ handling and DOMs. Browsers differ in their implementation of these two major browser functionalities, mxGraph exposes a constant API over all browsers and adapts to the inconsistencies behind the scenes.

    -

    mxGraph Licensing

    +

    mxGraph Licensing

    The JavaScript client of mxGraph is licensed under the Apache 2.0 license For detailed licensing questions you are always advised to consult a legal professional.

    -

    What is a Graph?

    +

    What is a Graph?

    Graph visualization is based on the mathematical theory of networks, graph theory. If you're seeking JavaScript bar charts, @@ -157,7 +157,7 @@ edges, vertices or groups.

    useful background when dealing with graphs, they are listed in the Appendices if of interest to you.

    -

    Graph Visualization

    +

    Graph Visualization

    Visualization is the process of creating a useful visual representation of a graph. The scope of visualization functionality is @@ -172,7 +172,7 @@ vertices and edges.

    Graph Visualization of a transport system. (c) Tourizm Maps 2003, http://www.world-maps.co.uk


    -

    Graph Interaction

    +

    Graph Interaction

    Interaction is the way in which an application using mxGraph can alter the graph model through the web application GUI. mxGraph supports @@ -194,7 +194,7 @@ allows the possibility of off-line use.


    Selection shading while selecting an area through mouse drag


    -

    Graph Layouts

    +

    Graph Layouts

    Graph cells can be drawn anywhere in a simple application, including on top of one another. Certain applications need to present @@ -224,7 +224,7 @@ the layouting entirely on the client, while the same layout implementation in Java on the server-side enables the option to offload some processing to the server, if required.

    -

    Graph Analysis

    +

    Graph Analysis

    Analysis of graphs involves the application of algorithms determining certain details about the graph structure, for example, @@ -240,9 +240,9 @@ writing.

    Shortest Path Analysis


    -

    About this Manual

    +

    About this Manual

    -

    Pre-requisites for mxGraph

    +

    Pre-requisites for mxGraph

    To benefit fully from this manual you will need to have a reasonable understanding of web applications and of the server @@ -260,48 +260,24 @@ software design.

    language that the browser uses, such as SVG or HTML canvas. mxGraph abstracts the description of the visual component into one API.

    -

    Getting Started

    +

    Getting Started

    -

    The mxGraph Package

    +

    The mxGraph Package

    -

    Obtaining mxGraph

    +

    Obtaining mxGraph

    -

    To evaluate mxGraph:

    +

    +mxGraph is available from the GitHub project. +Released versions are tagged "va.b.c", where a, b and c are version number parts following +semantic versioning. +

    -
      -
    • Navigate to the evaluation download - request page.
    • -
    • Please note that we require a commercial or organizational email - address to process your request. We're not able to sell mxGraph to - individuals.
    • -
    • When you receive the download details, unzip to your preferred - location.
    • -
    • Within the package under javascript/examples you will find a - number of html files that demonstrate how to invoke the library within - a web page.
    • -
    • To create your own example, copy the basic structure of the - examples and add your extensions/changes to the onload invoked - JavaScript main function.
    • -
    • The evaluation copy is valid for 90 days after download. If - you wish to continue evaluation please use the contact form.
    • -
    • For commercial evaluations looking for commercial grade - evaluation support, again, please use the contact form.
    • -
    +

    +Each formal release is also available as .zip or .tar.gz on the +mxGraph releases page. +

    -

    There is no functional API difference between the evaluation and full -version of mxGraph.

    - -

    Installing mxGraph

    - -

    Both the evaluation and full versions of mxGraph are delivered as -zip files. Unzip the package to your preferred location, a folder named -mxGraph will be created there, this folder is the root folder of the -mxGraph installation.

    - -

    Project structure and build +

    Project structure and build options

    Once unzipped you will be presented with a number of files and @@ -384,7 +360,7 @@ directories in the installation root.

    Table: Project Directory Structure


    -

    npm

    +

    npm

    mxGraph is also available via the npm package manager. To use mxGraph as a depedency, use npm install:

    @@ -408,7 +384,7 @@ directories in the installation root.

    var mxEvent = mxgraph.mxEvent;
     mxEvent.disableContextMenu(container);
    -

    JavaScript and Web Applications

    +

    JavaScript and Web Applications

    Web applications, specifically the use of JavaScript to attempt to emulate desktop application-like behaviour in web browsers, is still @@ -438,9 +414,9 @@ complete package for your JavaScript development needs, there are a number of vendors providing the individual components you need to produce JavaScript applications effectively.

    -

    Third-Party JavaScript Frameworks

    +

    Third-Party JavaScript Frameworks

    -

    Native JavaScript Frameworks +

    Native JavaScript Frameworks and Libraries

    Rather than list and compare every JavaScript framework, please @@ -468,7 +444,7 @@ libraries that provide features such as animation as distinct, independent blocks, that you can use without being tied into the overall design.

    -

    Integration of mxGraph +

    Integration of mxGraph and JavaScript frameworks

    This area is often misunderstood, put simply, there is no integration @@ -489,7 +465,7 @@ analysis.

    Integration of the mxGraph back-end functionality, that which sits at the server-side is the subject of a later chapter.

    -

    Extending mxGraph in JavaScript

    +

    Extending mxGraph in JavaScript

    In JavaScript, there are various ways of mapping the Object Oriented paradigm to language constructs. mxGraph uses a particular @@ -528,7 +504,7 @@ assigning the prototype to an instance of the superclass, eg.

    The latter rule is applied so that the type of an object can be retrieved via the name of it’s constructor using mxUtils.getFunctionName(obj.constructor).

    -
    Constructor
    +
    Constructor

    For subclassing in mxGraph, the same mechanism should be applied. For example, for subclassing the mxGraph class, first a constructor must @@ -560,7 +536,7 @@ codec.template = new MyGraph(); mxCodecRegistry.register(codec); -

    Functions
    +
    Functions

    In the prototype for MyGraph, functions of mxGraph can be extended as follows.

    @@ -601,7 +577,7 @@ MyGraph.prototype.getXml = function() } -
    Fields
    +
    Fields

    Likewise, a new field is declared and defined as follows:

     MyGraph.prototype.myField = ‘Hello, World!’;
    @@ -625,9 +601,9 @@ var graph = new MyGraph(container);
     

    -

    General JavaScript Development

    +

    General JavaScript Development

    -

    JavaScript Obfuscation

    +

    JavaScript Obfuscation

    By default, when you deliver JavaScript to a browser client, you deliver the entire source to that JavaScript. That JavaScript is then interpreted and run on the browser. It is not possible to encrypt the @@ -643,14 +619,14 @@ be able to access the source after decryption.

    and I/O would need to understand the obfuscation at both communication ends.

    -

    Namespaces

    +

    Namespaces

    The concept of namespaces does not exist in standised JavaScript, so take great care when creating new class names. In mxGraph, all of the classes begin with the prefix “mx-”, to avoid clashes or overriding prototypes unintentionally.
    -

    Hello World!

    +

    Hello World!

    Hello World in mxGraph consists of a simple client-side example that displays two connected vertices with the labels “Hello” and “World!”. The example demonstrates the following things: @@ -802,7 +778,7 @@ can consider a template for building a basic mxGraph application:

    file is in the example. -

    mxGraph Deployment and Debugging

    +

    mxGraph Deployment and Debugging

    There are two versions of the mxclient.js file, one for production use and a second for development/debugging use. javascript/src/js/mxClient.js is @@ -840,11 +816,11 @@ user on most modern networks, but there might be situations where the smaller version would be preferable.


    -

    mxGraph Model and Cells

    +

    mxGraph Model and Cells

    -

    Core mxGraph architecture

    +

    Core mxGraph architecture

    -

    The mxGraph Model

    +

    The mxGraph Model

    The mxGraph model is the core model that describes the structure of the graph, the class is called mxGraphModel and is found within the @@ -927,7 +903,7 @@ debugging.

    Ignore the reference to the parent cell for now, that will be explained later in this chapter.

    -

    The Transaction Model

    +

    The Transaction Model

    The sub-transaction in the blue block above refers to the fact that transactions can be nested. That is, there is a counter in the @@ -967,7 +943,7 @@ graph change has occurred. The change event contains complete information as to what has altered (see later section on Events for more details).

    -

    The Model Change Methods

    +

    The Model Change Methods

    Below is a list of the methods that alter the graph model and should be placed, directly or indirectly, with the scope of an update:

    @@ -1001,7 +977,7 @@ common place in the architecture where these attributes can be set on a global basis. Remember, this is a graph visualization library, the visualization part is the core functionality.

    -
    Inserting Cells
    +
    Inserting Cells

    The three graph cells created in the HelloWorld application are two vertices and one edge connecting the vertices. If @@ -1074,7 +1050,7 @@ and target parameters define the vertices to which the edge is connected. Note that the source and target vertices should already have been inserted into the model.

    -

    mxCell

    +

    mxCell

    mxCell is the cell object for both vertices and edges. mxCell duplicates many of the functions available in the model. The key @@ -1089,7 +1065,7 @@ you encounter a specific problem with this mechanism.

    constructor, a value (user object), a geometry and a style. We will now explore these 3 concepts before returning to the cell.

    -

    Styles

    +

    Styles

    The concept of styles and stylesheets in conceptually similar to CSS stylesheets, though note that CSS are actually used in mxGraph, but @@ -1116,7 +1092,7 @@ look back to the helloworld example, no style was passed into the optional style parameter of insertVertex or insertEdge. In this case the default style would be used for those cells.

    -
    Setting the Style of a Cell
    +
    Setting the Style of a Cell

    If you wanted to specify a style other than the default for a cell, you must pass that new style either to the cell when it is created @@ -1178,7 +1154,7 @@ and the default style for that cell type.

    -
    Creating a New Global Style
    +
    Creating a New Global Style

    To create the ROUNDED global style described above, you can follow this template to create a style and register it with mxStyleSheet:

    @@ -1191,7 +1167,7 @@ style[mxConstants.STYLE_FONTCOLOR]= '#774400'; graph.getStylesheet().putCellStyle('ROUNDED',style); -

    Geometry

    +

    Geometry

    In the helloworld example we saw the position and size of the vertices passed into the insertVertex function. The coordinate system in @@ -1215,7 +1191,7 @@ points is sometimes referred to as edge routing.

    There are two more important additional concepts in geometry, relative positioning and offsets

    -
    Relative Positioning
    +
    Relative Positioning

    By default, the x and y position of a vertex is the offset of the top left point of the bounding rectangle of the parent to the top left @@ -1272,7 +1248,7 @@ functions in mxGraph, they enable easy changing of the default behaviour. You should try to use the mxGraph class API as much as possible to provide this benefit in your applications.

    -
    Offsets
    +
    Offsets

    The offset field in mxGeometry is an absolute x,y offset applied to the cell label. In the case of edge labels, the @@ -1291,7 +1267,7 @@ in the bounds array, within a begin/end update call.

    -

    User Objects

    +

    User Objects

    The User object is what gives mxGraph diagrams a context, it stores the business logic associated with a visual cell. In the @@ -1364,7 +1340,7 @@ receives the visual and business logic from a sever, may allow editing of both, then transmits both back to the server for persistence and/or execution.

    -

    Cell Types

    +

    Cell Types

    As described previously, mxGraph is the primary API for using this library and the same concept applies to cells. One basic state of the cell not exposed on the graph is whether a cell is a vertex or an @@ -1380,7 +1356,7 @@ changing the type. Also, be aware that the geometry object variable means different things to vertices and edges. Generally, it is not recommended to change a cell type at runtime.

    -

    Group Structure

    +

    Group Structure

    Grouping, within mxGraph, is the concept of logically associating cells with one another. This is commonly referred to as the concept of sub-graphs in many graph toolkits. Grouping involves one or more @@ -1434,7 +1410,7 @@ requirement of additional cells. We include it below for correctness, but in later group diagrams it will be omitted.

    -


    The group structure of the helloworld example


    @@ -1478,7 +1454,7 @@ occurs within a begin/end update.
    -

    Complexity Management

    +

    Complexity Management

    There are two primary reasons to control the number of cells displayed at any one time. The first is performance, drawing more and @@ -1488,7 +1464,7 @@ a certain amount of information. All of the concepts associated with grouping, listed above, can be used to reduce the complexity of information on the screen for the user.

    -

    Folding

    +

    Folding

    Folding is the collective term we use for expanding and collapsing groups. We say a cell is folded by making it's child vertices @@ -1557,7 +1533,7 @@ the user, each one representing their children cells logically. You might then provide a mechanism to zoom into a group, which expands it in the process. You might also provide drill-down/step-up, explained next.

    -

    Sub-Graphs, Drill-Down / +

    Sub-Graphs, Drill-Down / Step-Up

    Sometimes, as an alternative to expand/collapse, or possibly in @@ -1613,7 +1589,7 @@ children of that parent appear in the display as the complete graph.

    which invokes mxGraph.exitGroup, brings you back to the original 3 vertex top level graph.

    -

    Layering and Filtering

    +

    Layering and Filtering

    In mxGraph, like many graphical applications, there is the concept of z-order. That is, the order of objects as you look into the @@ -1674,6 +1650,6 @@ operation.



    -© 2006-2016 by JGraph Ltd. +© 2006-2017 by JGraph Ltd. - \ No newline at end of file + diff --git a/docs/manual_javavis.html b/docs/manual_javavis.html index 508d90ad9..f68dab82e 100644 --- a/docs/manual_javavis.html +++ b/docs/manual_javavis.html @@ -9,8 +9,8 @@

    JGraphX (JGraph 6) User Manual



    -

    JGraphX Version 3.7.1 – 01. March 2017

    -

    Copyright (c) JGraph Ltd 2006-2016

    +

    JGraphX Version 3.7.2 – 12. April 2017

    +

    Copyright (c) JGraph Ltd 2006-2017


    All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or @@ -37,8 +37,8 @@ trademarks of Sun Microsystems, Inc. in the U.S. and other countries.


    -

    Introduction

    -

    Product Family Introduction

    +

    Introduction

    +

    Product Family Introduction

    mxGraph is a product family of libraries, written in a variety of technologies, that provide features aimed at applications that display @@ -82,7 +82,7 @@ part of your application, you must understand how applications are constructed in that technology and how to program in the language(s) of that technology.

    -

    Which Version of mxGraph to use?

    +

    Which Version of mxGraph to use?

    When deciding which of the technology implementations of mxGraph to use, often the choice is determined by the technology of the @@ -98,7 +98,7 @@ allow other users to view and edit processes and automatically execute the process on the server using business logic associated with the visual information.

    -

    JavaScript

    +

    JavaScript

    The JavaScript version of mxGraph mainly comprises one JavaScript file that contains all of the mxGraph functionality. This is loaded into @@ -139,7 +139,7 @@ JavaScript enabled web browser.

    application requirements usually provides a clearly advantage to using one of these technologies.

    -

    JGraphX - Java Swing Library

    +

    JGraphX - Java Swing Library

    This user manual is for the Java Swing library version of mxGraph. This version is called JGraphX, the reason for this being the @@ -163,7 +163,7 @@ unless otherwise specified. The package name of JGraphX is com.mxgraph.* and the main class mxGraph, in common with the other flavours of mxGraph.

    -

    What Applications can +

    What Applications can JGraphX be used for?

    Example applications for a graph visualization library include: @@ -174,7 +174,7 @@ electronic circuits, VLSI, CAD, financial and social networks, data mining, biochemistry, ecological cycles, entity and cause-effect relationships and organisational charts.

    -

    JGraphX Licensing

    +

    JGraphX Licensing

    JGraphX is licensed under the modern, 3 clause BSD license. The @@ -185,7 +185,7 @@ cannot understand it, do not use the software.

    For detailed licensing questions you are always advised to consult a legal professional.

    -

    What is a Graph?

    +

    What is a Graph?

    Graph visualization is based on the mathematical theory of networks, graph theory. If you're seeking JavaScript bar charts, @@ -206,7 +206,7 @@ edges, vertices or groups.

    useful background when dealing with graphs, they are listed in the Appendices if of interest to you.

    -

    Graph Visualization

    +

    Graph Visualization

    Visualization is the process of creating a useful visual representation of a graph. The scope of visualization functionality is @@ -221,7 +221,7 @@ labels.

    Graph Visualization of a transport system. (c) Tourizm Maps 2003, http://www.world-maps.co.uk


    -

    Graph Interaction

    +

    Graph Interaction

    Interaction is the way in which an application using JGraphX can alter the graph model through the web application GUI. JGraphX supports @@ -233,7 +233,7 @@ flexibility of how interaction can be programmed.


    Selection shading while selecting an area through mouse drag


    -

    Graph Layouts

    +

    Graph Layouts

    Graph cells can be drawn anywhere in a simple application, including on top of one another. Certain applications need to present @@ -257,7 +257,7 @@ apply the layout when editing is complete.

    layouts which will fit most layout needs. See the later section on using the layouts for more information.

    -

    Graph Analysis

    +

    Graph Analysis

    Analysis of graphs involves the application of algorithms determining certain details about the graph structure, for example, @@ -273,9 +273,9 @@ writing.

    Shortest Path Analysis


    -

    About this Manual

    +

    About this Manual

    -

    Pre-requisites for JGraphX

    +

    Pre-requisites for JGraphX

    To benefit fully from this manual you will need to have a reasonable understanding of Java and at least a high-level overview of Swing. If you @@ -284,7 +284,7 @@ many good books on the subject available. A useful free introduction is the Sun Java Tutorial.

    -

    Getting Additional help

    +

    Getting Additional help

    There is a 'jgraphx' tag on Stackoverflow, but please ensure you understand the @@ -293,16 +293,16 @@ on SO you must 1) have a question , 2) that question be programming related and 3) use the 'jgraphx' tag.


    -

    Getting Started

    +

    Getting Started

    -

    The JGraphX Web Site

    +

    The JGraphX Web Site

    To start, navigate to the JGraphX project on Github. The README on this page answers the high level FAQ type questions about the project.

    -

    Project structure and build +

    Project structure and build options

    Once you have the project source locally you will be presented with a number @@ -361,9 +361,9 @@ of files and directories in the root of the install.

    Table: Project Directory Structure


    -

    Core JGraphX architecture

    +

    Core JGraphX architecture

    -

    The JGraphX Model

    +

    The JGraphX Model

    The mxGraph model is the core model that describes the structure of the graph, the class is called mxGraphModel and is found within the @@ -446,7 +446,7 @@ debugging.

    Ignore the reference to the parent cell for now, that will be explained later in this chapter.

    -

    The Transaction Model

    +

    The Transaction Model

    The sub-transaction in the blue block above refers to the fact that transactions can be nested. That is, there is a counter in the @@ -486,7 +486,7 @@ graph change has occurred. The change event contains complete information as to what has altered (see later section on Events for more details).

    -

    The Model Change Methods

    +

    The Model Change Methods

    Below is a list of the methods that alter the graph model and should be placed, directly or indirectly, with the scope of an update:

    @@ -520,7 +520,7 @@ common place in the architecture where these attributes can be set on a global basis. Remember, this is a graph visualization library, the visualization part is the core functionality.

    -
    Inserting Cells
    +
    Inserting Cells

    The three graph cells created in the HelloWorld application are two vertices and one edge connecting the vertices. If @@ -593,7 +593,7 @@ and target parameters define the vertices to which the edge is connected. Note that the source and target vertices should already have been inserted into the model.

    -

    mxCell

    +

    mxCell

    mxCell is the cell object for both vertices and edges. mxCell duplicates many of the methods available in the model. The key @@ -608,7 +608,7 @@ you encounter a specific problem with this mechanism.

    constructor, a value (user object), a geometry and a style. We will now explore these 3 concepts before returning to the cell.

    -

    Styles

    +

    Styles

    The concept of styles and stylesheets in conceptually similar to CSS stylesheets. Open up the @@ -634,7 +634,7 @@ look back to the helloworld example, no style was passed into the optional style parameter of insertVertex or insertEdge. In this case the default style would be used for those cells.

    -
    Setting the Style of a Cell
    +
    Setting the Style of a Cell

    If you wanted to specify a style other than the default for a cell, you must pass that new style either to the cell when it is created @@ -696,7 +696,7 @@ and the default style for that cell type.

    -
    Creating a New Global Style
    +
    Creating a New Global Style

    To create the ROUNDED global style described above, you can follow this template to create a style and register it with mxStyleSheet:

    @@ -710,7 +710,7 @@ style.put(mxConstants.STYLE_FONTCOLOR, "#774400"); stylesheet.putCellStyle("ROUNDED", style); -

    Geometry

    +

    Geometry

    In the helloworld example you can see the position and size of the vertices passed into the insertVertex method. The coordinate system in @@ -734,7 +734,7 @@ points is sometimes referred to as edge routing.

    There are two more important additional concepts in geometry, relative positioning and offsets

    -
    Relative Positioning
    +
    Relative Positioning

    By default, the x and y position of a vertex is the offset of the top left point of the bounding rectangle of the parent to the top left @@ -791,7 +791,7 @@ methods in mxGraph, they enable easy changing of the default behaviour. You should try to use the mxGraph class API as much as possible to provide this benefit in your applications.

    -
    Offsets
    +
    Offsets

    The offset field in mxGeometry is an absolute x,y offset applied to the cell label. In the case of edge labels, the @@ -810,7 +810,7 @@ in the bounds array, within a begin/end update call.

    -

    User Objects

    +

    User Objects

    The User object is what gives JGraphX diagrams a context, it stores the business logic associated with a visual cell. In the @@ -863,7 +863,7 @@ receives the visual and business logic from a sever, may allow editing of both, then transmits both back to the server for persistence and/or execution.

    -

    Cell Types

    +

    Cell Types

    As described previously, mxGraph is the primary API for using this library and the same concept applies to cells. One basic state of the cell not exposed on the graph is whether a cell is a vertex or an @@ -879,7 +879,7 @@ changing the type. Also, be aware that the geometry object variable means different things to vertices and edges. Generally, it is not recommended to change a cell type at runtime.

    -

    Group Structure

    +

    Group Structure

    Grouping, within JGraphX, is the concept of logically associating cells with one another. This is commonly referred to as the concept of sub-graphs in many graph toolkits. Grouping involves one or more @@ -931,7 +931,7 @@ requirement of additional cells. We include it below for correctness, but in later group diagrams it will be omitted.

    -


    The group structure of the helloworld example


    @@ -975,7 +975,7 @@ occurs within a begin/end update.
    -

    Complexity Management

    +

    Complexity Management

    There are two primary reasons to control the number of cells displayed at any one time. The first is performance, drawing more and @@ -985,7 +985,7 @@ a certain amount of information. All of the concepts associated with grouping, listed above, can be used to reduce the complexity of information on the screen for the user.

    -

    Folding

    +

    Folding

    Folding is the collective term we use for expanding and collapsing groups. We say a cell is folded by making it's child vertices @@ -1054,7 +1054,7 @@ the user, each one representing their children cells logically. You might then provide a mechanism to zoom into a group, which expands it in the process. You might also provide drill-down/step-up, explained next.

    -

    Sub-Graphs, Drill-Down / +

    Sub-Graphs, Drill-Down / Step-Up

    Sometimes, as an alternative to expand/collapse, or possibly in @@ -1110,7 +1110,7 @@ children of that parent appear in the display as the complete graph.

    which invokes mxGraph.exitGroup, brings you back to the original 3 vertex top level graph.

    -

    Layering and Filtering

    +

    Layering and Filtering

    In JGraphX, like many graphical applications, there is the concept of z-order. That is, the order of objects as you look into the @@ -1166,18 +1166,18 @@ operation.


    -

    Visual Customization

    +

    Visual Customization

    -

    Core JGraphX Visuals

    +

    Core JGraphX Visuals

    Within the core JGraphX library, by that we mean we exclude the editor functionality, which provides application level features, there are a number of mechanisms to define the appearance of cells. These split into vertex customizations and edge customizations

    -

    Customizing Vertices

    +

    Customizing Vertices

    -

    Stencils

    +

    Stencils

    Stencils are sets of pre-defined vector shapes that can be added at run-time to JGraphX without the requirement to programmatically define how they are diff --git a/docs/php-api/javascript/searchdata.js b/docs/php-api/javascript/searchdata.js index ea6bdbb3e..3bcc2675e 100644 --- a/docs/php-api/javascript/searchdata.js +++ b/docs/php-api/javascript/searchdata.js @@ -1,4 +1,94 @@ var indexSectionsWithContent = { + "Functions": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": true, + "C": true, + "D": true, + "E": true, + "F": true, + "G": true, + "H": false, + "I": true, + "J": false, + "K": false, + "L": true, + "M": true, + "N": false, + "O": true, + "P": true, + "Q": false, + "R": true, + "S": true, + "T": true, + "U": true, + "V": true, + "W": true, + "X": false, + "Y": false, + "Z": false + }, + "Files": { + "Symbols": false, + "Numbers": false, + "A": true, + "B": false, + "C": false, + "D": false, + "E": false, + "F": false, + "G": false, + "H": false, + "I": false, + "J": false, + "K": false, + "L": false, + "M": true, + "N": false, + "O": false, + "P": false, + "Q": false, + "R": false, + "S": false, + "T": false, + "U": false, + "V": false, + "W": false, + "X": false, + "Y": false, + "Z": false + }, + "Interfaces": { + "Symbols": false, + "Numbers": false, + "A": false, + "B": false, + "C": false, + "D": false, + "E": false, + "F": false, + "G": false, + "H": false, + "I": false, + "J": false, + "K": false, + "L": false, + "M": true, + "N": false, + "O": false, + "P": false, + "Q": false, + "R": false, + "S": false, + "T": false, + "U": false, + "V": false, + "W": false, + "X": false, + "Y": false, + "Z": false + }, "Classes": { "Symbols": false, "Numbers": false, @@ -88,95 +178,5 @@ var indexSectionsWithContent = { "X": true, "Y": true, "Z": false - }, - "Functions": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": true, - "C": true, - "D": true, - "E": true, - "F": true, - "G": true, - "H": false, - "I": true, - "J": false, - "K": false, - "L": true, - "M": true, - "N": false, - "O": true, - "P": true, - "Q": false, - "R": true, - "S": true, - "T": true, - "U": true, - "V": true, - "W": true, - "X": false, - "Y": false, - "Z": false - }, - "Interfaces": { - "Symbols": false, - "Numbers": false, - "A": false, - "B": false, - "C": false, - "D": false, - "E": false, - "F": false, - "G": false, - "H": false, - "I": false, - "J": false, - "K": false, - "L": false, - "M": true, - "N": false, - "O": false, - "P": false, - "Q": false, - "R": false, - "S": false, - "T": false, - "U": false, - "V": false, - "W": false, - "X": false, - "Y": false, - "Z": false - }, - "Files": { - "Symbols": false, - "Numbers": false, - "A": true, - "B": false, - "C": false, - "D": false, - "E": false, - "F": false, - "G": false, - "H": false, - "I": false, - "J": false, - "K": false, - "L": false, - "M": true, - "N": false, - "O": false, - "P": false, - "Q": false, - "R": false, - "S": false, - "T": false, - "U": false, - "V": false, - "W": false, - "X": false, - "Y": false, - "Z": false } } \ No newline at end of file diff --git a/docs/tutorial.html b/docs/tutorial.html index 3806e1f9a..abedd832b 100644 --- a/docs/tutorial.html +++ b/docs/tutorial.html @@ -10,7 +10,7 @@

    Table Of Contents


    -

    Overview

    +

    Overview

    The mxGraph package contains a client software, written in JavaScript, and a series of backends for various languages. The client software is a graph component with @@ -45,7 +45,7 @@

  • .NET
  • PHP
  • -

    Hello, World!

    +

    Hello, World!

    The Hello, World! example of mxGraph ships in a single HTML file, @@ -55,7 +55,7 @@ filesystem or on a webserver. To display the source of the example press Control-U in Firefox or click Page, View Source in Internet Explorer.

    -

    Library

    +

    Library

    The HEAD part of the page contains the JavaScript code and dependencies. The library is loaded using the following code. The mxBasePath @@ -75,7 +75,7 @@ should use in production. During development, if you wish to change mxGraph sources, use the bootstrapped mxClient.js file.

    -

    Browser Check

    +

    Browser Check

    The next script tag in the HEAD part of the page contains the Hello, World! example code. The first part of the code checks if the @@ -105,7 +105,7 @@ function main(container) } ... -

    Container

    +

    Container

    For the JavaScript to actually render the graph, the page contains an DOM node which will display the graph. This @@ -119,7 +119,7 @@ function main(container) If you want the container to have scrollbars, use the overflow:auto CSS directive instead of overflow:hidden in the style of the container.

    -

    Graph

    +

    Graph

    The code constructs an empty graph model and passes the container and the empty model to the graph constructor. For this example, @@ -132,7 +132,7 @@ var graph = new mxGraph(container, model);

    If you want the graph to be read-only you can use graph.setEnabled(false).

    -

    Vertices and Edges

    +

    Vertices and Edges

    To insert vertices and edges, beginUpdate and endUpdate are used to create a transaction. The endUpdate should always go @@ -173,7 +173,7 @@ finally only improve the display performance, but it is also used to mark the boundaries for undoable changes when undo/redo is used.

    -

    Graphs

    +

    Graphs

    Instantiate mxGraph in order to create a graph. This is the central class in the API. @@ -188,7 +188,7 @@ finally var node = document.getElementById('id-of-graph-container'); var graph = new mxGraph(node); -

    Model

    +

    Model

    mxCell defines the elements of the graph model, which is implemented by @@ -225,7 +225,7 @@ var root = new mxCell(); root.insert(new mxCell()); var model = new mxGraphModel(root); -

    Stylesheet

    +

    Stylesheet

    The appearance of the cells in a graph is defined by the stylesheet, which is an instance of @@ -248,7 +248,7 @@ vertexStyle[mxConstants.ROUNDED] = true; var edgeStyle = graph.getStylesheet().getDefaultEdgeStyle(); edgeStyle[mxConstants.STYLE_EDGE] = mxEdgeStyle.TopToBottom; -

    Styles

    +

    Styles

    The style information for a cell is stored in cell.style. The style is part of the cell's state and is normally changed via @@ -275,7 +275,7 @@ rounded;strokeColor=red;fillColor=green var v1 = graph.insertVertex(parent, null, 'Hello', 20, 20, 80, 30, 'rounded;strokeColor=red;fillColor=green'); -

    Appearance

    +

    Appearance

    In certain cases you may want to override specific attributes based on dynamic properties of a cell (ie. it's value, aka. userobject), such as @@ -310,7 +310,7 @@ mxGraph.prototype.getImage = function(state) invoke view.invalidate(cell) for each cell who's image has changed, and call view.validate to update the display.

    -

    Editors

    +

    Editors

    Instantiate mxEditor in order to create an editor. This is the central class in the editor @@ -335,7 +335,7 @@ var editor = new mxEditor(config); done at startup time to configure the editor, graph, model, toolbar, popupmenus etc using the I/O subsystem.

    -

    CSS

    +

    CSS

    The CSS stylesheet contains the style definitions for various elements of the user interface, such as the rubberband selection, @@ -354,7 +354,7 @@ var editor = new mxEditor(config); <stylesheet name="examples/editors/css/process.css"/> ... -

    Templates

    +

    Templates

    To add new cell types, create a template in the templates array section of the model in the config file (mxEditor/mxGraph/mxGraphModel/Array[as=templates]) @@ -386,7 +386,7 @@ var editor = new mxEditor(config); and mxCell.valueChanged to handle in-place editing by storing the new text value in the respective attribute(s).

    -

    Toolbar

    +

    Toolbar

    To use the template in the graph, a toolbar item must be added which refers to the template in the mxDefaultToolbar section of the config file @@ -411,7 +411,7 @@ var editor = new mxEditor(config); in mxResources, then the attribute value is used as the label.

    -

    Input/Output

    +

    Input/Output

    The default encoding scheme maps all non-object fields to string attributes and all object fields to child nodes, using the constructor @@ -462,7 +462,7 @@ mxUtils.popup(mxUtils.getXml(node)); Furthermore one may include other XML files by use of the include directive in the XML structures.

    -

    Files

    +

    Files

    The save, open, readGraphModel and writeGraphModel functions implement a standard mechanism for handling files in @@ -476,7 +476,7 @@ mxUtils.popup(mxUtils.getXml(node)); the variable is defined, the editor issues a post request to the specified URL passing the XML along as a POST variable called xml.

    -

    Post

    +

    Post

    As an example, consider the following PHP file which is located in the same directory as the HTML page. If the filename is server.php @@ -505,7 +505,7 @@ if ($xml != null) { Keep in mind that the JavaScript can only post to the server where it originated from, so we recommend to use relative URLs, eg. server.php.

    -

    Form Fields

    +

    Form Fields

    If you need to read/write the graph from/to a string (eg. to fill a form-field), you can use the following methods: @@ -514,13 +514,13 @@ if ($xml != null) { var data = editor.writeGraphModel(); editor.readGraphModel(mxUtils.parseXml(data)); -

    Codecs

    +

    Codecs

    For encoding other objects, or if no editor instance is available, the mxCodec can be used to create and read XML data.


    -© 2006-2016 by JGraph Ltd. +© 2006-2017 by JGraph Ltd. diff --git a/dotnet/docs/html/annotated.html b/dotnet/docs/html/annotated.html new file mode 100644 index 000000000..c92043e21 --- /dev/null +++ b/dotnet/docs/html/annotated.html @@ -0,0 +1,105 @@ + + + + + + +mxGraph: Class List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    Class List
    +
    +
    +
    Here are the classes, structs, unions and interfaces with brief descriptions:
    +
    [detail level 1234]
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     Ncom
     Nmxgraph
     CmxBasicCanvasBasic implementation of a canvas that draws a graph.
     CmxCellCells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph.
     CmxCellCodecCodec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
     CmxCellPathImplements a mechanism for temporary cell Ids.
     CmxCellRendererClass that can draw an independent array of cells.
     CCanvasFactoryDefines the requirements for a class that can create canvases.
     CImageCanvasFactoryFIXME: Use anonymous class in CreateImage with invocation parameters in factory method code.
     CmxCellStateRepresents the current state of a cell in a given graph view.
     CmxCodecXML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor. Here is an example for parsing an existing XML document into a graph model:
     CmxCodecRegistryStatic class that acts as a global registry for codecs. See mxCodec for an example of using this class.
     CmxConnectionConstraintDefines an object that contains the constraints about how to connect one side of an edge to its terminal.
     CmxConstantsDefines various global constants.
     CmxEdgeStyleProvides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
     CmxFastOrganicLayoutFast organic layout algorithm.
     CmxGdiCanvasImplementation of a canvas that uses GDI for painting.
     CmxGdiCanvas2DUsed for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used:
     CCanvasState
     CmxGeometryRepresents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points.
     CmxGraphImplements a graph object that allows to create diagrams from a graph model and stylesheet.
     CmxGraphModelImplements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure.
     CmxGraphViewImplements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds.
     CmxGraphViewImageReaderA converter that renders display XML data onto a GDI canvas.
     CmxGraphViewReaderAn abstract converter that renders display XML data onto a canvas.
     CmxICanvasDefines the requirements for a canvas that paints the vertices and edges of a graph.
     CmxICanvas2DDefines the requirements for a canvas that paints the vertices and edges of a graph.
     CmxICellDefines the requirements for a cell that can be used in an mxGraphModel.
     CmxIGraphLayoutDefines the requirements for an object that implements a graph layout.
     CmxIGraphModelDefines the requirements for a graph model to be used with mxGraph.
     CmxImageBundleMaps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data
     CmxImageCanvasImplements a canvas that draws onto an image.
     CmxModelCodecCodec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
     CmxObjectCodecGeneric codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false.
     CmxPerimeterProvides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
     CmxPointImplements a 2-dimensional point with double precision coordinates.
     CmxRectangleImplements a 2-dimensional rectangle with double precision coordinates.
     CmxSaxOutputHandler
     CmxStencilImplements a stencil for the given XML definition. This class implements the mxGraph stencil schema.
     CmxStencilRegistry
     CmxStyleRegistryStatic class that acts as a global registry for codecs. See mxCodec for an example of using this class.
     CmxStylesheetDefines the appearance of the cells in a graph.
     CmxStylesheetCodecCodec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
     CmxUtilsContains various helper methods for use with mxGraph.
    +
    +
    + + + + diff --git a/dotnet/docs/html/arrowdown.png b/dotnet/docs/html/arrowdown.png new file mode 100644 index 000000000..0b63f6d38 Binary files /dev/null and b/dotnet/docs/html/arrowdown.png differ diff --git a/dotnet/docs/html/arrowright.png b/dotnet/docs/html/arrowright.png new file mode 100644 index 000000000..c6ee22f93 Binary files /dev/null and b/dotnet/docs/html/arrowright.png differ diff --git a/dotnet/docs/html/bc_s.png b/dotnet/docs/html/bc_s.png new file mode 100644 index 000000000..224b29aa9 Binary files /dev/null and b/dotnet/docs/html/bc_s.png differ diff --git a/dotnet/docs/html/bdwn.png b/dotnet/docs/html/bdwn.png new file mode 100644 index 000000000..940a0b950 Binary files /dev/null and b/dotnet/docs/html/bdwn.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html new file mode 100644 index 000000000..45143ac26 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas-members.html @@ -0,0 +1,76 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxBasicCanvas Member List
    +
    + + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html new file mode 100644 index 000000000..7f9152904 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.html @@ -0,0 +1,457 @@ + + + + + + +mxGraph: com.mxgraph.mxBasicCanvas Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    Basic implementation of a canvas that draws a graph. + More...

    +
    +Inheritance diagram for com.mxgraph.mxBasicCanvas:
    +
    +
    + + +com.mxgraph.mxICanvas +com.mxgraph.mxGdiCanvas + +
    + + + + + + + + +

    +Public Member Functions

    abstract Object DrawCell (mxCellState state)
     see com.mxgraph.mxICanvas.DrawCell() More...
     
    abstract Object DrawLabel (string text, mxCellState state, bool html)
     see com.mxgraph.mxICanvas.DrawLabel() More...
     
    + + + + +

    +Static Public Attributes

    static string DEFAULT_IMAGEBASEPATH = ""
     Defines the default value for the imageBasePath in all GDI canvases. Default is an empty string. More...
     
    + + + + +

    +Protected Member Functions

    string GetImageForStyle (Dictionary< string, Object > style)
     Gets the image path from the given style. If the path is relative (does not start with a slash) then it is appended to the imageBasePath. More...
     
    + + + + + + + + + + + + + +

    +Protected Attributes

    string imageBasePath = DEFAULT_IMAGEBASEPATH
     Defines the base path for images with relative paths. Trailing slash is required. Default value is DEFAULT_IMAGEBASEPATH. More...
     
    Point translate = new Point(0, 0)
     Specifies the current translation. Default is (0,0). More...
     
    double scale
     Specifies the current scale. Default is 1. More...
     
    bool drawLabels = true
     Specifies whether labels should be painted. Default is true. More...
     
    + + + + + + + + + + + + + + + + + + + + +

    +Properties

    Point Translate [get, set]
     see com.mxgraph.mxICanvas.Translate More...
     
    double Scale [get, set]
     see com.mxgraph.mxICanvas.Scale More...
     
    bool DrawLabels [get, set]
     Sets if labels should be visible. More...
     
    string ImageBasePath [get, set]
     Sets or gets the image base path. More...
     
    - Properties inherited from com.mxgraph.mxICanvas
    Point Translate [get, set]
     Sets or returns the user object of the cell. More...
     
    double Scale [get, set]
     Sets or returns the user object of the cell. More...
     
    +

    Detailed Description

    +

    Basic implementation of a canvas that draws a graph.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    abstract Object com.mxgraph.mxBasicCanvas.DrawCell (mxCellState state)
    +
    +pure virtual
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    abstract Object com.mxgraph.mxBasicCanvas.DrawLabel (string text,
    mxCellState state,
    bool html 
    )
    +
    +pure virtual
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxBasicCanvas.GetImageForStyle (Dictionary< string, Object > style)
    +
    +inlineprotected
    +
    + +

    Gets the image path from the given style. If the path is relative (does not start with a slash) then it is appended to the imageBasePath.

    +
    Parameters
    + + +
    style
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxUtils.GetString(), and com.mxgraph.mxConstants.STYLE_IMAGE.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxBasicCanvas.DEFAULT_IMAGEBASEPATH = ""
    +
    +static
    +
    + +

    Defines the default value for the imageBasePath in all GDI canvases. Default is an empty string.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxBasicCanvas.drawLabels = true
    +
    +protected
    +
    + +

    Specifies whether labels should be painted. Default is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxBasicCanvas.imageBasePath = DEFAULT_IMAGEBASEPATH
    +
    +protected
    +
    + +

    Defines the base path for images with relative paths. Trailing slash is required. Default value is DEFAULT_IMAGEBASEPATH.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxBasicCanvas.scale
    +
    +protected
    +
    + +

    Specifies the current scale. Default is 1.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Point com.mxgraph.mxBasicCanvas.translate = new Point(0, 0)
    +
    +protected
    +
    + +

    Specifies the current translation. Default is (0,0).

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxBasicCanvas.DrawLabels
    +
    +getset
    +
    + +

    Sets if labels should be visible.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxBasicCanvas.ImageBasePath
    +
    +getset
    +
    + +

    Sets or gets the image base path.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxBasicCanvas.Scale
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    Point com.mxgraph.mxBasicCanvas.Translate
    +
    +getset
    +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/canvas/mxBasicCanvas.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.png new file mode 100644 index 000000000..30c0447c5 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxBasicCanvas.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html new file mode 100644 index 000000000..c979eb6cc --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell-members.html @@ -0,0 +1,113 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCell Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCell, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ChildCount()com.mxgraph.mxCellinline
    childrencom.mxgraph.mxCellprotected
    Clone()com.mxgraph.mxCellinline
    Collapsed (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    collapsedcom.mxgraph.mxCellprotected
    connectablecom.mxgraph.mxCellprotected
    Connectable (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    Edge (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    edgecom.mxgraph.mxCellprotected
    EdgeCount()com.mxgraph.mxCellinline
    edgescom.mxgraph.mxCellprotected
    Geometry (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    geometrycom.mxgraph.mxCellprotected
    GetAttribute(String name)com.mxgraph.mxCellinline
    GetAttribute(String name, String defaultValue)com.mxgraph.mxCellinline
    GetChildAt(int index)com.mxgraph.mxCellinline
    GetEdgeAt(int index)com.mxgraph.mxCellinline
    GetEdgeIndex(mxICell edge)com.mxgraph.mxCellinline
    GetIndex(mxICell child)com.mxgraph.mxCellinline
    GetTerminal(bool source)com.mxgraph.mxCellinline
    idcom.mxgraph.mxCellprotected
    Id (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    Insert(mxICell child)com.mxgraph.mxCellinline
    Insert(mxICell child, int index)com.mxgraph.mxCellinline
    InsertEdge(mxICell edge, bool isOutgoing)com.mxgraph.mxCellinline
    mxCell()com.mxgraph.mxCellinline
    mxCell(Object value)com.mxgraph.mxCellinline
    mxCell(Object value, mxGeometry geometry, string style)com.mxgraph.mxCellinline
    parentcom.mxgraph.mxCellprotected
    Parent (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    Remove(int index)com.mxgraph.mxCellinline
    Remove(mxICell child)com.mxgraph.mxCellinline
    RemoveEdge(mxICell edge, bool isOutgoing)com.mxgraph.mxCellinline
    RemoveFromParent()com.mxgraph.mxCellinline
    RemoveFromTerminal(bool isSource)com.mxgraph.mxCellinline
    SetAttribute(String name, String value)com.mxgraph.mxCellinline
    SetTerminal(mxICell terminal, bool isSource)com.mxgraph.mxCellinline
    sourcecom.mxgraph.mxCellprotected
    Sourcecom.mxgraph.mxCell
    stylecom.mxgraph.mxCellprotected
    Style (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    targetcom.mxgraph.mxCellprotected
    Targetcom.mxgraph.mxCell
    valuecom.mxgraph.mxCellprotected
    Value (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    vertexcom.mxgraph.mxCellprotected
    Vertex (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    visiblecom.mxgraph.mxCellprotected
    Visible (defined in com.mxgraph.mxCell)com.mxgraph.mxCell
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html new file mode 100644 index 000000000..5c8bc60a3 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.html @@ -0,0 +1,1483 @@ + + + + + + +mxGraph: com.mxgraph.mxCell Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCell Class Reference
    +
    +
    + +

    Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph. + More...

    +
    +Inheritance diagram for com.mxgraph.mxCell:
    +
    +
    + + +com.mxgraph.mxICell + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxCell ()
     Constructs a new empty cell. More...
     
     mxCell (Object value)
     Constructs a new cell for the given value. More...
     
     mxCell (Object value, mxGeometry geometry, string style)
     Constructs a new cell for the given value, geometry and style. More...
     
    mxICell GetTerminal (bool source)
     Returns the source or target terminal of the cell. More...
     
    mxICell SetTerminal (mxICell terminal, bool isSource)
     Sets the source or target terminal. More...
     
    int ChildCount ()
     Returns the number of child cells. More...
     
    int GetIndex (mxICell child)
     Returns the index of the specified child in the child array. More...
     
    mxICell GetChildAt (int index)
     Returns the child at the specified index. More...
     
    mxICell Insert (mxICell child)
     Appends the specified child into the child array and updates the parent reference of the child. More...
     
    mxICell Insert (mxICell child, int index)
     Inserts the specified child into the child array at the specified index and updates the parent reference of the child. More...
     
    mxICell Remove (int index)
     Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child. More...
     
    mxICell Remove (mxICell child)
     Removes the given child from the child array. Will remove the parent reference of the child. More...
     
    void RemoveFromParent ()
     Removes the cell from its parent. More...
     
    int EdgeCount ()
     Returns the number of edges in the edge array. More...
     
    int GetEdgeIndex (mxICell edge)
     Returns the index of the specified edge in the edge array. More...
     
    mxICell GetEdgeAt (int index)
     Returns the edge at the specified index in the edge array. More...
     
    mxICell InsertEdge (mxICell edge, bool isOutgoing)
     Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge. More...
     
    mxICell RemoveEdge (mxICell edge, bool isOutgoing)
     Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge. More...
     
    void RemoveFromTerminal (bool isSource)
     Removes the edge from its source or target terminal. More...
     
    String GetAttribute (String name)
     Returns the specified attribute from the user object if it is an XML More...
     
    String GetAttribute (String name, String defaultValue)
     Returns the specified attribute from the user object if it is an XML More...
     
    void SetAttribute (String name, String value)
     
    Object Clone ()
     Returns a clone of this cell. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    string id
     Holds the Id. Default is null. More...
     
    Object value
     Holds the user object. Default is null. More...
     
    mxGeometry geometry
     Holds the geometry. Default is null. More...
     
    string style
     Holds the geometry. Default is null. More...
     
    bool vertex = false
     Specifies whether the cell is a vertex. Default value is false. More...
     
    bool edge = false
     Specifies whether the cell is an edge. Default value is false. More...
     
    bool connectable = true
     Specifies whether the cell connectable. Default value is true. More...
     
    bool visible = true
     Specifies whether the cell is visible. Default value is true. More...
     
    bool collapsed = false
     Specifies whether the cell is collapsed. Default value is false. More...
     
    mxICell parent
     Reference to the parent cell. More...
     
    mxICell source
     Reference to the source terminal of an edge. More...
     
    mxICell target
     Reference to the target terminal of an edge. More...
     
    List< mxICellchildren
     Holds the child cells. More...
     
    List< mxICelledges
     Holds the connected edges. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    +string Id [get, set]
     
    +Object Value [get, set]
     
    +mxGeometry Geometry [get, set]
     
    +string Style [get, set]
     
    +bool Vertex [get, set]
     
    +bool Edge [get, set]
     
    +bool Connectable [get, set]
     
    +bool Visible [get, set]
     
    +bool Collapsed [get, set]
     
    +mxICell Parent [get, set]
     
    mxICell Source [get, set]
     Sets or returns the source terminal of the cell. More...
     
    mxICell Target [get, set]
     Sets or returns the target terminal of the cell. More...
     
    - Properties inherited from com.mxgraph.mxICell
    string Id [get, set]
     Sets or returns the Id of the cell. More...
     
    Object Value [get, set]
     Sets or returns the user object of the cell. More...
     
    mxGeometry Geometry [get, set]
     Sets or returns the geometry of the cell. More...
     
    string Style [get, set]
     Sets or returns the string that describes the style. More...
     
    bool Vertex [get]
     Returns true if the cell is a vertex. More...
     
    bool Edge [get]
     Returns true if the cell is an edge. More...
     
    bool Connectable [get]
     Returns true if the cell is connectable. More...
     
    bool Visible [get, set]
     Sets or returns the visible state of the cell. More...
     
    bool Collapsed [get, set]
     Sets or returns the collapsed state of the cell. More...
     
    mxICell Parent [get, set]
     Sets or returns the parent of the cell. More...
     
    +

    Detailed Description

    +

    Cells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxCell.mxCell ()
    +
    +inline
    +
    + +

    Constructs a new empty cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxCell.mxCell (Object value)
    +
    +inline
    +
    + +

    Constructs a new cell for the given value.

    +
    Parameters
    + + +
    valueValue that represents the user object.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxCell.mxCell (Object value,
    mxGeometry geometry,
    string style 
    )
    +
    +inline
    +
    + +

    Constructs a new cell for the given value, geometry and style.

    +
    Parameters
    + + + + +
    valueValue that represents the user object.
    geometryGeometry of the cell to be created.
    styleStyle of the cell to be created.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    int com.mxgraph.mxCell.ChildCount ()
    +
    +inline
    +
    + +

    Returns the number of child cells.

    +
    Returns
    Returns the number of child cells.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    Object com.mxgraph.mxCell.Clone ()
    +
    +inline
    +
    + +

    Returns a clone of this cell.

    +
    Returns
    Returns a clone of this cell.
    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxGeometry.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    int com.mxgraph.mxCell.EdgeCount ()
    +
    +inline
    +
    + +

    Returns the number of edges in the edge array.

    +
    Returns
    Returns the number of edges.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    String com.mxgraph.mxCell.GetAttribute (String name)
    +
    +inline
    +
    + +

    Returns the specified attribute from the user object if it is an XML

    +

    node.

    +
    Parameters
    + + +
    nameName of the attribute whose value should be returned.
    +
    +
    +
    Returns
    Returns the value of the given attribute or null.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    String com.mxgraph.mxCell.GetAttribute (String name,
    String defaultValue 
    )
    +
    +inline
    +
    + +

    Returns the specified attribute from the user object if it is an XML

    +

    node.

    +
    Parameters
    + + + +
    nameName of the attribute whose value should be returned.
    defaultValueDefault value to use if the attribute has no value.
    +
    +
    +
    Returns
    Returns the value of the given attribute or defaultValue.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxICell com.mxgraph.mxCell.GetChildAt (int index)
    +
    +inline
    +
    + +

    Returns the child at the specified index.

    +
    Parameters
    + + +
    indexInteger that specifies the child to be returned.
    +
    +
    +
    Returns
    Returns the child at the specified index.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxICell com.mxgraph.mxCell.GetEdgeAt (int index)
    +
    +inline
    +
    + +

    Returns the edge at the specified index in the edge array.

    +
    Parameters
    + + +
    indexInteger that specifies the index of the edge to be returned.
    +
    +
    +
    Returns
    Returns the edge at the specified index.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    int com.mxgraph.mxCell.GetEdgeIndex (mxICell edge)
    +
    +inline
    +
    + +

    Returns the index of the specified edge in the edge array.

    +
    Parameters
    + + +
    edgeCell whose index should be returned.
    +
    +
    +
    Returns
    Returns the index of the given edge.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    int com.mxgraph.mxCell.GetIndex (mxICell child)
    +
    +inline
    +
    + +

    Returns the index of the specified child in the child array.

    +
    Parameters
    + + +
    childChild whose index should be returned.
    +
    +
    +
    Returns
    Returns the index of the specified child.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxICell com.mxgraph.mxCell.GetTerminal (bool source)
    +
    +inline
    +
    + +

    Returns the source or target terminal of the cell.

    +
    Parameters
    + + +
    sourceBoolean that specifies if the source terminal should be returned.
    +
    +
    +
    Returns
    Returns the source or target terminal.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxICell com.mxgraph.mxCell.Insert (mxICell child)
    +
    +inline
    +
    + +

    Appends the specified child into the child array and updates the parent reference of the child.

    +
    Parameters
    + + +
    childCell to be appended to the child array.
    +
    +
    +
    Returns
    Returns the appended child.
    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxICell.Parent.

    + +

    Referenced by com.mxgraph.mxGraphModel.CreateRoot().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxCell.Insert (mxICell child,
    int index 
    )
    +
    +inline
    +
    + +

    Inserts the specified child into the child array at the specified index and updates the parent reference of the child.

    +
    Parameters
    + + + +
    childCell to be inserted into the child array.
    indexInteger that specifies the index at which the child should be inserted into the child array.
    +
    +
    +
    Returns
    Returns the inserted child.
    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxICell.Insert(), com.mxgraph.mxICell.Parent, and com.mxgraph.mxICell.RemoveFromParent().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxCell.InsertEdge (mxICell edge,
    bool isOutgoing 
    )
    +
    +inline
    +
    + +

    Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge.

    +
    Parameters
    + + + +
    edgeCell to be inserted into the edge array.
    isOutgoingBoolean that specifies if the edge is outgoing.
    +
    +
    +
    Returns
    Returns the inserted edge.
    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxICell.GetTerminal(), com.mxgraph.mxICell.RemoveFromTerminal(), and com.mxgraph.mxICell.SetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxICell com.mxgraph.mxCell.Remove (int index)
    +
    +inline
    +
    + +

    Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child.

    +
    Parameters
    + + +
    indexInteger that specifies the index of the child to be removed.
    +
    +
    +
    Returns
    Returns the child that was removed.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxICell com.mxgraph.mxCell.Remove (mxICell child)
    +
    +inline
    +
    + +

    Removes the given child from the child array. Will remove the parent reference of the child.

    +
    Parameters
    + + +
    child
    +
    +
    +
    Returns
    Returns the child that was removed.
    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxICell.Parent, and com.mxgraph.mxICell.Remove().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxCell.RemoveEdge (mxICell edge,
    bool isOutgoing 
    )
    +
    +inline
    +
    + +

    Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge.

    +
    Parameters
    + + + +
    edgeCell to be removed from the edge array.
    isOutgoingBoolean that specifies if the edge is outgoing.
    +
    +
    +
    Returns
    Returns the edge that was removed.
    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxICell.GetTerminal(), com.mxgraph.mxICell.Remove(), and com.mxgraph.mxICell.SetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxCell.RemoveFromParent ()
    +
    +inline
    +
    + +

    Removes the cell from its parent.

    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxICell.Remove().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxCell.RemoveFromTerminal (bool isSource)
    +
    +inline
    +
    + +

    Removes the edge from its source or target terminal.

    +
    Parameters
    + + +
    isSourceBoolean that specifies if the edge should be removed from its source or target terminal.
    +
    +
    + +

    Implements com.mxgraph.mxICell.

    + +

    References com.mxgraph.mxICell.RemoveEdge().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxCell.SetAttribute (String name,
    String value 
    )
    +
    +inline
    +
    + +

    +

    Sets the specified attribute on the user object if it is an XML node.

    +
    Parameters
    + + + +
    nameName of the attribute whose value should be set.
    valueNew value of the attribute.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxCell.SetTerminal (mxICell terminal,
    bool source 
    )
    +
    +inline
    +
    + +

    Sets the source or target terminal.

    +
    Parameters
    + + + +
    terminalCell that represents the new source or target terminal.
    sourceBoolean that specifies if the source or target terminal should be set.
    +
    +
    +
    Returns
    Returns the new terminal.
    + +

    Implements com.mxgraph.mxICell.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    List<mxICell> com.mxgraph.mxCell.children
    +
    +protected
    +
    + +

    Holds the child cells.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCell.collapsed = false
    +
    +protected
    +
    + +

    Specifies whether the cell is collapsed. Default value is false.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCell.connectable = true
    +
    +protected
    +
    + +

    Specifies whether the cell connectable. Default value is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCell.edge = false
    +
    +protected
    +
    + +

    Specifies whether the cell is an edge. Default value is false.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<mxICell> com.mxgraph.mxCell.edges
    +
    +protected
    +
    + +

    Holds the connected edges.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGeometry com.mxgraph.mxCell.geometry
    +
    +protected
    +
    + +

    Holds the geometry. Default is null.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxCell.id
    +
    +protected
    +
    + +

    Holds the Id. Default is null.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxICell com.mxgraph.mxCell.parent
    +
    +protected
    +
    + +

    Reference to the parent cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxICell com.mxgraph.mxCell.source
    +
    +protected
    +
    + +

    Reference to the source terminal of an edge.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxCell.style
    +
    +protected
    +
    + +

    Holds the geometry. Default is null.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxICell com.mxgraph.mxCell.target
    +
    +protected
    +
    + +

    Reference to the target terminal of an edge.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Object com.mxgraph.mxCell.value
    +
    +protected
    +
    + +

    Holds the user object. Default is null.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCell.vertex = false
    +
    +protected
    +
    + +

    Specifies whether the cell is a vertex. Default value is false.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCell.visible = true
    +
    +protected
    +
    + +

    Specifies whether the cell is visible. Default value is true.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxICell com.mxgraph.mxCell.Source
    +
    +getset
    +
    + +

    Sets or returns the source terminal of the cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxICell com.mxgraph.mxCell.Target
    +
    +getset
    +
    + +

    Sets or returns the target terminal of the cell.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/model/mxCell.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.png new file mode 100644 index 000000000..874780861 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCell.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html new file mode 100644 index 000000000..ac6e22e76 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec-members.html @@ -0,0 +1,108 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCellCodec Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCellCodec, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
    AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxCellCodecinlinevirtual
    BeforeDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxCellCodecinlinevirtual
    BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinlinevirtual
    DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    Encode(mxCodec enc, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    excludecom.mxgraph.mxObjectCodecprotected
    GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
    GetName()com.mxgraph.mxObjectCodecinline
    idrefscom.mxgraph.mxObjectCodecprotected
    IsExcluded(Object obj, string attr, Object value, bool isWrite)com.mxgraph.mxCellCodecinlinevirtual
    IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
    IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
    mappingcom.mxgraph.mxObjectCodecprotected
    mxCellCodec()com.mxgraph.mxCellCodecinline
    mxCellCodec(Object template)com.mxgraph.mxCellCodecinline
    mxCellCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxCellCodecinline
    mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
    mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
    ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
    reversecom.mxgraph.mxObjectCodecprotected
    SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
    templatecom.mxgraph.mxObjectCodecprotected
    Templatecom.mxgraph.mxObjectCodec
    WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html new file mode 100644 index 000000000..42efb630b --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.html @@ -0,0 +1,467 @@ + + + + + + +mxGraph: com.mxgraph.mxCellCodec Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCellCodec Class Reference
    +
    +
    + +

    Codec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. + More...

    +
    +Inheritance diagram for com.mxgraph.mxCellCodec:
    +
    +
    + + +com.mxgraph.mxObjectCodec + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxCellCodec ()
     Constructs a new cell codec. More...
     
     mxCellCodec (Object template)
     Constructs a new cell codec for the given template. More...
     
     mxCellCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
     Constructs a new cell codec for the given arguments. More...
     
    override bool IsExcluded (Object obj, string attr, Object value, bool isWrite)
     Excludes user objects that are XML nodes. More...
     
    override XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
     Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion). More...
     
    override XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object obj)
     Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion). More...
     
    - Public Member Functions inherited from com.mxgraph.mxObjectCodec
     mxObjectCodec (Object template)
     Constructs a new codec for the specified template object. More...
     
     mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
     Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
     
    string GetName ()
     Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
     
    virtual bool IsReference (Object obj, string attr, Object value, bool write)
     Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
     
    virtual XmlNode Encode (mxCodec enc, Object obj)
     Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references. More...
     
    virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
     Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
     
    virtual Object Decode (mxCodec dec, XmlNode node)
     Parses the given node into the object or returns a new object representing the given node. More...
     
    virtual Object Decode (mxCodec dec, XmlNode node, Object into)
     Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules: More...
     
    bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
     
    virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
     Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Protected Member Functions inherited from com.mxgraph.mxObjectCodec
    virtual Object CloneTemplate (XmlNode node)
     Returns a new instance of the template object for representing the given node. More...
     
    virtual void EncodeObject (mxCodec enc, Object obj, XmlNode node)
     Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements. More...
     
    void EncodeFields (mxCodec enc, Object obj, XmlNode node)
     Encodes the members of the given object into the given node. More...
     
    void EncodeElements (mxCodec enc, Object obj, XmlNode node)
     Encodes the child objects of arrays, dictionaries and enumerables. More...
     
    void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)
     Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node. More...
     
    bool IsPrimitiveValue (Object value)
     Returns true if the given object is a primitive value. More...
     
    +void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
     
    void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as an attribute of the given node. More...
     
    void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as a child node of the given node. More...
     
    virtual Object ConvertValueToXml (Object value)
     Converts true to "1" and false to "0". All other values are ignored. More...
     
    virtual Object ConvertValueFromXml (Type type, Object value)
     Converts XML attribute values to object of the given type. More...
     
    string GetAttributeName (string fieldname)
     Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
     
    string GetFieldName (string attributename)
     Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
     
    Object GetFieldValue (Object obj, string name)
     Returns the value of the field with the specified name in the specified object instance. More...
     
    void SetFieldValue (Object obj, string name, Object value)
     Sets the value of the field with the specified name in the specified object instance. More...
     
    void DecodeNode (mxCodec dec, XmlNode node, Object obj)
     Calls decodeAttributes and decodeChildren for the given node. More...
     
    void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
     Decodes all attributes of the given node using decodeAttribute. More...
     
    void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChild (mxCodec dec, XmlNode child, Object obj)
     Reads the specified child into the given object. More...
     
    Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
     Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
     
    void AddObjectValue (Object obj, String fieldname, Object value, Object template)
     Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
     
    - Protected Attributes inherited from com.mxgraph.mxObjectCodec
    Object template
     Holds the template object associated with this codec. More...
     
    List< string > exclude
     Array containing the variable names that should be ignored by the codec. More...
     
    List< string > idrefs
     Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
     
    Dictionary< string, string > mapping
     Maps from from fieldnames to XML attribute names. More...
     
    Dictionary< string, string > reverse
     Maps from from XML attribute names to fieldnames. More...
     
    - Properties inherited from com.mxgraph.mxObjectCodec
    Object Template [get]
     Returns the template object associated with this codec. More...
     
    +

    Detailed Description

    +

    Codec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxCellCodec.mxCellCodec ()
    +
    +inline
    +
    + +

    Constructs a new cell codec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxCellCodec.mxCellCodec (Object template)
    +
    +inline
    +
    + +

    Constructs a new cell codec for the given template.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxCellCodec.mxCellCodec (Object template,
    string[] exclude,
    string[] idrefs,
    Dictionary< string, string > mapping 
    )
    +
    +inline
    +
    + +

    Constructs a new cell codec for the given arguments.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    override XmlNode com.mxgraph.mxCellCodec.AfterEncode (mxCodec enc,
    Object obj,
    XmlNode node 
    )
    +
    +inlinevirtual
    +
    + +

    Encodes an mxCell and wraps the XML up inside the XML of the user object (inversion).

    + +

    Reimplemented from com.mxgraph.mxObjectCodec.

    + +

    References com.mxgraph.mxCodec.Document.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    override XmlNode com.mxgraph.mxCellCodec.BeforeDecode (mxCodec dec,
    XmlNode node,
    Object obj 
    )
    +
    +inlinevirtual
    +
    + +

    Decodes an mxCell and uses the enclosing XML node as the user object for the cell (inversion).

    + +

    Reimplemented from com.mxgraph.mxObjectCodec.

    + +

    References com.mxgraph.mxObjectCodec.Decode(), com.mxgraph.mxCodecRegistry.GetCodec(), com.mxgraph.mxCodec.GetElementById(), com.mxgraph.mxCodec.Lookup(), and com.mxgraph.mxCodec.Objects.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    override bool com.mxgraph.mxCellCodec.IsExcluded (Object obj,
    string attr,
    Object value,
    bool isWrite 
    )
    +
    +inlinevirtual
    +
    + +

    Excludes user objects that are XML nodes.

    + +

    Reimplemented from com.mxgraph.mxObjectCodec.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/io/mxCellCodec.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.png new file mode 100644 index 000000000..c11c97703 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellCodec.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html new file mode 100644 index 000000000..206fc6c0d --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCellPath Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCellPath, including all inherited members.

    + + + + + +
    Create(mxICell cell)com.mxgraph.mxCellPathinlinestatic
    GetParentPath(string path)com.mxgraph.mxCellPathinlinestatic
    PATH_SEPARATORcom.mxgraph.mxCellPathstatic
    Resolve(mxICell root, string path)com.mxgraph.mxCellPathinlinestatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html new file mode 100644 index 000000000..eb93a28e5 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellPath.html @@ -0,0 +1,237 @@ + + + + + + +mxGraph: com.mxgraph.mxCellPath Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCellPath Class Reference
    +
    +
    + +

    Implements a mechanism for temporary cell Ids. + More...

    + + + + + + + + + + + +

    +Static Public Member Functions

    static string Create (mxICell cell)
     Creates the cell path for the given cell. The cell path is a concatenation of the indices of all cells on the (finite) path to the root, eg. "0.0.0.1". More...
     
    static string GetParentPath (string path)
     Returns the path for the parent of the cell represented by the given path. Returns null if the given path has no parent. More...
     
    static mxICell Resolve (mxICell root, string path)
     Returns the cell for the specified cell path using the given root as the root of the path. More...
     
    + + + + +

    +Static Public Attributes

    static char PATH_SEPARATOR = '.'
     Defines the separator between the path components. Default is ".". More...
     
    +

    Detailed Description

    +

    Implements a mechanism for temporary cell Ids.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    static string com.mxgraph.mxCellPath.Create (mxICell cell)
    +
    +inlinestatic
    +
    + +

    Creates the cell path for the given cell. The cell path is a concatenation of the indices of all cells on the (finite) path to the root, eg. "0.0.0.1".

    +
    Parameters
    + + +
    cellCell whose path should be returned.
    +
    +
    +
    Returns
    Returns the string that represents the path.
    + +

    References com.mxgraph.mxICell.GetIndex(), com.mxgraph.mxICell.Parent, and com.mxgraph.mxCellPath.PATH_SEPARATOR.

    + +

    Referenced by com.mxgraph.mxCodec.GetId(), and com.mxgraph.mxGraphModel.GetNearestCommonAncestor().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static string com.mxgraph.mxCellPath.GetParentPath (string path)
    +
    +inlinestatic
    +
    + +

    Returns the path for the parent of the cell represented by the given path. Returns null if the given path has no parent.

    +
    Parameters
    + + +
    pathPath whose parent path should be returned.
    +
    +
    + +

    References com.mxgraph.mxCellPath.PATH_SEPARATOR.

    + +

    Referenced by com.mxgraph.mxGraphModel.GetNearestCommonAncestor().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static mxICell com.mxgraph.mxCellPath.Resolve (mxICell root,
    string path 
    )
    +
    +inlinestatic
    +
    + +

    Returns the cell for the specified cell path using the given root as the root of the path.

    +
    Parameters
    + + + +
    rootRoot cell of the path to be resolved.
    pathString that defines the path.
    +
    +
    +
    Returns
    Returns the cell that is defined by the path.
    + +

    References com.mxgraph.mxICell.GetChildAt().

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    char com.mxgraph.mxCellPath.PATH_SEPARATOR = '.'
    +
    +static
    +
    + +

    Defines the separator between the path components. Default is ".".

    + +

    Referenced by com.mxgraph.mxCellPath.Create(), com.mxgraph.mxGraphModel.GetNearestCommonAncestor(), and com.mxgraph.mxCellPath.GetParentPath().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/model/mxCellPath.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html new file mode 100644 index 000000000..d61568dd8 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer-members.html @@ -0,0 +1,67 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCellRenderer Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCellRenderer, including all inherited members.

    + + + + +
    CreateImage(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip)com.mxgraph.mxCellRendererinlinestatic
    CreateImage(mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip, mxGdiCanvas graphicsCanvas)com.mxgraph.mxCellRendererinlinestatic
    DrawCells(mxGraph graph, Object[] cells, double scale, mxRectangle clip, CanvasFactory factory)com.mxgraph.mxCellRendererinlinestatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html new file mode 100644 index 000000000..5a3e55fe7 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer.html @@ -0,0 +1,280 @@ + + + + + + +mxGraph: com.mxgraph.mxCellRenderer Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCellRenderer Class Reference
    +
    +
    + +

    Class that can draw an independent array of cells. + More...

    + + + + + + + + +

    +Classes

    class  CanvasFactory
     Defines the requirements for a class that can create canvases. More...
     
    class  ImageCanvasFactory
     FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code. More...
     
    + + + + + + + + + + +

    +Static Public Member Functions

    static mxICanvas DrawCells (mxGraph graph, Object[] cells, double scale, mxRectangle clip, CanvasFactory factory)
     Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells. More...
     
    static Image CreateImage (mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip)
     Creates an image for the given arguments. More...
     
    static Image CreateImage (mxGraph graph, Object[] cells, double scale, Color?background, bool antiAlias, mxRectangle clip, mxGdiCanvas graphicsCanvas)
     Creates an image for the given arguments. More...
     
    +

    Detailed Description

    +

    Class that can draw an independent array of cells.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static Image com.mxgraph.mxCellRenderer.CreateImage (mxGraph graph,
    Object[] cells,
    double scale,
    Color? background,
    bool antiAlias,
    mxRectangle clip 
    )
    +
    +inlinestatic
    +
    + +

    Creates an image for the given arguments.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static Image com.mxgraph.mxCellRenderer.CreateImage (mxGraph graph,
    Object[] cells,
    double scale,
    Color? background,
    bool antiAlias,
    mxRectangle clip,
    mxGdiCanvas graphicsCanvas 
    )
    +
    +inlinestatic
    +
    + +

    Creates an image for the given arguments.

    + +

    References com.mxgraph.mxImageCanvas.Destroy().

    + +
    +
    + + +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxCellRenderer.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html new file mode 100644 index 000000000..e9a97258d --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory-members.html @@ -0,0 +1,65 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCellRenderer.CanvasFactory Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCellRenderer.CanvasFactory, including all inherited members.

    + + +
    CreateCanvas(int width, int height)com.mxgraph.mxCellRenderer.CanvasFactorypure virtual
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html new file mode 100644 index 000000000..3a025c20e --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.html @@ -0,0 +1,129 @@ + + + + + + +mxGraph: com.mxgraph.mxCellRenderer.CanvasFactory Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCellRenderer.CanvasFactory Class Referenceabstract
    +
    +
    + +

    Defines the requirements for a class that can create canvases. + More...

    +
    +Inheritance diagram for com.mxgraph.mxCellRenderer.CanvasFactory:
    +
    +
    + + +com.mxgraph.mxCellRenderer.ImageCanvasFactory + +
    + + + + + +

    +Public Member Functions

    abstract mxICanvas CreateCanvas (int width, int height)
     Returns a new canvas for the given dimension. More...
     
    +

    Detailed Description

    +

    Defines the requirements for a class that can create canvases.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    abstract mxICanvas com.mxgraph.mxCellRenderer.CanvasFactory.CreateCanvas (int width,
    int height 
    )
    +
    +pure virtual
    +
    + +

    Returns a new canvas for the given dimension.

    + +

    Implemented in com.mxgraph.mxCellRenderer.ImageCanvasFactory.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxCellRenderer.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.png new file mode 100644 index 000000000..2d0a2b2f0 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1CanvasFactory.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html new file mode 100644 index 000000000..a38264b6a --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory-members.html @@ -0,0 +1,69 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCellRenderer.ImageCanvasFactory Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCellRenderer.ImageCanvasFactory, including all inherited members.

    + + + + + + +
    antiAliascom.mxgraph.mxCellRenderer.ImageCanvasFactoryprotected
    backgroundcom.mxgraph.mxCellRenderer.ImageCanvasFactoryprotected
    CreateCanvas(int width, int height)com.mxgraph.mxCellRenderer.ImageCanvasFactoryinlinevirtual
    graphicsCanvascom.mxgraph.mxCellRenderer.ImageCanvasFactoryprotected
    ImageCanvasFactory(mxGdiCanvas graphicsCanvas, Color?background, bool antiAlias)com.mxgraph.mxCellRenderer.ImageCanvasFactoryinline
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html new file mode 100644 index 000000000..722a39e00 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.html @@ -0,0 +1,261 @@ + + + + + + +mxGraph: com.mxgraph.mxCellRenderer.ImageCanvasFactory Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCellRenderer.ImageCanvasFactory Class Reference
    +
    +
    + +

    FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code. + More...

    +
    +Inheritance diagram for com.mxgraph.mxCellRenderer.ImageCanvasFactory:
    +
    +
    + + +com.mxgraph.mxCellRenderer.CanvasFactory + +
    + + + + + + + + +

    +Public Member Functions

     ImageCanvasFactory (mxGdiCanvas graphicsCanvas, Color?background, bool antiAlias)
     Constructs a new image canvas factors. More...
     
    override mxICanvas CreateCanvas (int width, int height)
     Returns a new canvas for the given dimension. More...
     
    + + + + + + + + + + +

    +Protected Attributes

    mxGdiCanvas graphicsCanvas
     Holds the graphics canvas to be used for painting. More...
     
    Color background
     Specifies the background color. More...
     
    bool antiAlias
     Specifies if antialiasing should be enabled. More...
     
    +

    Detailed Description

    +

    FIXME: Use anonymous class in CreateImage with invocation parameters in factory method code.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxCellRenderer.ImageCanvasFactory.ImageCanvasFactory (mxGdiCanvas graphicsCanvas,
    Color? background,
    bool antiAlias 
    )
    +
    +inline
    +
    + +

    Constructs a new image canvas factors.

    +
    Parameters
    + + + + +
    graphicsCanvasSpecifies the graphics canvas for painting.
    backgroundSpecifies the background color of the image.
    antiAliasSpecifies if antialiasing should be enabled.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    override mxICanvas com.mxgraph.mxCellRenderer.ImageCanvasFactory.CreateCanvas (int width,
    int height 
    )
    +
    +inlinevirtual
    +
    + +

    Returns a new canvas for the given dimension.

    + +

    Implements com.mxgraph.mxCellRenderer.CanvasFactory.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCellRenderer.ImageCanvasFactory.antiAlias
    +
    +protected
    +
    + +

    Specifies if antialiasing should be enabled.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Color com.mxgraph.mxCellRenderer.ImageCanvasFactory.background
    +
    +protected
    +
    + +

    Specifies the background color.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGdiCanvas com.mxgraph.mxCellRenderer.ImageCanvasFactory.graphicsCanvas
    +
    +protected
    +
    + +

    Holds the graphics canvas to be used for painting.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxCellRenderer.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.png new file mode 100644 index 000000000..d5aa40c65 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellRenderer_1_1ImageCanvasFactory.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html new file mode 100644 index 000000000..f859a38b4 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState-members.html @@ -0,0 +1,120 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCellState Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCellState, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    absoluteOffsetcom.mxgraph.mxCellStateprotected
    AbsoluteOffsetcom.mxgraph.mxCellState
    AbsolutePointCount()com.mxgraph.mxCellStateinline
    AbsolutePointscom.mxgraph.mxCellState
    absolutePointscom.mxgraph.mxCellStateprotected
    Add(mxRectangle rect)com.mxgraph.mxRectangleinline
    BoundingBoxcom.mxgraph.mxCellState
    boundingBoxcom.mxgraph.mxCellStateprotected
    cellcom.mxgraph.mxCellStateprotected
    Cellcom.mxgraph.mxCellState
    Clone()com.mxgraph.mxCellStateinline
    Contains(double x, double y)com.mxgraph.mxRectangleinline
    Equals(Object obj)com.mxgraph.mxRectangleinline
    GetCenterX()com.mxgraph.mxRectangleinline
    GetCenterY()com.mxgraph.mxRectangleinline
    GetPerimeterBounds()com.mxgraph.mxCellStateinline
    GetPerimeterBounds(double border)com.mxgraph.mxCellStateinline
    GetPoint()com.mxgraph.mxPointinline
    GetRectangle()com.mxgraph.mxRectangleinline
    Grow(double amount)com.mxgraph.mxRectangleinline
    Heightcom.mxgraph.mxRectangle
    heightcom.mxgraph.mxRectangleprotected
    invalidcom.mxgraph.mxCellStateprotected
    Invalidcom.mxgraph.mxCellState
    labelBoundscom.mxgraph.mxCellStateprotected
    LabelBoundscom.mxgraph.mxCellState
    lengthcom.mxgraph.mxCellStateprotected
    Lengthcom.mxgraph.mxCellState
    mxCellState()com.mxgraph.mxCellStateinline
    mxCellState(mxGraphView view, Object cell, Dictionary< string, Object > style)com.mxgraph.mxCellStateinline
    mxPoint()com.mxgraph.mxPointinline
    mxPoint(Point point)com.mxgraph.mxPointinline
    mxPoint(mxPoint point)com.mxgraph.mxPointinline
    mxPoint(double x, double y)com.mxgraph.mxPointinline
    mxRectangle()com.mxgraph.mxRectangleinline
    mxRectangle(mxRectangle rect)com.mxgraph.mxRectangleinline
    mxRectangle(Rectangle rect)com.mxgraph.mxRectangleinline
    mxRectangle(double x, double y, double width, double height)com.mxgraph.mxRectangleinline
    origincom.mxgraph.mxCellStateprotected
    Origincom.mxgraph.mxCellState
    segmentscom.mxgraph.mxCellStateprotected
    Segmentscom.mxgraph.mxCellState
    SetAbsoluteTerminalPoint(mxPoint point, bool source)com.mxgraph.mxCellStateinline
    setRect(double x, double y, double w, double h)com.mxgraph.mxRectangleinline
    stylecom.mxgraph.mxCellStateprotected
    Stylecom.mxgraph.mxCellState
    TerminalDistancecom.mxgraph.mxCellState
    terminalDistancecom.mxgraph.mxCellStateprotected
    viewcom.mxgraph.mxCellStateprotected
    Viewcom.mxgraph.mxCellState
    Widthcom.mxgraph.mxRectangle
    widthcom.mxgraph.mxRectangleprotected
    xcom.mxgraph.mxPointprotected
    Xcom.mxgraph.mxPoint
    ycom.mxgraph.mxPointprotected
    Ycom.mxgraph.mxPoint
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html new file mode 100644 index 000000000..2dbfa8794 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.html @@ -0,0 +1,1088 @@ + + + + + + +mxGraph: com.mxgraph.mxCellState Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCellState Class Reference
    +
    +
    + +

    Represents the current state of a cell in a given graph view. + More...

    +
    +Inheritance diagram for com.mxgraph.mxCellState:
    +
    +
    + + +com.mxgraph.mxRectangle +com.mxgraph.mxPoint + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxCellState ()
     Constructs an empty cell state. More...
     
     mxCellState (mxGraphView view, Object cell, Dictionary< string, Object > style)
     Constructs a new object that represents the current state of the given cell in the specified view. More...
     
    int AbsolutePointCount ()
     Returns the number of absolute points. More...
     
    mxRectangle GetPerimeterBounds ()
     Returns the rectangle that should be used as the perimeter of the cell. This implementation adds the perimeter spacing to the rectangle defined by this cell state. More...
     
    mxRectangle GetPerimeterBounds (double border)
     Returns the rectangle that should be used as the perimeter of the cell. More...
     
    void SetAbsoluteTerminalPoint (mxPoint point, bool source)
     Sets the first or last point in the list of points depending on source. More...
     
    new mxCellState Clone ()
     Returns a clone of this state where all members are deeply cloned except the view and cell references, which are copied with no cloning to the new instance. More...
     
    - Public Member Functions inherited from com.mxgraph.mxRectangle
     mxRectangle ()
     Constructs a new rectangle at (0, 0) with the width and height set to 0. More...
     
     mxRectangle (mxRectangle rect)
     Constructs a copy of the given rectangle. More...
     
     mxRectangle (Rectangle rect)
     Constructs a copy of the given rectangle. More...
     
     mxRectangle (double x, double y, double width, double height)
     Constructs a rectangle using the given parameters. More...
     
    void setRect (double x, double y, double w, double h)
     Sets this rectangle to the specified values More...
     
    double GetCenterX ()
     Returns the x-coordinate of the center. More...
     
    double GetCenterY ()
     Returns the y-coordinate of the center. More...
     
    void Add (mxRectangle rect)
     Adds the given rectangle to this rectangle. More...
     
    void Grow (double amount)
     Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height. More...
     
    bool Contains (double x, double y)
     Returns true if this rectangle contains the given point (x, y). More...
     
    Rectangle GetRectangle ()
     Returns the bounds as a new rectangle. More...
     
    new Boolean Equals (Object obj)
     Returns true if the given object equals this rectangle. More...
     
    new mxRectangle Clone ()
     Returns a new instance of the same rectangle. More...
     
    - Public Member Functions inherited from com.mxgraph.mxPoint
     mxPoint ()
     Constructs a new point at (0, 0). More...
     
     mxPoint (Point point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (mxPoint point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (double x, double y)
     Constructs a new point at (x, y). More...
     
    Point GetPoint ()
     Returns the coordinates as a new point. More...
     
    new Boolean Equals (Object obj)
     Returns true if the given object equals this point. More...
     
    mxPoint Clone ()
     Returns a new instance of the same point. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    mxGraphView view
     Reference to the enclosing graph view. More...
     
    Object cell
     Reference to the cell that is represented by this state. More...
     
    Dictionary< string, Object > style
     Contains an array of key, value pairs that represent the style of the cell. More...
     
    Boolean invalid = true
     Specifies if the state is invalid. Default is true. More...
     
    mxPoint origin = new mxPoint()
     Holds the origin for all child cells. More...
     
    List< mxPointabsolutePoints
     List of mxPoints that represent the absolute points of an edge. More...
     
    mxPoint absoluteOffset = new mxPoint()
     Holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex. More...
     
    double terminalDistance
     Caches the distance between the end points of an edge. More...
     
    double length
     Caches the length of an edge. More...
     
    double[] segments
     Array of numbers that represent the cached length of each segment of the edge. More...
     
    mxRectangle labelBounds
     Holds the rectangle which contains the label. More...
     
    mxRectangle boundingBox
     Holds the largest rectangle which contains all rendering for this cell. More...
     
    - Protected Attributes inherited from com.mxgraph.mxRectangle
    double width
     Holds the width. Default is 0. More...
     
    double height
     Holds the height. Default is 0. More...
     
    - Protected Attributes inherited from com.mxgraph.mxPoint
    double x
     Holds the x-coordinate of the point. Default is 0. More...
     
    double y
     Holds the y-coordinate of the point. Default is 0. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    mxGraphView View [get, set]
     Sets or returns the enclosing graph view. More...
     
    Object Cell [get, set]
     Sets or returns the cell that is represented by this state. More...
     
    Dictionary< string, Object > Style [get, set]
     Sets or returns the cell style as a map of key, value pairs. More...
     
    Boolean Invalid [get, set]
     Sets or returns the invalid state. More...
     
    mxPoint Origin [get, set]
     Sets or returns the origin for the children. More...
     
    List< mxPointAbsolutePoints [get, set]
     Sets or returns the absolute points. More...
     
    mxPoint AbsoluteOffset [get, set]
     Sets or returns the absolute offset. More...
     
    double TerminalDistance [get, set]
     Sets or returns the terminal distance. More...
     
    double Length [get, set]
     Sets or returns the length. More...
     
    double[] Segments [get, set]
     Sets or returns the length of the segments. More...
     
    mxRectangle LabelBounds [get, set]
     Sets or returns the label bounds. More...
     
    mxRectangle BoundingBox [get, set]
     Sets or returns the bounding box. More...
     
    - Properties inherited from com.mxgraph.mxRectangle
    double Width [get, set]
     Sets or returns the width of the rectangle. More...
     
    double Height [get, set]
     Sets or returns the height of the rectangle. More...
     
    - Properties inherited from com.mxgraph.mxPoint
    double X [get, set]
     Sets or returns the x-coordinate of the point. More...
     
    double Y [get, set]
     Sets or returns the y-coordinate of the point. More...
     
    +

    Detailed Description

    +

    Represents the current state of a cell in a given graph view.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxCellState.mxCellState ()
    +
    +inline
    +
    + +

    Constructs an empty cell state.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxCellState.mxCellState (mxGraphView view,
    Object cell,
    Dictionary< string, Object > style 
    )
    +
    +inline
    +
    + +

    Constructs a new object that represents the current state of the given cell in the specified view.

    +
    Parameters
    + + + + +
    viewGraph view that contains the state.
    cellCell that this state represents.
    styleArray of key, value pairs that constitute the style.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    int com.mxgraph.mxCellState.AbsolutePointCount ()
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    new mxCellState com.mxgraph.mxCellState.Clone ()
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    mxRectangle com.mxgraph.mxCellState.GetPerimeterBounds ()
    +
    +inline
    +
    + +

    Returns the rectangle that should be used as the perimeter of the cell. This implementation adds the perimeter spacing to the rectangle defined by this cell state.

    +
    Returns
    Returns the rectangle that defines the perimeter.
    + +

    Referenced by com.mxgraph.mxGraphView.GetPerimeterBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxCellState.GetPerimeterBounds (double border)
    +
    +inline
    +
    + +

    Returns the rectangle that should be used as the perimeter of the cell.

    +
    Parameters
    + + +
    border
    +
    +
    +
    Returns
    Returns the rectangle that defines the perimeter.
    + +

    References com.mxgraph.mxRectangle.Grow().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxCellState.SetAbsoluteTerminalPoint (mxPoint point,
    bool source 
    )
    +
    +inline
    +
    + +

    Sets the first or last point in the list of points depending on source.

    +
    Parameters
    + + + +
    pointPoint that represents the terminal point.
    sourceBoolean that specifies if the first or last point should be assigned.
    +
    +
    + +

    Referenced by com.mxgraph.mxGraphView.UpdateFixedTerminalPoint(), and com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxCellState.absoluteOffset = new mxPoint()
    +
    +protected
    +
    + +

    Holds the absolute offset. For edges, this is the absolute coordinates of the label position. For vertices, this is the offset of the label relative to the top, left corner of the vertex.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<mxPoint> com.mxgraph.mxCellState.absolutePoints
    +
    +protected
    +
    + +

    List of mxPoints that represent the absolute points of an edge.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxCellState.boundingBox
    +
    +protected
    +
    + +

    Holds the largest rectangle which contains all rendering for this cell.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Object com.mxgraph.mxCellState.cell
    +
    +protected
    +
    + +

    Reference to the cell that is represented by this state.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Boolean com.mxgraph.mxCellState.invalid = true
    +
    +protected
    +
    + +

    Specifies if the state is invalid. Default is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxCellState.labelBounds
    +
    +protected
    +
    + +

    Holds the rectangle which contains the label.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxCellState.length
    +
    +protected
    +
    + +

    Caches the length of an edge.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxCellState.origin = new mxPoint()
    +
    +protected
    +
    + +

    Holds the origin for all child cells.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double [] com.mxgraph.mxCellState.segments
    +
    +protected
    +
    + +

    Array of numbers that represent the cached length of each segment of the edge.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Object> com.mxgraph.mxCellState.style
    +
    +protected
    +
    + +

    Contains an array of key, value pairs that represent the style of the cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxCellState.terminalDistance
    +
    +protected
    +
    + +

    Caches the distance between the end points of an edge.

    + +

    Referenced by com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGraphView com.mxgraph.mxCellState.view
    +
    +protected
    +
    + +

    Reference to the enclosing graph view.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxCellState.AbsoluteOffset
    +
    +getset
    +
    +
    + + + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxCellState.BoundingBox
    +
    +getset
    +
    +
    + + + +
    +
    + + + + + +
    + + + + +
    Boolean com.mxgraph.mxCellState.Invalid
    +
    +getset
    +
    + +

    Sets or returns the invalid state.

    + +

    Referenced by com.mxgraph.mxGraphView.ValidateCellState().

    + +
    +
    + + + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxCellState.Length
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxCellState.Origin
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    double [] com.mxgraph.mxCellState.Segments
    +
    +getset
    +
    + +

    Sets or returns the length of the segments.

    + +

    Referenced by com.mxgraph.mxGraphView.GetPoint(), and com.mxgraph.mxGraphView.UpdateEdgeBounds().

    + +
    +
    + + + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxCellState.TerminalDistance
    +
    +getset
    +
    + +

    Sets or returns the terminal distance.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateEdgeBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGraphView com.mxgraph.mxCellState.View
    +
    +getset
    +
    + +

    Sets or returns the enclosing graph view.

    + +

    Referenced by com.mxgraph.mxStencil.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxCellState.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.png new file mode 100644 index 000000000..6cabb6b38 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCellState.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html new file mode 100644 index 000000000..4860677c2 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec-members.html @@ -0,0 +1,87 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCodec Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCodec, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + +
    AddElement(XmlNode node)com.mxgraph.mxCodecinlineprotected
    Decode(XmlNode node)com.mxgraph.mxCodecinline
    Decode(XmlNode node, Object into)com.mxgraph.mxCodecinline
    DecodeCell(XmlNode node, bool restoreStructures)com.mxgraph.mxCodecinline
    Documentcom.mxgraph.mxCodec
    documentcom.mxgraph.mxCodecprotected
    elementscom.mxgraph.mxCodecprotected
    Encode(Object obj)com.mxgraph.mxCodecinline
    EncodeCell(mxICell cell, XmlNode node, bool includeChildren)com.mxgraph.mxCodecinline
    encodeDefaultscom.mxgraph.mxCodecprotected
    GetElementById(string id)com.mxgraph.mxCodecinline
    GetId(Object obj)com.mxgraph.mxCodecinline
    GetObject(string id)com.mxgraph.mxCodecinline
    InsertIntoGraph(mxICell cell)com.mxgraph.mxCodecinline
    IsEncodeDefaultscom.mxgraph.mxCodec
    Lookup(string id)com.mxgraph.mxCodecinline
    mxCodec()com.mxgraph.mxCodecinline
    mxCodec(XmlDocument document)com.mxgraph.mxCodecinline
    objectscom.mxgraph.mxCodecprotected
    Objectscom.mxgraph.mxCodec
    PutObject(string id, Object obj)com.mxgraph.mxCodecinline
    Reference(Object obj)com.mxgraph.mxCodecinline
    SetAttribute(XmlNode node, string attribute, Object value)com.mxgraph.mxCodecinlinestatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html new file mode 100644 index 000000000..52d9fa56b --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodec.html @@ -0,0 +1,945 @@ + + + + + + +mxGraph: com.mxgraph.mxCodec Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    XML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor. Here is an example for parsing an existing XML document into a graph model: + More...

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxCodec ()
     Constructs an XML encoder/decoder with a new owner document. More...
     
     mxCodec (XmlDocument document)
     Constructs an XML encoder/decoder for the specified owner document. The document is required to resolve forward ID references. This means if you parse a graphmodel that is represented in XML you must also pass the document that contains the XML to the constructor, otherwise forward references will not be resolved. More...
     
    Object PutObject (string id, Object obj)
     Assoiates the given object with the given ID. More...
     
    Object GetObject (string id)
     Returns the decoded object for the element with the specified ID in document. If the object is not known then lookup is used to find an object. If no object is found, then the element with the respective ID from the document is parsed using decode. More...
     
    Object Lookup (string id)
     Hook for subclassers to implement a custom lookup mechanism for cell IDs. This implementation always returns null. More...
     
    XmlNode GetElementById (string id)
     Returns the element with the given ID from the document. More...
     
    string GetId (Object obj)
     Returns the ID of the specified object. This implementation calls reference first and if that returns null handles the object as an mxCell by returning their IDs using mxCell.getId. If no ID exists for the given cell, then an on-the-fly ID is generated using mxCellPath.create. More...
     
    string Reference (Object obj)
     Hook for subclassers to implement a custom method for retrieving IDs from objects. This implementation always returns null. More...
     
    XmlNode Encode (Object obj)
     Encodes the specified object and returns the resulting XML node. More...
     
    Object Decode (XmlNode node)
     Decodes the given XML node using decode(XmlNode, Object). More...
     
    Object Decode (XmlNode node, Object into)
     Decodes the given XML node. The optional "into" argument specifies an existing object to be used. If no object is given, then a new instance is created using the constructor from the codec. The function returns the passed in object or the new instance if no object was given. More...
     
    void EncodeCell (mxICell cell, XmlNode node, bool includeChildren)
     Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg. mxModelCodec, mxChildChangeCodec and mxRootChangeCodec). This implementation writes the given cell and its children as a (flat) sequence into the given node. The children are not encoded if the optional includeChildren is false. The function is in charge of adding the result into the given node and has no return value. More...
     
    mxICell DecodeCell (XmlNode node, bool restoreStructures)
     Decodes cells that have been encoded using inversion, ie. where the user object is the enclosing node in the XML, and restores the group and graph structure in the cells. Returns a new mxCell instance that represents the given node. More...
     
    void InsertIntoGraph (mxICell cell)
     Inserts the given cell into its parent and terminal cells. More...
     
    + + + + +

    +Static Public Member Functions

    static void SetAttribute (XmlNode node, string attribute, Object value)
     Sets the attribute on the specified node to value. This is a helper method that makes sure the attribute and value arguments are not null. More...
     
    + + + + +

    +Protected Member Functions

    void AddElement (XmlNode node)
     Adds the given element to <elements> if it has an ID. More...
     
    + + + + + + + + + + + + + +

    +Protected Attributes

    XmlDocument document
     Holds the owner document of the codec. More...
     
    Dictionary< string, object > objects = new Dictionary<string, Object>()
     Maps from IDs to objects. More...
     
    Dictionary< string, XmlNode > elements = null
     Maps from IDs to elements. More...
     
    bool encodeDefaults = false
     Specifies if default values should be encoded. Default is false. More...
     
    + + + + + + + + + + +

    +Properties

    XmlDocument Document [get, set]
     Sets or returns the owner document of the codec. More...
     
    bool IsEncodeDefaults [get, set]
     Sets or returns if default values of member variables should be encoded. More...
     
    Dictionary< string, object > Objects [get]
     Returns the object lookup table. More...
     
    +

    Detailed Description

    +

    XML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor. Here is an example for parsing an existing XML document into a graph model:

    +

    mxCodec codec = new mxCodec(doc); mxGraph graph = new mxGraph(); codec.Decode(doc.DocumentElement, graph.Model);

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxCodec.mxCodec ()
    +
    +inline
    +
    + +

    Constructs an XML encoder/decoder with a new owner document.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxCodec.mxCodec (XmlDocument document)
    +
    +inline
    +
    + +

    Constructs an XML encoder/decoder for the specified owner document. The document is required to resolve forward ID references. This means if you parse a graphmodel that is represented in XML you must also pass the document that contains the XML to the constructor, otherwise forward references will not be resolved.

    +
    Parameters
    + + +
    documentOptional XML document that contains the data. If no document is specified then a new document is created using mxUtils.createDocument
    +
    +
    + +

    References com.mxgraph.mxUtils.CreateDocument().

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxCodec.AddElement (XmlNode node)
    +
    +inlineprotected
    +
    + +

    Adds the given element to <elements> if it has an ID.

    +
    Parameters
    + + +
    nodeNode to be added.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxCodec.Decode (XmlNode node)
    +
    +inline
    +
    + +

    Decodes the given XML node using decode(XmlNode, Object).

    +
    Parameters
    + + +
    nodeXML node to be decoded.
    +
    +
    +
    Returns
    Returns an object that represents the given node.
    + +

    Referenced by com.mxgraph.mxObjectCodec.DecodeChild(), and com.mxgraph.mxObjectCodec.ProcessInclude().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxCodec.Decode (XmlNode node,
    Object into 
    )
    +
    +inline
    +
    + +

    Decodes the given XML node. The optional "into" argument specifies an existing object to be used. If no object is given, then a new instance is created using the constructor from the codec. The function returns the passed in object or the new instance if no object was given.

    +
    Parameters
    + + + +
    nodeXML node to be decoded.
    intoOptional object to be decodec into.
    +
    +
    +
    Returns
    Returns an object that represents the given node.
    + +

    References com.mxgraph.mxObjectCodec.Decode(), and com.mxgraph.mxCodecRegistry.GetCodec().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxCodec.DecodeCell (XmlNode node,
    bool restoreStructures 
    )
    +
    +inline
    +
    + +

    Decodes cells that have been encoded using inversion, ie. where the user object is the enclosing node in the XML, and restores the group and graph structure in the cells. Returns a new mxCell instance that represents the given node.

    +
    Parameters
    + + + +
    nodeXML node that contains the cell data.
    restoreStructuresBoolean indicating whether the graph structure should be restored by calling insert and insertEdge on the parent and terminals, respectively.
    +
    +
    +
    Returns
    Graph cell that represents the given node.
    + +

    References com.mxgraph.mxObjectCodec.Decode(), and com.mxgraph.mxCodecRegistry.GetCodec().

    + +

    Referenced by com.mxgraph.mxModelCodec.BeforeDecode().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    XmlNode com.mxgraph.mxCodec.Encode (Object obj)
    +
    +inline
    +
    + +

    Encodes the specified object and returns the resulting XML node.

    +
    Parameters
    + + +
    objObject to be encoded.
    +
    +
    +
    Returns
    Returns an XML node that represents the given object.
    + +

    References com.mxgraph.mxObjectCodec.Encode(), com.mxgraph.mxCodecRegistry.GetCodec(), and com.mxgraph.mxCodecRegistry.GetName().

    + +

    Referenced by com.mxgraph.mxObjectCodec.WriteComplexAttribute().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxCodec.EncodeCell (mxICell cell,
    XmlNode node,
    bool includeChildren 
    )
    +
    +inline
    +
    + +

    Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg. mxModelCodec, mxChildChangeCodec and mxRootChangeCodec). This implementation writes the given cell and its children as a (flat) sequence into the given node. The children are not encoded if the optional includeChildren is false. The function is in charge of adding the result into the given node and has no return value.

    +
    Parameters
    + + + + +
    cellmxCell to be encoded.
    nodeParent XML node to add the encoded cell into.
    includeChildrenBoolean indicating if the method should include all descendents
    +
    +
    + +

    References com.mxgraph.mxICell.ChildCount(), and com.mxgraph.mxICell.GetChildAt().

    + +

    Referenced by com.mxgraph.mxModelCodec.EncodeObject().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    XmlNode com.mxgraph.mxCodec.GetElementById (string id)
    +
    +inline
    +
    + +

    Returns the element with the given ID from the document.

    +
    Parameters
    + + +
    idID of the element to be returned.
    +
    +
    +
    Returns
    Returns the element for the given ID.
    + +

    Referenced by com.mxgraph.mxCellCodec.BeforeDecode().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxCodec.GetId (Object obj)
    +
    +inline
    +
    + +

    Returns the ID of the specified object. This implementation calls reference first and if that returns null handles the object as an mxCell by returning their IDs using mxCell.getId. If no ID exists for the given cell, then an on-the-fly ID is generated using mxCellPath.create.

    +
    Parameters
    + + +
    objObject to return the ID for.
    +
    +
    +
    Returns
    Returns the ID for the given object.
    + +

    References com.mxgraph.mxCellPath.Create().

    + +

    Referenced by com.mxgraph.mxObjectCodec.EncodeObject(), and com.mxgraph.mxObjectCodec.EncodeValue().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxCodec.GetObject (string id)
    +
    +inline
    +
    + +

    Returns the decoded object for the element with the specified ID in document. If the object is not known then lookup is used to find an object. If no object is found, then the element with the respective ID from the document is parsed using decode.

    +
    Parameters
    + + +
    idID of the object to be returned.
    +
    +
    +
    Returns
    Returns the object for the given ID.
    + +

    Referenced by com.mxgraph.mxObjectCodec.DecodeAttribute().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxCodec.InsertIntoGraph (mxICell cell)
    +
    +inline
    +
    + +

    Inserts the given cell into its parent and terminal cells.

    +
    Parameters
    + + +
    cell
    +
    +
    + +

    References com.mxgraph.mxICell.GetTerminal(), com.mxgraph.mxICell.Insert(), com.mxgraph.mxICell.InsertEdge(), com.mxgraph.mxICell.Parent, and com.mxgraph.mxICell.SetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxCodec.Lookup (string id)
    +
    +inline
    +
    + +

    Hook for subclassers to implement a custom lookup mechanism for cell IDs. This implementation always returns null.

    +
    Parameters
    + + +
    idID of the object to be returned.
    +
    +
    +
    Returns
    Returns the object for the given ID.
    + +

    Referenced by com.mxgraph.mxCellCodec.BeforeDecode().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxCodec.PutObject (string id,
    Object obj 
    )
    +
    +inline
    +
    + +

    Assoiates the given object with the given ID.

    +
    Parameters
    + + + +
    idID for the object to be associated with.
    objObject to be associated with the ID.
    +
    +
    +
    Returns
    Returns the given object.
    + +

    Referenced by com.mxgraph.mxStylesheetCodec.Decode(), and com.mxgraph.mxObjectCodec.Decode().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxCodec.Reference (Object obj)
    +
    +inline
    +
    + +

    Hook for subclassers to implement a custom method for retrieving IDs from objects. This implementation always returns null.

    +
    Parameters
    + + +
    objObject whose ID should be returned.
    +
    +
    +
    Returns
    Returns the ID for the given object.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxCodec.SetAttribute (XmlNode node,
    string attribute,
    Object value 
    )
    +
    +inlinestatic
    +
    + +

    Sets the attribute on the specified node to value. This is a helper method that makes sure the attribute and value arguments are not null.

    +
    Parameters
    + + + + +
    nodeXML node to set the attribute for.
    attributeAttributename to be set.
    valueNew value of the attribute.
    +
    +
    + +

    Referenced by com.mxgraph.mxObjectCodec.EncodeObject(), com.mxgraph.mxObjectCodec.WriteComplexAttribute(), and com.mxgraph.mxObjectCodec.WritePrimitiveAttribute().

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    XmlDocument com.mxgraph.mxCodec.document
    +
    +protected
    +
    + +

    Holds the owner document of the codec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, XmlNode> com.mxgraph.mxCodec.elements = null
    +
    +protected
    +
    + +

    Maps from IDs to elements.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCodec.encodeDefaults = false
    +
    +protected
    +
    + +

    Specifies if default values should be encoded. Default is false.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, object> com.mxgraph.mxCodec.objects = new Dictionary<string, Object>()
    +
    +protected
    +
    + +

    Maps from IDs to objects.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    XmlDocument com.mxgraph.mxCodec.Document
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxCodec.IsEncodeDefaults
    +
    +getset
    +
    + +

    Sets or returns if default values of member variables should be encoded.

    + +

    Referenced by com.mxgraph.mxObjectCodec.EncodeValue().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, object> com.mxgraph.mxCodec.Objects
    +
    +get
    +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/io/mxCodec.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html new file mode 100644 index 000000000..2ed39f145 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry-members.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxCodecRegistry Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxCodecRegistry, including all inherited members.

    + + + + + + + + + + + +
    AddAlias(string classname, string codecname)com.mxgraph.mxCodecRegistryinlinestatic
    AddNamespace(String ns)com.mxgraph.mxCodecRegistryinlinestatic
    aliasescom.mxgraph.mxCodecRegistryprotectedstatic
    codecscom.mxgraph.mxCodecRegistryprotectedstatic
    GetCodec(String name)com.mxgraph.mxCodecRegistryinlinestatic
    GetInstanceForName(String name)com.mxgraph.mxCodecRegistryinlinestatic
    GetName(Object instance)com.mxgraph.mxCodecRegistryinlinestatic
    GetTypeForName(String name)com.mxgraph.mxCodecRegistryinlinestatic
    namespacescom.mxgraph.mxCodecRegistryprotectedstatic
    Register(mxObjectCodec codec)com.mxgraph.mxCodecRegistryinlinestatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html new file mode 100644 index 000000000..6dbdb393e --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxCodecRegistry.html @@ -0,0 +1,412 @@ + + + + + + +mxGraph: com.mxgraph.mxCodecRegistry Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxCodecRegistry Class Reference
    +
    +
    + +

    Static class that acts as a global registry for codecs. See mxCodec for an example of using this class. + More...

    + + + + + + + + + + + + + + + + + + + + + + + +

    +Static Public Member Functions

    static mxObjectCodec Register (mxObjectCodec codec)
     Registers a new codec and associates the name of the template constructor in the codec with the codec object. Automatically creates an alias if the codename and the classname are not equal. More...
     
    static void AddAlias (string classname, string codecname)
     Adds an alias for mapping a classname to a codecname. More...
     
    static mxObjectCodec GetCodec (String name)
     Returns a codec that handles the given object, which can be an object instance or an XML node. More...
     
    static void AddNamespace (String ns)
     Adds the given namespace to the list of known namespaces. More...
     
    static Object GetInstanceForName (String name)
     Creates and returns a new instance for the given class name. More...
     
    static Type GetTypeForName (String name)
     Returns a class that corresponds to the given name. More...
     
    static String GetName (Object instance)
     Returns the name that identifies the codec associated with the given instance. The I/O system uses unqualified classnames, eg. for a com.mxgraph.model.mxCell this returns mxCell. More...
     
    + + + + + + + + + + +

    +Static Protected Attributes

    static Dictionary< string, mxObjectCodeccodecs = new Dictionary<string, mxObjectCodec>()
     Maps from constructor names to codecs. More...
     
    static Dictionary< string, string > aliases = new Dictionary<string, string>()
     Maps from classnames to codecnames. More...
     
    static List< string > namespaces = new List<string>()
     Holds the list of known namespaces. Packages are used to prefix short class names (eg. mxCell) in XML markup. More...
     
    +

    Detailed Description

    +

    Static class that acts as a global registry for codecs. See mxCodec for an example of using this class.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxCodecRegistry.AddAlias (string classname,
    string codecname 
    )
    +
    +inlinestatic
    +
    + +

    Adds an alias for mapping a classname to a codecname.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static void com.mxgraph.mxCodecRegistry.AddNamespace (String ns)
    +
    +inlinestatic
    +
    + +

    Adds the given namespace to the list of known namespaces.

    +
    Parameters
    + + +
    nsName of the namespace to be added.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static mxObjectCodec com.mxgraph.mxCodecRegistry.GetCodec (String name)
    +
    +inlinestatic
    +
    + +

    Returns a codec that handles the given object, which can be an object instance or an XML node.

    +
    Parameters
    + + +
    nameC# type name.
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxCellCodec.BeforeDecode(), com.mxgraph.mxCodec.Decode(), com.mxgraph.mxCodec.DecodeCell(), and com.mxgraph.mxCodec.Encode().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static Object com.mxgraph.mxCodecRegistry.GetInstanceForName (String name)
    +
    +inlinestatic
    +
    + +

    Creates and returns a new instance for the given class name.

    +
    Parameters
    + + +
    nameName of the class to be instantiated.
    +
    +
    +
    Returns
    Returns a new instance of the given class.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static String com.mxgraph.mxCodecRegistry.GetName (Object instance)
    +
    +inlinestatic
    +
    + +

    Returns the name that identifies the codec associated with the given instance. The I/O system uses unqualified classnames, eg. for a com.mxgraph.model.mxCell this returns mxCell.

    +
    Parameters
    + + +
    instanceInstance whose node name should be returned.
    +
    +
    +
    Returns
    Returns a string that identifies the codec.
    + +

    Referenced by com.mxgraph.mxCodec.Encode(), and com.mxgraph.mxObjectCodec.GetName().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static Type com.mxgraph.mxCodecRegistry.GetTypeForName (String name)
    +
    +inlinestatic
    +
    + +

    Returns a class that corresponds to the given name.

    +
    Parameters
    + + +
    name
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxUtils.Eval().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static mxObjectCodec com.mxgraph.mxCodecRegistry.Register (mxObjectCodec codec)
    +
    +inlinestatic
    +
    + +

    Registers a new codec and associates the name of the template constructor in the codec with the codec object. Automatically creates an alias if the codename and the classname are not equal.

    + +

    References com.mxgraph.mxObjectCodec.GetName(), and com.mxgraph.mxObjectCodec.Template.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, string> com.mxgraph.mxCodecRegistry.aliases = new Dictionary<string, string>()
    +
    +staticprotected
    +
    + +

    Maps from classnames to codecnames.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, mxObjectCodec> com.mxgraph.mxCodecRegistry.codecs = new Dictionary<string, mxObjectCodec>()
    +
    +staticprotected
    +
    + +

    Maps from constructor names to codecs.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<string> com.mxgraph.mxCodecRegistry.namespaces = new List<string>()
    +
    +staticprotected
    +
    + +

    Holds the list of known namespaces. Packages are used to prefix short class names (eg. mxCell) in XML markup.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/io/mxCodecRegistry.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html new file mode 100644 index 000000000..9d1281595 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint-members.html @@ -0,0 +1,71 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxConnectionConstraint Member List
    +
    + + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html new file mode 100644 index 000000000..7341011a5 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConnectionConstraint.html @@ -0,0 +1,294 @@ + + + + + + +mxGraph: com.mxgraph.mxConnectionConstraint Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxConnectionConstraint Class Reference
    +
    +
    + +

    Defines an object that contains the constraints about how to connect one side of an edge to its terminal. + More...

    + + + + + + + + + + + +

    +Public Member Functions

     mxConnectionConstraint ()
     Constructs an empty connection constraint. More...
     
     mxConnectionConstraint (mxPoint point)
     Constructs a connection constraint for the given point. More...
     
     mxConnectionConstraint (mxPoint point, bool perimeter)
     Constructs a new connection constraint for the given point and boolean arguments. More...
     
    + + + + + + + +

    +Protected Attributes

    mxPoint point
     Point that specifies the fixed location of the connection point. More...
     
    bool perimeter
     Boolean that specifies if the point should be projected onto the perimeter of the terminal. More...
     
    + + + + + + + +

    +Properties

    mxPoint Point [get, set]
     Sets or returns the point. More...
     
    bool Perimeter [get, set]
     Sets or returns perimeter. More...
     
    +

    Detailed Description

    +

    Defines an object that contains the constraints about how to connect one side of an edge to its terminal.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxConnectionConstraint.mxConnectionConstraint ()
    +
    +inline
    +
    + +

    Constructs an empty connection constraint.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxConnectionConstraint.mxConnectionConstraint (mxPoint point)
    +
    +inline
    +
    + +

    Constructs a connection constraint for the given point.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxConnectionConstraint.mxConnectionConstraint (mxPoint point,
    bool perimeter 
    )
    +
    +inline
    +
    + +

    Constructs a new connection constraint for the given point and boolean arguments.

    +
    Parameters
    + + + +
    pointOptional mxPoint that specifies the fixed location of the point in relative coordinates. Default is null.
    perimeterOptional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal. Default is true.
    +
    +
    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxConnectionConstraint.perimeter
    +
    +protected
    +
    + +

    Boolean that specifies if the point should be projected onto the perimeter of the terminal.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxConnectionConstraint.point
    +
    +protected
    +
    + +

    Point that specifies the fixed location of the connection point.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxConnectionConstraint.Perimeter
    +
    +getset
    +
    + +

    Sets or returns perimeter.

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxConnectionConstraint.Point
    +
    +getset
    +
    + +

    Sets or returns the point.

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionPoint().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxConnectionConstraint.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html new file mode 100644 index 000000000..1bb3c60a3 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants-members.html @@ -0,0 +1,214 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxConstants Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxConstants, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ALIGN_BOTTOMcom.mxgraph.mxConstants
    ALIGN_CENTERcom.mxgraph.mxConstants
    ALIGN_LEFTcom.mxgraph.mxConstants
    ALIGN_MIDDLEcom.mxgraph.mxConstants
    ALIGN_RIGHTcom.mxgraph.mxConstants
    ALIGN_TOPcom.mxgraph.mxConstants
    ARROW_BLOCKcom.mxgraph.mxConstants
    ARROW_CLASSICcom.mxgraph.mxConstants
    ARROW_DIAMONDcom.mxgraph.mxConstants
    ARROW_OPENcom.mxgraph.mxConstants
    ARROW_OVALcom.mxgraph.mxConstants
    ARROW_SIZEcom.mxgraph.mxConstantsstatic
    ARROW_SPACINGcom.mxgraph.mxConstantsstatic
    ARROW_WIDTHcom.mxgraph.mxConstantsstatic
    DEFAULT_FONTFAMILIEScom.mxgraph.mxConstantsstatic
    DEFAULT_FONTFAMILYcom.mxgraph.mxConstantsstatic
    DEFAULT_FONTSIZEcom.mxgraph.mxConstantsstatic
    DEFAULT_HOTSPOTcom.mxgraph.mxConstantsstatic
    DEFAULT_IMAGESIZEcom.mxgraph.mxConstantsstatic
    DEFAULT_MARKERSIZEcom.mxgraph.mxConstantsstatic
    DEFAULT_STARTSIZEcom.mxgraph.mxConstantsstatic
    DIRECTION_EASTcom.mxgraph.mxConstants
    DIRECTION_NORTHcom.mxgraph.mxConstants
    DIRECTION_SOUTHcom.mxgraph.mxConstants
    DIRECTION_WESTcom.mxgraph.mxConstants
    EDGESTYLE_ELBOWcom.mxgraph.mxConstants
    EDGESTYLE_ENTITY_RELATIONcom.mxgraph.mxConstants
    EDGESTYLE_LOOPcom.mxgraph.mxConstants
    EDGESTYLE_SIDETOSIDEcom.mxgraph.mxConstants
    EDGESTYLE_TOPTOBOTTOMcom.mxgraph.mxConstants
    ELBOW_HORIZONTALcom.mxgraph.mxConstants
    ELBOW_VERTICALcom.mxgraph.mxConstants
    ENTITY_SEGMENTcom.mxgraph.mxConstantsstatic
    FONT_BOLDcom.mxgraph.mxConstants
    FONT_ITALICcom.mxgraph.mxConstants
    FONT_SIZEFACTORcom.mxgraph.mxConstantsstatic
    FONT_UNDERLINEcom.mxgraph.mxConstants
    LABEL_INSETcom.mxgraph.mxConstantsstatic
    LINE_ARCSIZEcom.mxgraph.mxConstantsstatic
    LINESPACINGcom.mxgraph.mxConstantsstatic
    MIN_HOTSPOT_SIZEcom.mxgraph.mxConstantsstatic
    NONEcom.mxgraph.mxConstantsstatic
    NS_SVGcom.mxgraph.mxConstantsstatic
    NS_XHTMLcom.mxgraph.mxConstantsstatic
    NS_XLINKcom.mxgraph.mxConstantsstatic
    PERIMETER_ELLIPSEcom.mxgraph.mxConstants
    PERIMETER_RECTANGLEcom.mxgraph.mxConstants
    PERIMETER_RHOMBUScom.mxgraph.mxConstants
    PERIMETER_TRIANGLEcom.mxgraph.mxConstants
    RECTANGLE_ROUNDING_FACTORcom.mxgraph.mxConstantsstatic
    SHADOW_OFFSETXcom.mxgraph.mxConstantsstatic
    SHADOW_OFFSETYcom.mxgraph.mxConstantsstatic
    SHADOWCOLORcom.mxgraph.mxConstantsstatic
    SHAPE_ACTORcom.mxgraph.mxConstants
    SHAPE_ARROWcom.mxgraph.mxConstants
    SHAPE_CLOUDcom.mxgraph.mxConstants
    SHAPE_CONNECTORcom.mxgraph.mxConstants
    SHAPE_CYLINDERcom.mxgraph.mxConstants
    SHAPE_DOUBLE_ELLIPSEcom.mxgraph.mxConstants
    SHAPE_ELLIPSEcom.mxgraph.mxConstants
    SHAPE_HEXAGONcom.mxgraph.mxConstants
    SHAPE_IMAGEcom.mxgraph.mxConstants
    SHAPE_LABELcom.mxgraph.mxConstants
    SHAPE_LINEcom.mxgraph.mxConstants
    SHAPE_RECTANGLEcom.mxgraph.mxConstants
    SHAPE_RHOMBUScom.mxgraph.mxConstants
    SHAPE_SWIMLANEcom.mxgraph.mxConstants
    SHAPE_TRIANGLEcom.mxgraph.mxConstants
    STENCIL_SHADOW_OPACITYcom.mxgraph.mxConstantsstatic
    STENCIL_SHADOWCOLORcom.mxgraph.mxConstantsstatic
    STYLE_ALIGNcom.mxgraph.mxConstantsstatic
    STYLE_DASHEDcom.mxgraph.mxConstantsstatic
    STYLE_DIRECTIONcom.mxgraph.mxConstantsstatic
    STYLE_EDGEcom.mxgraph.mxConstantsstatic
    STYLE_ELBOWcom.mxgraph.mxConstantsstatic
    STYLE_ENDARROWcom.mxgraph.mxConstantsstatic
    STYLE_ENDSIZEcom.mxgraph.mxConstantsstatic
    STYLE_ENTRY_PERIMETERcom.mxgraph.mxConstantsstatic
    STYLE_ENTRY_Xcom.mxgraph.mxConstantsstatic
    STYLE_ENTRY_Ycom.mxgraph.mxConstantsstatic
    STYLE_EXIT_PERIMETERcom.mxgraph.mxConstantsstatic
    STYLE_EXIT_Xcom.mxgraph.mxConstantsstatic
    STYLE_EXIT_Ycom.mxgraph.mxConstantsstatic
    STYLE_FILL_OPACITYcom.mxgraph.mxConstantsstatic
    STYLE_FILLCOLORcom.mxgraph.mxConstantsstatic
    STYLE_FONTCOLORcom.mxgraph.mxConstantsstatic
    STYLE_FONTFAMILYcom.mxgraph.mxConstantsstatic
    STYLE_FONTSIZEcom.mxgraph.mxConstantsstatic
    STYLE_FONTSTYLEcom.mxgraph.mxConstantsstatic
    STYLE_GLASScom.mxgraph.mxConstantsstatic
    STYLE_GRADIENT_DIRECTIONcom.mxgraph.mxConstantsstatic
    STYLE_GRADIENTCOLORcom.mxgraph.mxConstantsstatic
    STYLE_HORIZONTALcom.mxgraph.mxConstantsstatic
    STYLE_IMAGEcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_ALIGNcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_BACKGROUNDcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_BORDERcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_FLIPHcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_FLIPVcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_HEIGHTcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_VERTICAL_ALIGNcom.mxgraph.mxConstantsstatic
    STYLE_IMAGE_WIDTHcom.mxgraph.mxConstantsstatic
    STYLE_INDICATOR_COLORcom.mxgraph.mxConstantsstatic
    STYLE_INDICATOR_GRADIENTCOLORcom.mxgraph.mxConstantsstatic
    STYLE_INDICATOR_HEIGHTcom.mxgraph.mxConstantsstatic
    STYLE_INDICATOR_IMAGEcom.mxgraph.mxConstantsstatic
    STYLE_INDICATOR_SHAPEcom.mxgraph.mxConstantsstatic
    STYLE_INDICATOR_SPACINGcom.mxgraph.mxConstantsstatic
    STYLE_INDICATOR_WIDTHcom.mxgraph.mxConstantsstatic
    STYLE_LABEL_BACKGROUNDCOLORcom.mxgraph.mxConstantsstatic
    STYLE_LABEL_BORDERCOLORcom.mxgraph.mxConstantsstatic
    STYLE_LABEL_POSITIONcom.mxgraph.mxConstantsstatic
    STYLE_LOOPcom.mxgraph.mxConstantsstatic
    STYLE_NOEDGESTYLEcom.mxgraph.mxConstantsstatic
    STYLE_NOLABELcom.mxgraph.mxConstantsstatic
    STYLE_OPACITYcom.mxgraph.mxConstantsstatic
    STYLE_ORTHOGONALcom.mxgraph.mxConstantsstatic
    STYLE_OVERFLOWcom.mxgraph.mxConstantsstatic
    STYLE_PERIMETERcom.mxgraph.mxConstantsstatic
    STYLE_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic
    STYLE_ROTATIONcom.mxgraph.mxConstantsstatic
    STYLE_ROUNDEDcom.mxgraph.mxConstantsstatic
    STYLE_ROUTING_CENTER_Xcom.mxgraph.mxConstantsstatic
    STYLE_ROUTING_CENTER_Ycom.mxgraph.mxConstantsstatic
    STYLE_SEGMENTcom.mxgraph.mxConstantsstatic
    STYLE_SEPARATORCOLORcom.mxgraph.mxConstantsstatic
    STYLE_SHADOWcom.mxgraph.mxConstantsstatic
    STYLE_SHAPEcom.mxgraph.mxConstantsstatic
    STYLE_SOURCE_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic
    STYLE_SOURCE_PORTcom.mxgraph.mxConstantsstatic
    STYLE_SPACINGcom.mxgraph.mxConstantsstatic
    STYLE_SPACING_BOTTOMcom.mxgraph.mxConstantsstatic
    STYLE_SPACING_LEFTcom.mxgraph.mxConstantsstatic
    STYLE_SPACING_RIGHTcom.mxgraph.mxConstantsstatic
    STYLE_SPACING_TOPcom.mxgraph.mxConstantsstatic
    STYLE_STARTARROWcom.mxgraph.mxConstantsstatic
    STYLE_STARTSIZEcom.mxgraph.mxConstantsstatic
    STYLE_STENCIL_FLIPHcom.mxgraph.mxConstantsstatic
    STYLE_STENCIL_FLIPVcom.mxgraph.mxConstantsstatic
    STYLE_STROKE_OPACITYcom.mxgraph.mxConstantsstatic
    STYLE_STROKECOLORcom.mxgraph.mxConstantsstatic
    STYLE_STROKEWIDTHcom.mxgraph.mxConstantsstatic
    STYLE_SWIMLANE_FILLCOLORcom.mxgraph.mxConstantsstatic
    STYLE_TARGET_PERIMETER_SPACINGcom.mxgraph.mxConstantsstatic
    STYLE_TARGET_PORTcom.mxgraph.mxConstantsstatic
    STYLE_TEXT_OPACITYcom.mxgraph.mxConstantsstatic
    STYLE_VERTICAL_ALIGNcom.mxgraph.mxConstantsstatic
    STYLE_VERTICAL_LABEL_POSITIONcom.mxgraph.mxConstantsstatic
    STYLE_WHITE_SPACEcom.mxgraph.mxConstantsstatic
    W3C_SHADOWCOLORcom.mxgraph.mxConstantsstatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html new file mode 100644 index 000000000..034366ab2 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxConstants.html @@ -0,0 +1,3730 @@ + + + + + + +mxGraph: com.mxgraph.mxConstants Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxConstants Class Reference
    +
    +
    + +

    Defines various global constants. + More...

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Attributes

    const int FONT_BOLD = 1
     FONT_BOLD More...
     
    const int FONT_ITALIC = 2
     FONT_ITALIC More...
     
    const int FONT_UNDERLINE = 4
     FONT_UNDERLINE More...
     
    const string SHAPE_RECTANGLE = "rectangle"
     SHAPE_RECTANGLE More...
     
    const string SHAPE_ELLIPSE = "ellipse"
     SHAPE_ELLIPSE More...
     
    const string SHAPE_DOUBLE_ELLIPSE = "doubleEllipse"
     SHAPE_DOUBLE_ELLIPSE More...
     
    const string SHAPE_RHOMBUS = "rhombus"
     SHAPE_RHOMBUS More...
     
    const string SHAPE_LINE = "line"
     SHAPE_LINE More...
     
    const string SHAPE_IMAGE = "image"
     SHAPE_IMAGE More...
     
    const string SHAPE_ARROW = "arrow"
     SHAPE_ARROW More...
     
    const string SHAPE_LABEL = "label"
     SHAPE_LABEL More...
     
    const string SHAPE_CYLINDER = "cylinder"
     SHAPE_CYLINDER More...
     
    const string SHAPE_SWIMLANE = "swimlane"
     SHAPE_SWIMLANE More...
     
    const string SHAPE_CONNECTOR = "connector"
     SHAPE_CONNECTOR More...
     
    const string SHAPE_ACTOR = "actor"
     SHAPE_ACTOR More...
     
    const string SHAPE_CLOUD = "cloud"
     SHAPE_CLOUD More...
     
    const string SHAPE_TRIANGLE = "triangle"
     SHAPE_TRIANGLE More...
     
    const string SHAPE_HEXAGON = "hexagon"
     SHAPE_HEXAGON More...
     
    const string ARROW_CLASSIC = "classic"
     ARROW_CLASSIC More...
     
    const string ARROW_BLOCK = "block"
     ARROW_BLOCK More...
     
    const string ARROW_OPEN = "open"
     ARROW_OPEN More...
     
    const string ARROW_OVAL = "oval"
     ARROW_BLOCK More...
     
    const string ARROW_DIAMOND = "diamond"
     ARROW_OPEN More...
     
    const string ALIGN_LEFT = "left"
     ALIGN_LEFT More...
     
    const string ALIGN_CENTER = "center"
     ALIGN_CENTER More...
     
    const string ALIGN_RIGHT = "right"
     ALIGN_RIGHT More...
     
    const string ALIGN_TOP = "top"
     ALIGN_TOP More...
     
    const string ALIGN_MIDDLE = "middle"
     ALIGN_MIDDLE More...
     
    const string ALIGN_BOTTOM = "bottom"
     ALIGN_BOTTOM More...
     
    const string DIRECTION_NORTH = "north"
     
    const string DIRECTION_SOUTH = "south"
     
    const string DIRECTION_EAST = "east"
     
    const string DIRECTION_WEST = "west"
     
    const string ELBOW_VERTICAL = "vertical"
     ELBOW_VERTICAL More...
     
    const string ELBOW_HORIZONTAL = "horizontal"
     ELBOW_HORIZONTAL More...
     
    const string EDGESTYLE_ELBOW = "elbowEdgeStyle"
     Name of the elbow edge style. Can be used as a string value More...
     
    const string EDGESTYLE_ENTITY_RELATION = "entityRelationEdgeStyle"
     Name of the entity relation edge style. Can be used as a string value More...
     
    const string EDGESTYLE_LOOP = "loopEdgeStyle"
     Name of the loop edge style. Can be used as a string value More...
     
    const string EDGESTYLE_SIDETOSIDE = "sideToSideEdgeStyle"
     Name of the side to side edge style. Can be used as a string value More...
     
    const string EDGESTYLE_TOPTOBOTTOM = "topToBottomEdgeStyle"
     Name of the top to bottom edge style. Can be used as a string value More...
     
    const string PERIMETER_ELLIPSE = "ellipsePerimeter"
     Name of the ellipse perimeter. Can be used as a string value More...
     
    const string PERIMETER_RECTANGLE = "rectanglePerimeter"
     Name of the rectangle perimeter. Can be used as a string value More...
     
    const string PERIMETER_RHOMBUS = "rhombusPerimeter"
     Name of the rhombus perimeter. Can be used as a string value More...
     
    const string PERIMETER_TRIANGLE = "trianglePerimeter"
     Name of the triangle perimeter. Can be used as a string value More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Static Public Attributes

    static double DEFAULT_HOTSPOT = 0.3
     Defines the portion of the cell which is More...
     
    static double MIN_HOTSPOT_SIZE = 8
     Defines the minimum size in pixels of the More...
     
    static string NS_SVG = "http://www.w3.org/2000/svg"
     Defines the SVG namespace. More...
     
    static string NS_XHTML = "http://www.w3.org/1999/xhtml"
     Defines the XHTML namespace. More...
     
    static string NS_XLINK = "http://www.w3.org/1999/xlink"
     Defines the XLink namespace. More...
     
    static String DEFAULT_FONTFAMILIES = "Arial,Helvetica"
     Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica. More...
     
    static String DEFAULT_FONTFAMILY = "Arial"
     Default family for fonts. Default is Arial. More...
     
    static float DEFAULT_FONTSIZE = 11
     Default size for fonts (in px). Value is 11. More...
     
    static float DEFAULT_STARTSIZE = 40
     Defines the default start size for swimlanes. Default is 40. More...
     
    static int LINESPACING = 2
     Specifies the line spacing. Default is 2. More...
     
    static double FONT_SIZEFACTOR = 0.75
     Defines the factor to multiply font sizes in points to be used as font sizes in em. Default is 1/1.33 = 0.75. More...
     
    static int LABEL_INSET = 3
     Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3. More...
     
    static float DEFAULT_MARKERSIZE = 6
     Default size for markers. Value is 6. More...
     
    static int DEFAULT_IMAGESIZE = 24
     Defines the default width and height for images used in the label shape. Default is 24. More...
     
    static int STENCIL_SHADOW_OPACITY = 1
     Defines the default opacity for stencils shadows. Default is 1. More...
     
    static String STENCIL_SHADOWCOLOR = "gray"
     Defines the default shadow color for stencils. Default is "gray". More...
     
    static Color SHADOWCOLOR = Color.Gray
     Defines the color to be used to draw shadows. Default is gray. More...
     
    static int SHADOW_OFFSETX = 2
     Defines the x-offset to be used for shadows. Default is 2. More...
     
    static int SHADOW_OFFSETY = 3
     Defines the y-offset to be used for shadows. Default is 3. More...
     
    static string W3C_SHADOWCOLOR = "gray"
     Defines the color to be used to draw shadows in W3C standards. Default is gray. More...
     
    static int ENTITY_SEGMENT = 30
     Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30. More...
     
    static double RECTANGLE_ROUNDING_FACTOR = 0.15
     Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15. More...
     
    static double LINE_ARCSIZE = 10
     Defines the size of the arcs for rounded edges. Default is 10. More...
     
    static int ARROW_SPACING = 10
     Defines the spacing between the arrow shape and its terminals. Default is 10. More...
     
    static int ARROW_WIDTH = 30
     Defines the width of the arrow shape. Default is 30. More...
     
    static int ARROW_SIZE = 30
     Defines the size of the arrowhead in the arrow shape. Default is 30. More...
     
    static string NONE = "none"
     Defines the value for none. Default is "none". More...
     
    static string STYLE_PERIMETER = "perimeter"
     Defines the key for the perimeter style. Possible values are the functions defined in mxPerimeter. More...
     
    static string STYLE_SOURCE_PORT = "sourcePort"
     Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge. More...
     
    static string STYLE_TARGET_PORT = "targetPort"
     Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge. More...
     
    static string STYLE_OPACITY = "opacity"
     Defines the key for the opacity style (0-100). More...
     
    static string STYLE_FILL_OPACITY = "fillOpacity"
     Defines the key for the text fill opacity style (0-100). More...
     
    static string STYLE_STROKE_OPACITY = "strokeOpacity"
     Defines the key for the stroke opacity style (0-100). More...
     
    static string STYLE_TEXT_OPACITY = "textOpacity"
     Defines the key for the text opacity style (0-100). More...
     
    static string STYLE_OVERFLOW = "overflow"
     Defines the key for the overflow style. Possible values are "visible", "hidden" and "fill". The default value is "visible". This value specifies how overlapping vertex labels are handles. A value of "visible" will show the complete label. A value of "hidden" will clip the label so that it does not overlap the vertex bounds. A value of "fill" will use the vertex bounds for the label. More...
     
    static string STYLE_ORTHOGONAL = "orthogonal"
     Defines if the connection points on either end of the edge should be More...
     
    static string STYLE_EXIT_X = "exitX"
     Defines the key for the horizontal relative coordinate connection point More...
     
    static string STYLE_EXIT_Y = "exitY"
     Defines the key for the vertical relative coordinate connection point More...
     
    static string STYLE_EXIT_PERIMETER = "exitPerimeter"
     Defines if the perimeter should be used to find the exact entry point More...
     
    static string STYLE_ENTRY_X = "entryX"
     Defines the key for the horizontal relative coordinate connection point More...
     
    static string STYLE_ENTRY_Y = "entryY"
     Defines the key for the vertical relative coordinate connection point More...
     
    static string STYLE_ENTRY_PERIMETER = "entryPerimeter"
     Defines if the perimeter should be used to find the exact entry point More...
     
    static string STYLE_WHITE_SPACE = "whiteSpace"
     Defines the key for the white-space style. Possible values are "nowrap" and "wrap". The default value is "nowrap". This value specifies how white-space inside a HTML vertex label should be handled. A value of "nowrap" means the text will never wrap to the next line until a linefeed is encountered. A value of "wrap" means text will wrap when necessary. More...
     
    static string STYLE_ROTATION = "rotation"
     Defines the key for the rotation style (0-360). More...
     
    static string STYLE_FILLCOLOR = "fillColor"
     Defines the key for the fillColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
     
    static string STYLE_SWIMLANE_FILLCOLOR = "swimlaneFillColor"
     Defines the key for the swimlaneFillColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
     
    static string STYLE_GRADIENTCOLOR = "gradientColor"
     Defines the key for the gradientColor style. The value is a string expression supported by ColorTranslator.FromHtml. This is ignored if no fill color is defined. More...
     
    static string STYLE_GRADIENT_DIRECTION = "gradientDirection"
     Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between. More...
     
    static string STYLE_STROKECOLOR = "strokeColor"
     Defines the key for the strokeColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
     
    static string STYLE_SEPARATORCOLOR = "separatorColor"
     Defines the key for the separatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. This style is only used for SHAPE_SWIMLANE shapes. More...
     
    static string STYLE_STROKEWIDTH = "strokeWidth"
     Defines the key for the strokeWidth style. The type of the value is float and the possible range is any non-negative value. The value reflects the stroke width in pixels. More...
     
    static string STYLE_ALIGN = "align"
     Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION More...
     
    static string STYLE_VERTICAL_ALIGN = "verticalAlign"
     Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION. More...
     
    static String STYLE_LABEL_POSITION = "labelPosition"
     Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN. More...
     
    static String STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition"
     Defines the key for the vertical label position of vertices. Possible More...
     
    static string STYLE_IMAGE_ALIGN = "imageAlign"
     Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape. More...
     
    static string STYLE_IMAGE_VERTICAL_ALIGN = "imageVerticalAlign"
     Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape. More...
     
    static String STYLE_GLASS = "glass"
     Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel. More...
     
    static string STYLE_IMAGE = "image"
     Defines the key for the image style. Possible values are any image URL, registered key in mxImageResources or short data URI as defined in mxImageBundle. The type of the value is String. This is the path to the image to image that is to be displayed within the label of a vertex. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL. More...
     
    static string STYLE_IMAGE_WIDTH = "imageWidth"
     Defines the key for the imageWidth style. The type of this value is int, the value is the image width in pixels and must be greated than 0. More...
     
    static string STYLE_IMAGE_HEIGHT = "imageHeight"
     Defines the key for the imageHeight style The type of this value is int, the value is the image height in pixels and must be greater than 0. More...
     
    static string STYLE_IMAGE_BACKGROUND = "imageBackground"
     Defines the key for the image background color. This style is only used More...
     
    static string STYLE_IMAGE_BORDER = "imageBorder"
     Defines the key for the image border color. This style is only used for More...
     
    static string STYLE_IMAGE_FLIPH = "imageFlipH"
     Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. More...
     
    static string STYLE_IMAGE_FLIPV = "imageFlipV"
     Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0. More...
     
    static String STYLE_STENCIL_FLIPH = "stencilFlipH"
     Defines the key for the horizontal stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0. More...
     
    static String STYLE_STENCIL_FLIPV = "stencilFlipV"
     Defines the key for the vertical stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0. More...
     
    static String STYLE_NOLABEL = "noLabel"
     Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false (0). More...
     
    static String STYLE_NOEDGESTYLE = "noEdgeStyle"
     Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false. More...
     
    static String STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor"
     Defines the key for the label background color. The value is a string expression supported by ColorTranslator.FromHtml. More...
     
    static String STYLE_LABEL_BORDERCOLOR = "labelBorderColor"
     Defines the key for the label border color. The value is a string expression supported by ColorTranslator.FromHtml. More...
     
    static string STYLE_INDICATOR_SHAPE = "indicatorShape"
     Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants. More...
     
    static string STYLE_INDICATOR_IMAGE = "indicatorImage"
     Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value is String. More...
     
    static string STYLE_INDICATOR_COLOR = "indicatorColor"
     Defines the key for the indicatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. More...
     
    static string STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor"
     Defines the key for the indicatorGradientColor style. The value is a string expression supported byColorTranslator.FromHtml. This style is only supported in SHAPE_LABEL shapes. More...
     
    static string STYLE_INDICATOR_SPACING = "indicatorSpacing"
     Defines the key for the indicatorSpacing style (in px). More...
     
    static string STYLE_INDICATOR_WIDTH = "indicatorWidth"
     Defines the key for the indicatorWidth style (in px). More...
     
    static string STYLE_INDICATOR_HEIGHT = "indicatorHeight"
     Defines the key for the indicatorHeight style (in px). More...
     
    static string STYLE_SHADOW = "shadow"
     Defines the key for the shadow style. The type of the value is boolean. This style applies to vertices and arrow style edges. More...
     
    static String STYLE_SEGMENT = "segment"
     Defines the key for the segment style. The type of this value is float and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT. More...
     
    static string STYLE_ENDARROW = "endArrow"
     Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in the mxConnector shape. More...
     
    static string STYLE_STARTARROW = "startArrow"
     Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape. More...
     
    static string STYLE_ENDSIZE = "endSize"
     Defines the key for the endSize style. The type of this value is float and the value represents the size of the end marker in pixels. More...
     
    static string STYLE_STARTSIZE = "startSize"
     Defines the key for the startSize style. The type of this value is float and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for. More...
     
    static string STYLE_DASHED = "dashed"
     Defines the key for the dashed style. The type of this value is boolean and the value determines whether or not an edge or border is drawn with a dashed pattern along the line. More...
     
    static string STYLE_ROUNDED = "rounded"
     Defines the key for the rounded style. The type of this value is boolean. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded. More...
     
    static string STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing"
     Defines the key for the source perimeter spacing. The type of this value is double. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges. More...
     
    static string STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing"
     Defines the key for the target perimeter spacing. The type of this value is double. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges. More...
     
    static string STYLE_PERIMETER_SPACING = "perimeterSpacing"
     Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex). More...
     
    static string STYLE_SPACING = "spacing"
     Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only). More...
     
    static string STYLE_SPACING_TOP = "spacingTop"
     Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only). More...
     
    static string STYLE_SPACING_LEFT = "spacingLeft"
     Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only). More...
     
    static string STYLE_SPACING_BOTTOM = "spacingBottom"
     Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only). More...
     
    static string STYLE_SPACING_RIGHT = "spacingRight"
     Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only). More...
     
    static string STYLE_HORIZONTAL = "horizontal"
     Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is SHAPE_SWIMLANE a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically. More...
     
    static string STYLE_DIRECTION = "direction"
     Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. This value only applies to vertices. More...
     
    static string STYLE_ELBOW = "elbow"
     Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides. More...
     
    static string STYLE_FONTCOLOR = "fontColor"
     Defines the key for the fontColor style. The value is type String and of the expression supported by ColorTranslator.FromHtml. More...
     
    static string STYLE_FONTFAMILY = "fontFamily"
     Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of type String. More...
     
    static string STYLE_FONTSIZE = "fontSize"
     Defines the key for the fontSize style (in px). The type of the value is int. More...
     
    static string STYLE_FONTSTYLE = "fontStyle"
     Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value is int. More...
     
    static string STYLE_SHAPE = "shape"
     Defines the key for the shape style. Possible values are any of the SHAPE_* constants. More...
     
    static string STYLE_EDGE = "edgeStyle"
     Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle. More...
     
    static string STYLE_LOOP = "loopStyle"
     Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle. More...
     
    static String STYLE_ROUTING_CENTER_X = "routingCenterX"
     Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float. More...
     
    static String STYLE_ROUTING_CENTER_Y = "routingCenterY"
     Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float. More...
     
    +

    Detailed Description

    +

    Defines various global constants.

    +

    Member Data Documentation

    + + + + + + + + + + + + + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.ARROW_BLOCK = "block"
    +
    + +

    ARROW_BLOCK

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.ARROW_CLASSIC = "classic"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.ARROW_DIAMOND = "diamond"
    +
    + +

    ARROW_OPEN

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.ARROW_OPEN = "open"
    +
    + +

    ARROW_OPEN

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.ARROW_OVAL = "oval"
    +
    + +

    ARROW_BLOCK

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawMarker().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.ARROW_SIZE = 30
    +
    +static
    +
    + +

    Defines the size of the arrowhead in the arrow shape. Default is 30.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.ARROW_SPACING = 10
    +
    +static
    +
    + +

    Defines the spacing between the arrow shape and its terminals. Default is 10.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.ARROW_WIDTH = 30
    +
    +static
    +
    + +

    Defines the width of the arrow shape. Default is 30.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.DEFAULT_FONTFAMILIES = "Arial,Helvetica"
    +
    +static
    +
    + +

    Comma separated list of default fonts for CSS properties. And the default font family value for new image export. Default is Arial, Helvetica.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.DEFAULT_FONTFAMILY = "Arial"
    +
    +static
    +
    + +

    Default family for fonts. Default is Arial.

    + +

    Referenced by com.mxgraph.mxUtils.GetFont().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    float com.mxgraph.mxConstants.DEFAULT_FONTSIZE = 11
    +
    +static
    +
    + +

    Default size for fonts (in px). Value is 11.

    + +

    Referenced by com.mxgraph.mxUtils.GetFont().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxConstants.DEFAULT_HOTSPOT = 0.3
    +
    +static
    +
    + +

    Defines the portion of the cell which is

    +

    to be used as a connectable region.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.DEFAULT_IMAGESIZE = 24
    +
    +static
    +
    + +

    Defines the default width and height for images used in the label shape. Default is 24.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    float com.mxgraph.mxConstants.DEFAULT_MARKERSIZE = 6
    +
    +static
    +
    + +

    Default size for markers. Value is 6.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    float com.mxgraph.mxConstants.DEFAULT_STARTSIZE = 40
    +
    +static
    +
    + +

    Defines the default start size for swimlanes. Default is 40.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.DIRECTION_EAST = "east"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.DIRECTION_NORTH = "north"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.DIRECTION_SOUTH = "south"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.DIRECTION_WEST = "west"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.EDGESTYLE_ELBOW = "elbowEdgeStyle"
    +
    + +

    Name of the elbow edge style. Can be used as a string value

    +

    for the STYLE_EDGE style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.EDGESTYLE_ENTITY_RELATION = "entityRelationEdgeStyle"
    +
    + +

    Name of the entity relation edge style. Can be used as a string value

    +

    for the STYLE_EDGE style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.EDGESTYLE_LOOP = "loopEdgeStyle"
    +
    + +

    Name of the loop edge style. Can be used as a string value

    +

    for the STYLE_EDGE style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.EDGESTYLE_SIDETOSIDE = "sideToSideEdgeStyle"
    +
    + +

    Name of the side to side edge style. Can be used as a string value

    +

    for the STYLE_EDGE style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.EDGESTYLE_TOPTOBOTTOM = "topToBottomEdgeStyle"
    +
    + +

    Name of the top to bottom edge style. Can be used as a string value

    +

    for the STYLE_EDGE style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.ELBOW_HORIZONTAL = "horizontal"
    +
    + +

    ELBOW_HORIZONTAL

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.ELBOW_VERTICAL = "vertical"
    +
    + +

    ELBOW_VERTICAL

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.ENTITY_SEGMENT = 30
    +
    +static
    +
    + +

    Defines the length of the horizontal segment of an Entity Relation. This can be overridden using mxConstants.STYLE_SEGMENT style. Default is 30.

    + +
    +
    + +
    +
    + + + + +
    const int com.mxgraph.mxConstants.FONT_BOLD = 1
    +
    +
    + +
    +
    + + + + +
    const int com.mxgraph.mxConstants.FONT_ITALIC = 2
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxConstants.FONT_SIZEFACTOR = 0.75
    +
    +static
    +
    + +

    Defines the factor to multiply font sizes in points to be used as font sizes in em. Default is 1/1.33 = 0.75.

    + +

    Referenced by com.mxgraph.mxUtils.GetFont(), and com.mxgraph.mxGdiCanvas2D.UpdateFont().

    + +
    +
    + +
    +
    + + + + +
    const int com.mxgraph.mxConstants.FONT_UNDERLINE = 4
    +
    + +

    FONT_UNDERLINE

    + +

    Referenced by com.mxgraph.mxUtils.GetFont(), and com.mxgraph.mxGdiCanvas2D.UpdateFont().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.LABEL_INSET = 3
    +
    +static
    +
    + +

    Defines the inset in absolute pixels between the label bounding box and the label text. Default is 3.

    + +

    Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxConstants.LINE_ARCSIZE = 10
    +
    +static
    +
    + +

    Defines the size of the arcs for rounded edges. Default is 10.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.LINESPACING = 2
    +
    +static
    +
    + +

    Specifies the line spacing. Default is 2.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxConstants.MIN_HOTSPOT_SIZE = 8
    +
    +static
    +
    + +

    Defines the minimum size in pixels of the

    +

    portion of the cell cell which is to be used as a connectable region.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.NONE = "none"
    +
    +static
    +
    + +

    Defines the value for none. Default is "none".

    + +

    Referenced by com.mxgraph.mxStylesheet.GetCellStyle(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGdiCanvas2D.ParseColor().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.NS_SVG = "http://www.w3.org/2000/svg"
    +
    +static
    +
    + +

    Defines the SVG namespace.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.NS_XHTML = "http://www.w3.org/1999/xhtml"
    +
    +static
    +
    + +

    Defines the XHTML namespace.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.NS_XLINK = "http://www.w3.org/1999/xlink"
    +
    +static
    +
    + +

    Defines the XLink namespace.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.PERIMETER_ELLIPSE = "ellipsePerimeter"
    +
    + +

    Name of the ellipse perimeter. Can be used as a string value

    +

    for the STYLE_PERIMETER style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.PERIMETER_RECTANGLE = "rectanglePerimeter"
    +
    + +

    Name of the rectangle perimeter. Can be used as a string value

    +

    for the STYLE_PERIMETER style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.PERIMETER_RHOMBUS = "rhombusPerimeter"
    +
    + +

    Name of the rhombus perimeter. Can be used as a string value

    +

    for the STYLE_PERIMETER style.

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.PERIMETER_TRIANGLE = "trianglePerimeter"
    +
    + +

    Name of the triangle perimeter. Can be used as a string value

    +

    for the STYLE_PERIMETER style.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxConstants.RECTANGLE_ROUNDING_FACTOR = 0.15
    +
    +static
    +
    + +

    Defines the rounding factor for rounded rectangles in percent between 0 and 1. Values should be smaller than 0.5. Default is 0.15.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.SHADOW_OFFSETX = 2
    +
    +static
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.SHADOW_OFFSETY = 3
    +
    +static
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    Color com.mxgraph.mxConstants.SHADOWCOLOR = Color.Gray
    +
    +static
    +
    + +

    Defines the color to be used to draw shadows. Default is gray.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawOval(), com.mxgraph.mxGdiCanvas.DrawPath(), com.mxgraph.mxGdiCanvas.DrawPolygon(), and com.mxgraph.mxGdiCanvas.DrawRect().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_ACTOR = "actor"
    +
    + +

    SHAPE_ACTOR

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_ARROW = "arrow"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_CLOUD = "cloud"
    +
    + +

    SHAPE_CLOUD

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_CONNECTOR = "connector"
    +
    + +

    SHAPE_CONNECTOR

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_CYLINDER = "cylinder"
    +
    + +

    SHAPE_CYLINDER

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_DOUBLE_ELLIPSE = "doubleEllipse"
    +
    + +

    SHAPE_DOUBLE_ELLIPSE

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_ELLIPSE = "ellipse"
    +
    + +

    SHAPE_ELLIPSE

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_HEXAGON = "hexagon"
    +
    + +

    SHAPE_HEXAGON

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_IMAGE = "image"
    +
    + +

    SHAPE_IMAGE

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_LABEL = "label"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_LINE = "line"
    +
    + +

    SHAPE_LINE

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_RECTANGLE = "rectangle"
    +
    + +

    SHAPE_RECTANGLE

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_RHOMBUS = "rhombus"
    +
    + +

    SHAPE_RHOMBUS

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_SWIMLANE = "swimlane"
    +
    +
    + +
    +
    + + + + +
    const string com.mxgraph.mxConstants.SHAPE_TRIANGLE = "triangle"
    +
    + +

    SHAPE_TRIANGLE

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxConstants.STENCIL_SHADOW_OPACITY = 1
    +
    +static
    +
    + +

    Defines the default opacity for stencils shadows. Default is 1.

    + +

    Referenced by com.mxgraph.mxStencil.DrawShadow().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STENCIL_SHADOWCOLOR = "gray"
    +
    +static
    +
    + +

    Defines the default shadow color for stencils. Default is "gray".

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ALIGN = "align"
    +
    +static
    +
    + +

    Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. This value defines how the lines of the label are horizontally aligned. ALIGN_LEFT mean label text lines are aligned to left of the label bounds, ALIGN_RIGHT to the right of the label bounds and ALIGN_CENTER means the center of the text lines are aligned in the center of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds horizontally, use STYLE_LABEL_POSITION

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxUtils.GetStringFormat().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_DASHED = "dashed"
    +
    +static
    +
    + +

    Defines the key for the dashed style. The type of this value is boolean and the value determines whether or not an edge or border is drawn with a dashed pattern along the line.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_DIRECTION = "direction"
    +
    +static
    +
    + +

    Defines the key for the direction style. The direction style is used to specify the direction of certain shapes (eg. mxTriangle). Possible values are DIRECTION_EAST (default), DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. This value only applies to vertices.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_EDGE = "edgeStyle"
    +
    +static
    +
    + +

    Takes a function that creates points. Possible values are the functions defined in mxEdgeStyle.

    + +

    Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ELBOW = "elbow"
    +
    +static
    +
    + +

    Defines the key for the elbow style. Possible values are ELBOW_HORIZONTAL and ELBOW_VERTICAL. Default is ELBOW_HORIZONTAL. This defines how the three segment orthogonal edge style leaves its terminal vertices. The vertical style leaves the terminal vertices at the top and bottom sides.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ENDARROW = "endArrow"
    +
    +static
    +
    + +

    Defines the key for the endArrow style. Possible values are all constants in this class that start with ARROW_. This style is supported in the mxConnector shape.

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ENDSIZE = "endSize"
    +
    +static
    +
    + +

    Defines the key for the endSize style. The type of this value is float and the value represents the size of the end marker in pixels.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ENTRY_PERIMETER = "entryPerimeter"
    +
    +static
    +
    + +

    Defines if the perimeter should be used to find the exact entry point

    +

    along the perimeter of the target. Possible values are 0 (false) and 1 (true). Default is 1 (true).

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ENTRY_X = "entryX"
    +
    +static
    +
    + +

    Defines the key for the horizontal relative coordinate connection point

    +

    of an edge with its target terminal.

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ENTRY_Y = "entryY"
    +
    +static
    +
    + +

    Defines the key for the vertical relative coordinate connection point

    +

    of an edge with its target terminal.

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_EXIT_PERIMETER = "exitPerimeter"
    +
    +static
    +
    + +

    Defines if the perimeter should be used to find the exact entry point

    +

    along the perimeter of the source. Possible values are 0 (false) and 1 (true). Default is 1 (true).

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_EXIT_X = "exitX"
    +
    +static
    +
    + +

    Defines the key for the horizontal relative coordinate connection point

    +

    of an edge with its source terminal.

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_EXIT_Y = "exitY"
    +
    +static
    +
    + +

    Defines the key for the vertical relative coordinate connection point

    +

    of an edge with its source terminal.

    + +

    Referenced by com.mxgraph.mxGraph.GetConnectionConstraint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_FILL_OPACITY = "fillOpacity"
    +
    +static
    +
    + +

    Defines the key for the text fill opacity style (0-100).

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_FILLCOLOR = "fillColor"
    +
    +static
    +
    + +

    Defines the key for the fillColor style. The value is a string expression supported by ColorTranslator.FromHtml.

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_FONTCOLOR = "fontColor"
    +
    +static
    +
    + +

    Defines the key for the fontColor style. The value is type String and of the expression supported by ColorTranslator.FromHtml.

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), and com.mxgraph.mxGdiCanvas.DrawText().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_FONTFAMILY = "fontFamily"
    +
    +static
    +
    + +

    Defines the key for the fontFamily style. Possible values are names such as Arial; Dialog; Verdana; Times New Roman. The value is of type String.

    + +

    Referenced by com.mxgraph.mxUtils.GetFont().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_FONTSIZE = "fontSize"
    +
    +static
    +
    + +

    Defines the key for the fontSize style (in px). The type of the value is int.

    + +

    Referenced by com.mxgraph.mxUtils.GetFont().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_FONTSTYLE = "fontStyle"
    +
    +static
    +
    + +

    Defines the key for the fontStyle style. Values may be any logical AND (sum) of FONT_BOLD, FONT_ITALIC and FONT_UNDERLINE. The type of the value is int.

    + +

    Referenced by com.mxgraph.mxUtils.GetFont().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_GLASS = "glass"
    +
    +static
    +
    + +

    Defines the key for the glass style. Possible values are 0 (disabled) and 1(enabled). The default value is 0. This is used in mxLabel.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_GRADIENT_DIRECTION = "gradientDirection"
    +
    +static
    +
    + +

    Defines the key for the gradient direction. Possible values are DIRECTION_EAST, DIRECTION_WEST, DIRECTION_NORTH and DIRECTION_SOUTH. Default is DIRECTION_SOUTH. Generally, and by default in mxGraph, gradient painting is done from the value of STYLE_FILLCOLOR to the value of STYLE_GRADIENTCOLOR. Taking the example of DIRECTION_NORTH, this means STYLE_FILLCOLOR color at the bottom of paint pattern and STYLE_GRADIENTCOLOR at top, with a gradient in-between.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_GRADIENTCOLOR = "gradientColor"
    +
    +static
    +
    + +

    Defines the key for the gradientColor style. The value is a string expression supported by ColorTranslator.FromHtml. This is ignored if no fill color is defined.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_HORIZONTAL = "horizontal"
    +
    +static
    +
    + +

    Defines the key for the horizontal style. Possible values are true or false. This value only applies to vertices. If the STYLE_SHAPE is SHAPE_SWIMLANE a value of false indicates that the swimlane should be drawn vertically, true indicates to draw it horizontally. If the shape style does not indicate that this vertex is a swimlane, this value affects only whether the label is drawn horizontally or vertically.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawText(), com.mxgraph.mxUtils.GetLabelPaintBounds(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE = "image"
    +
    +static
    +
    + +

    Defines the key for the image style. Possible values are any image URL, registered key in mxImageResources or short data URI as defined in mxImageBundle. The type of the value is String. This is the path to the image to image that is to be displayed within the label of a vertex. See mxGraphics2DCanvas.getImageForStyle, loadImage and setImageBasePath on how the image URL is resolved. Finally, mxUtils.loadImage is used for loading the image for a given URL.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxBasicCanvas.GetImageForStyle(), com.mxgraph.mxGraph.PostProcessCellStyle(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN = "imageAlign"
    +
    +static
    +
    + +

    Defines the key for the align style. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. The value defines how any image in the vertex label is aligned horizontally within the label bounds of a SHAPE_LABEL shape.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_BACKGROUND = "imageBackground"
    +
    +static
    +
    + +

    Defines the key for the image background color. This style is only used

    +

    for image shapes. Possible values are all HTML color names or HEX codes.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_BORDER = "imageBorder"
    +
    +static
    +
    + +

    Defines the key for the image border color. This style is only used for

    +

    image shapes. Possible values are all HTML color names or HEX codes.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPH = "imageFlipH"
    +
    +static
    +
    + +

    Defines the key for the horizontal image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_FLIPV = "imageFlipV"
    +
    +static
    +
    + +

    Defines the key for the vertical image flip. This style is only used in mxImageShape. Possible values are 0 and 1. Default is 0.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT = "imageHeight"
    +
    +static
    +
    + +

    Defines the key for the imageHeight style The type of this value is int, the value is the image height in pixels and must be greater than 0.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN = "imageVerticalAlign"
    +
    +static
    +
    + +

    Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. The value defines how any image in the vertex label is aligned vertically within the label bounds of a SHAPE_LABEL shape.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH = "imageWidth"
    +
    +static
    +
    + +

    Defines the key for the imageWidth style. The type of this value is int, the value is the image width in pixels and must be greated than 0.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_INDICATOR_COLOR = "indicatorColor"
    +
    +static
    +
    + +

    Defines the key for the indicatorColor style. The value is a string expression supported by ColorTranslator.FromHtml.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_INDICATOR_GRADIENTCOLOR = "indicatorGradientColor"
    +
    +static
    +
    + +

    Defines the key for the indicatorGradientColor style. The value is a string expression supported byColorTranslator.FromHtml. This style is only supported in SHAPE_LABEL shapes.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_INDICATOR_HEIGHT = "indicatorHeight"
    +
    +static
    +
    + +

    Defines the key for the indicatorHeight style (in px).

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_INDICATOR_IMAGE = "indicatorImage"
    +
    +static
    +
    + +

    Defines the key for the indicatorImage style. Possible values are any image URL, the type of the value is String.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_INDICATOR_SHAPE = "indicatorShape"
    +
    +static
    +
    + +

    Defines the key for the indicatorShape style. Possible values are any of the SHAPE_* constants.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_INDICATOR_SPACING = "indicatorSpacing"
    +
    +static
    +
    + +

    Defines the key for the indicatorSpacing style (in px).

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_INDICATOR_WIDTH = "indicatorWidth"
    +
    +static
    +
    + +

    Defines the key for the indicatorWidth style (in px).

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_LABEL_BACKGROUNDCOLOR = "labelBackgroundColor"
    +
    +static
    +
    + +

    Defines the key for the label background color. The value is a string expression supported by ColorTranslator.FromHtml.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawText().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_LABEL_BORDERCOLOR = "labelBorderColor"
    +
    +static
    +
    + +

    Defines the key for the label border color. The value is a string expression supported by ColorTranslator.FromHtml.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawText().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_LABEL_POSITION = "labelPosition"
    +
    +static
    +
    + +

    Defines the key for the horizontal label position of vertices. Possible values are ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT. Default is ALIGN_CENTER. The label align defines the position of the label relative to the cell. ALIGN_LEFT means the entire label bounds is placed completely just to the left of the vertex, ALIGN_RIGHT means adjust to the right and ALIGN_CENTER means the label bounds are vertically aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label horizontally within the label bounds, use STYLE_ALIGN.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateVertexLabelOffset().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_LOOP = "loopStyle"
    +
    +static
    +
    + +

    Defines the key for the loop style. Possible values are the functions defined in mxEdgeStyle.

    + +

    Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_NOEDGESTYLE = "noEdgeStyle"
    +
    +static
    +
    + +

    Defines the key for the noEdgeStyle style. If this is true then no edge style is applied for a given edge. Possible values are true or false (1 or 0). Default is false.

    + +

    Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_NOLABEL = "noLabel"
    +
    +static
    +
    + +

    Defines the key for the noLabel style. If this is true then no label is visible for a given cell. Possible values are true or false (1 or 0). Default is false (0).

    + +

    Referenced by com.mxgraph.mxGraph.GetLabel().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_OPACITY = "opacity"
    +
    +static
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ORTHOGONAL = "orthogonal"
    +
    +static
    +
    + +

    Defines if the connection points on either end of the edge should be

    +

    computed so that the edge is vertical or horizontal if possible and if the point is not at a fixed location. Default is false. This is used in mxGraph.IsOrthogonal, which also returns true if the edgeStyle of the edge is an elbow or entity.

    + +

    Referenced by com.mxgraph.mxGraph.IsOrthogonal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_OVERFLOW = "overflow"
    +
    +static
    +
    + +

    Defines the key for the overflow style. Possible values are "visible", "hidden" and "fill". The default value is "visible". This value specifies how overlapping vertex labels are handles. A value of "visible" will show the complete label. A value of "hidden" will clip the label so that it does not overlap the vertex bounds. A value of "fill" will use the vertex bounds for the label.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateBoundingBox(), and com.mxgraph.mxGraphView.UpdateLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_PERIMETER = "perimeter"
    +
    +static
    +
    + +

    Defines the key for the perimeter style. Possible values are the functions defined in mxPerimeter.

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), and com.mxgraph.mxGraphView.GetPerimeterFunction().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_PERIMETER_SPACING = "perimeterSpacing"
    +
    +static
    +
    + +

    Defines the key for the perimeter spacing. This is the distance between the connection point and the perimeter in pixels. When used in a vertex style, this applies to all incoming edges to floating ports (edges that terminate on the perimeter of the vertex). When used in an edge style, this spacing applies to the source and target separately, if they terminate in floating ports (on the perimeter of the vertex).

    + +

    Referenced by com.mxgraph.mxGraphView.GetPerimeterBounds(), and com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ROTATION = "rotation"
    +
    +static
    +
    + +

    Defines the key for the rotation style (0-360).

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_ROUNDED = "rounded"
    +
    +static
    +
    + +

    Defines the key for the rounded style. The type of this value is boolean. For edges this determines whether or not joins between edges segments are smoothed to a rounded finish. For vertices that have the rectangle shape, this determines whether or not the rectangle is rounded.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGdiCanvas.DrawShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_X = "routingCenterX"
    +
    +static
    +
    + +

    Defines the key for the horizontal routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.

    + +

    Referenced by com.mxgraph.mxGraphView.GetRoutingCenterX().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_Y = "routingCenterY"
    +
    +static
    +
    + +

    Defines the key for the vertical routing center. Possible values are between -0.5 and 0.5. This is the relative offset from the center used for connecting edges. The type of this value is float.

    + +

    Referenced by com.mxgraph.mxGraphView.GetRoutingCenterY().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_SEGMENT = "segment"
    +
    +static
    +
    + +

    Defines the key for the segment style. The type of this value is float and the value represents the size of the horizontal segment of the entity relation style. Default is ENTITY_SEGMENT.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SEPARATORCOLOR = "separatorColor"
    +
    +static
    +
    + +

    Defines the key for the separatorColor style. The value is a string expression supported by ColorTranslator.FromHtml. This style is only used for SHAPE_SWIMLANE shapes.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SHADOW = "shadow"
    +
    +static
    +
    + +

    Defines the key for the shadow style. The type of the value is boolean. This style applies to vertices and arrow style edges.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SHAPE = "shape"
    +
    +static
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SOURCE_PERIMETER_SPACING = "sourcePerimeterSpacing"
    +
    +static
    +
    + +

    Defines the key for the source perimeter spacing. The type of this value is double. This is the distance between the source connection point of an edge and the perimeter of the source vertex in pixels. This style only applies to edges.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SOURCE_PORT = "sourcePort"
    +
    +static
    +
    + +

    Defines the ID of the cell that should be used for computing the perimeter point of the source for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.

    + +

    Referenced by com.mxgraph.mxGraphView.GetTerminalPort().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SPACING = "spacing"
    +
    +static
    +
    + +

    Defines the key for the spacing. The value represents the spacing, in pixels, added to each side of a label in a vertex (style applies to vertices only).

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxUtils.GetScaledLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SPACING_BOTTOM = "spacingBottom"
    +
    +static
    +
    + +

    Defines the key for the spacingBottom style The value represents the spacing, in pixels, added to the bottom side of a label in a vertex (style applies to vertices only).

    + +

    Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SPACING_LEFT = "spacingLeft"
    +
    +static
    +
    + +

    Defines the key for the spacingLeft style. The value represents the spacing, in pixels, added to the left side of a label in a vertex (style applies to vertices only).

    + +

    Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SPACING_RIGHT = "spacingRight"
    +
    +static
    +
    + +

    Defines the key for the spacingRight style The value represents the spacing, in pixels, added to the right side of a label in a vertex (style applies to vertices only).

    + +

    Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SPACING_TOP = "spacingTop"
    +
    +static
    +
    + +

    Defines the key for the spacingTop style. The value represents the spacing, in pixels, added to the top side of a label in a vertex (style applies to vertices only).

    + +

    Referenced by com.mxgraph.mxUtils.GetScaledLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_STARTARROW = "startArrow"
    +
    +static
    +
    + +

    Defines the key for the startArrow style. Possible values are all constants in this class that start with ARROW_. See STYLE_ENDARROW. This style is supported in the mxConnector shape.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_STARTSIZE = "startSize"
    +
    +static
    +
    + +

    Defines the key for the startSize style. The type of this value is float and the value represents the size of the start marker or the size of the swimlane title region depending on the shape it is used for.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPH = "stencilFlipH"
    +
    +static
    +
    + +

    Defines the key for the horizontal stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.

    + +

    Referenced by com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_STENCIL_FLIPV = "stencilFlipV"
    +
    +static
    +
    + +

    Defines the key for the vertical stencil flip. This style is only used for <mxStencilShape>. Possible values are 0 and 1. Default is 0.

    + +

    Referenced by com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_STROKE_OPACITY = "strokeOpacity"
    +
    +static
    +
    + +

    Defines the key for the stroke opacity style (0-100).

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_STROKECOLOR = "strokeColor"
    +
    +static
    +
    + +

    Defines the key for the strokeColor style. The value is a string expression supported by ColorTranslator.FromHtml.

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_STROKEWIDTH = "strokeWidth"
    +
    +static
    +
    + +

    Defines the key for the strokeWidth style. The type of the value is float and the possible range is any non-negative value. The value reflects the stroke width in pixels.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawGlassEffect(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxStencil.DrawShape(), com.mxgraph.mxStencil.PaintShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_SWIMLANE_FILLCOLOR = "swimlaneFillColor"
    +
    +static
    +
    + +

    Defines the key for the swimlaneFillColor style. The value is a string expression supported by ColorTranslator.FromHtml.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_TARGET_PERIMETER_SPACING = "targetPerimeterSpacing"
    +
    +static
    +
    + +

    Defines the key for the target perimeter spacing. The type of this value is double. This is the distance between the target connection point of an edge and the perimeter of the target vertex in pixels. This style only applies to edges.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_TARGET_PORT = "targetPort"
    +
    +static
    +
    + +

    Defines the ID of the cell that should be used for computing the perimeter point of the target for an edge. This allows for graphically connecting to a cell while keeping the actual terminal of the edge.

    + +

    Referenced by com.mxgraph.mxGraphView.GetTerminalPort().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_TEXT_OPACITY = "textOpacity"
    +
    +static
    +
    + +

    Defines the key for the text opacity style (0-100).

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_VERTICAL_ALIGN = "verticalAlign"
    +
    +static
    +
    + +

    Defines the key for the verticalAlign style. Possible values are ALIGN_TOP, ALIGN_MIDDLE and ALIGN_BOTTOM. This value defines how the lines of the label are vertically aligned. ALIGN_TOP means the topmost label text line is aligned against the top of the label bounds, ALIGN_BOTTOM means the bottom-most label text line is aligned against the bottom of the label bounds and ALIGN_MIDDLE means there is equal spacing between the topmost text label line and the top of the label bounds and the bottom-most text label line and the bottom of the label bounds. Note this value doesn't affect the positioning of the overall label bounds relative to the vertex, to move the label bounds vertically, use STYLE_VERTICAL_LABEL_POSITION.

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle(), com.mxgraph.mxStylesheet.CreateDefaultVertexStyle(), com.mxgraph.mxUtils.GetScaledLabelBounds(), and com.mxgraph.mxUtils.GetStringFormat().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxConstants.STYLE_VERTICAL_LABEL_POSITION = "verticalLabelPosition"
    +
    +static
    +
    + +

    Defines the key for the vertical label position of vertices. Possible

    +

    values are ALIGN_TOP, ALIGN_BOTTOM and ALIGN_MIDDLE. Default is ALIGN_MIDDLE. The label align defines the position of the label relative to the cell. ALIGN_TOP means the entire label bounds is placed completely just on the top of the vertex, ALIGN_BOTTOM means adjust on the bottom and ALIGN_MIDDLE means the label bounds are horizontally aligned with the bounds of the vertex. Note this value doesn't affect the positioning of label within the label bounds, to move the label vertically within the label bounds, use STYLE_VERTICAL_ALIGN.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateVertexLabelOffset().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.STYLE_WHITE_SPACE = "whiteSpace"
    +
    +static
    +
    + +

    Defines the key for the white-space style. Possible values are "nowrap" and "wrap". The default value is "nowrap". This value specifies how white-space inside a HTML vertex label should be handled. A value of "nowrap" means the text will never wrap to the next line until a linefeed is encountered. A value of "wrap" means text will wrap when necessary.

    + +

    Referenced by com.mxgraph.mxUtils.GetLabelPaintBounds(), and com.mxgraph.mxUtils.GetStringFormat().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxConstants.W3C_SHADOWCOLOR = "gray"
    +
    +static
    +
    + +

    Defines the color to be used to draw shadows in W3C standards. Default is gray.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxConstants.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html new file mode 100644 index 000000000..552825b00 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle-members.html @@ -0,0 +1,69 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxEdgeStyle Member List
    +
    + + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html new file mode 100644 index 000000000..60f4315da --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxEdgeStyle.html @@ -0,0 +1,210 @@ + + + + + + +mxGraph: com.mxgraph.mxEdgeStyle Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxEdgeStyle Class Reference
    +
    +
    + +

    Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style. + More...

    + + + + + + + + + + + + + + + + + +

    +Static Public Attributes

    static mxEdgeStyleFunction EntityRelation
     Implements an entity relation style for edges (as used in database schema diagrams). More...
     
    static mxEdgeStyleFunction Loop
     Implements a self-reference, aka. loop. More...
     
    static mxEdgeStyleFunction ElbowConnector
     Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style. SideToSide is used if horizontal is true or unspecified. More...
     
    static mxEdgeStyleFunction SideToSide
     Implements a vertical elbow edge. More...
     
    static mxEdgeStyleFunction TopToBottom
     Implements a horizontal elbow edge. More...
     
    +

    Detailed Description

    +

    Provides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.

    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.ElbowConnector
    +
    +static
    +
    + +

    Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style. SideToSide is used if horizontal is true or unspecified.

    + +

    Referenced by com.mxgraph.mxGraph.IsOrthogonal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.EntityRelation
    +
    +static
    +
    + +

    Implements an entity relation style for edges (as used in database schema diagrams).

    + +

    Referenced by com.mxgraph.mxGraph.IsOrthogonal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.Loop
    +
    +static
    +
    + +

    Implements a self-reference, aka. loop.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.SideToSide
    +
    +static
    +
    + +

    Implements a vertical elbow edge.

    + +

    Referenced by com.mxgraph.mxGraph.IsOrthogonal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxEdgeStyleFunction com.mxgraph.mxEdgeStyle.TopToBottom
    +
    +static
    +
    + +

    Implements a horizontal elbow edge.

    + +

    Referenced by com.mxgraph.mxGraph.IsOrthogonal().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxEdgeStyle.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html new file mode 100644 index 000000000..10253bac1 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout-members.html @@ -0,0 +1,97 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxFastOrganicLayout Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxFastOrganicLayout, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    allowedToRuncom.mxgraph.mxFastOrganicLayoutprotected
    calcAttraction()com.mxgraph.mxFastOrganicLayoutinlineprotected
    calcPositions()com.mxgraph.mxFastOrganicLayoutinlineprotected
    calcRepulsion()com.mxgraph.mxFastOrganicLayoutinlineprotected
    cellLocationcom.mxgraph.mxFastOrganicLayoutprotected
    dispXcom.mxgraph.mxFastOrganicLayoutprotected
    dispYcom.mxgraph.mxFastOrganicLayoutprotected
    execute(Object parent)com.mxgraph.mxFastOrganicLayoutinline
    forceConstantcom.mxgraph.mxFastOrganicLayoutprotected
    ForceConstantcom.mxgraph.mxFastOrganicLayout
    forceConstantSquaredcom.mxgraph.mxFastOrganicLayoutprotected
    graphcom.mxgraph.mxFastOrganicLayoutprotected
    indicescom.mxgraph.mxFastOrganicLayoutprotected
    initialTempcom.mxgraph.mxFastOrganicLayoutprotected
    InitialTempcom.mxgraph.mxFastOrganicLayout
    IsAllowedToRuncom.mxgraph.mxFastOrganicLayout
    IsCellIgnored(Object cell)com.mxgraph.mxFastOrganicLayoutinline
    isMoveablecom.mxgraph.mxFastOrganicLayoutprotected
    iterationcom.mxgraph.mxFastOrganicLayoutprotected
    maxIterationscom.mxgraph.mxFastOrganicLayoutprotected
    MaxIterationscom.mxgraph.mxFastOrganicLayout
    MinDistanceLimitcom.mxgraph.mxFastOrganicLayout
    minDistanceLimitcom.mxgraph.mxFastOrganicLayoutprotected
    minDistanceLimitSquaredcom.mxgraph.mxFastOrganicLayoutprotected
    move(Object cell, double x, double y)com.mxgraph.mxFastOrganicLayoutinline
    mxFastOrganicLayout(mxGraph graph)com.mxgraph.mxFastOrganicLayoutinline
    neighbourscom.mxgraph.mxFastOrganicLayoutprotected
    radiuscom.mxgraph.mxFastOrganicLayoutprotected
    radiusSquaredcom.mxgraph.mxFastOrganicLayoutprotected
    randomcom.mxgraph.mxFastOrganicLayoutprotected
    reduceTemperature()com.mxgraph.mxFastOrganicLayoutinlineprotected
    temperaturecom.mxgraph.mxFastOrganicLayoutprotected
    vertexArraycom.mxgraph.mxFastOrganicLayoutprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html new file mode 100644 index 000000000..b01624303 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.html @@ -0,0 +1,1006 @@ + + + + + + +mxGraph: com.mxgraph.mxFastOrganicLayout Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxFastOrganicLayout Class Reference
    +
    +
    + +

    Fast organic layout algorithm. + More...

    +
    +Inheritance diagram for com.mxgraph.mxFastOrganicLayout:
    +
    +
    + + +com.mxgraph.mxIGraphLayout + +
    + + + + + + + + + + + + + + +

    +Public Member Functions

     mxFastOrganicLayout (mxGraph graph)
     Constructs a new fast organic layout for the specified graph. More...
     
    bool IsCellIgnored (Object cell)
     Returns true if the given cell should be ignored by the layout algorithm. This implementation returns false if the cell is a vertex and has at least one connected edge. More...
     
    void move (Object cell, double x, double y)
     Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layou will position the vertex as close to the point (x, y) as possible. More...
     
    void execute (Object parent)
     Executes the fast organic layout. More...
     
    + + + + + + + + + + + + + +

    +Protected Member Functions

    void reduceTemperature ()
     Reduces the temperature of the layout from an initial setting in a linear fashion to zero. More...
     
    void calcPositions ()
     Takes the displacements calculated for each cell and applies them to the local cache of cell positions. Limits the displacement to the current temperature. More...
     
    void calcAttraction ()
     Calculates the attractive forces between all laid out nodes linked by edges More...
     
    void calcRepulsion ()
     Calculates the repulsive forces between all laid out nodes More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    mxGraph graph
     Holds the enclosing graph. More...
     
    double forceConstant = 50
     The force constant by which the attractive forces are divided and the replusive forces are multiple by the square of. The value equates to the average radius there is of free space around each node. Default is 50. More...
     
    double forceConstantSquared = 0
     Cache of forceConstant^2 for performance. More...
     
    double minDistanceLimit = 2
     Minimal distance limit. Default is 2. Prevents of dividing by zero. More...
     
    double minDistanceLimitSquared = 0
     Cached version of minDistanceLimit squared. More...
     
    double initialTemp = 200
     Start value of temperature. Default is 200. More...
     
    double temperature = 0
     Temperature to limit displacement at later stages of layout. More...
     
    int maxIterations = 0
     Total number of iterations to run the layout though. More...
     
    int iteration = 0
     Current iteration count. More...
     
    Object[] vertexArray
     An array of all vertices to be laid out. More...
     
    double[] dispX
     An array of locally stored X co-ordinate displacements for the vertices. More...
     
    double[] dispY
     An array of locally stored Y co-ordinate displacements for the vertices. More...
     
    double[][] cellLocation
     An array of locally stored co-ordinate positions for the vertices. More...
     
    double[] radius
     The approximate radius of each cell, nodes only. More...
     
    double[] radiusSquared
     The approximate radius squared of each cell, nodes only. More...
     
    bool[] isMoveable
     Array of booleans representing the movable states of the vertices. More...
     
    int[][] neighbours
     Local copy of cell neighbours. More...
     
    bool allowedToRun = true
     Boolean flag that specifies if the layout is allowed to run. If this is set to false, then the layout exits in the following iteration. More...
     
    Dictionary< object, int > indices = new Dictionary<object, int>()
     Maps from vertices to indices. More...
     
    Random random = new Random()
     Random number generator. More...
     
    + + + + + + + + + + + + + + + + +

    +Properties

    bool IsAllowedToRun [get, set]
     Flag to stop a running layout run. More...
     
    int MaxIterations [get, set]
     Maximum number of iterations. More...
     
    double ForceConstant [get, set]
     Force constant to be used for the springs. More...
     
    double MinDistanceLimit [get, set]
     Minimum distance between nodes. More...
     
    double InitialTemp [get, set]
     Initial temperature. More...
     
    +

    Detailed Description

    +

    Fast organic layout algorithm.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxFastOrganicLayout.mxFastOrganicLayout (mxGraph graph)
    +
    +inline
    +
    + +

    Constructs a new fast organic layout for the specified graph.

    +
    Parameters
    + + +
    graph
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxFastOrganicLayout.calcAttraction ()
    +
    +inlineprotected
    +
    + +

    Calculates the attractive forces between all laid out nodes linked by edges

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxFastOrganicLayout.calcPositions ()
    +
    +inlineprotected
    +
    + +

    Takes the displacements calculated for each cell and applies them to the local cache of cell positions. Limits the displacement to the current temperature.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxFastOrganicLayout.calcRepulsion ()
    +
    +inlineprotected
    +
    + +

    Calculates the repulsive forces between all laid out nodes

    + +
    +
    + + + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxFastOrganicLayout.IsCellIgnored (Object cell)
    +
    +inline
    +
    + +

    Returns true if the given cell should be ignored by the layout algorithm. This implementation returns false if the cell is a vertex and has at least one connected edge.

    +
    Parameters
    + + +
    cellObject that represents the cell.
    +
    +
    +
    Returns
    Returns true if the given cell should be ignored.
    + +

    References com.mxgraph.mxIGraphModel.GetEdgeCount(), com.mxgraph.mxIGraphModel.IsVertex(), and com.mxgraph.mxGraph.Model.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxFastOrganicLayout.move (Object cell,
    double x,
    double y 
    )
    +
    +inline
    +
    + +

    Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layou will position the vertex as close to the point (x, y) as possible.

    +

    Not yet implemented.

    +
    Parameters
    + + + + +
    cell
    x
    y
    +
    +
    + +

    Implements com.mxgraph.mxIGraphLayout.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxFastOrganicLayout.reduceTemperature ()
    +
    +inlineprotected
    +
    + +

    Reduces the temperature of the layout from an initial setting in a linear fashion to zero.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxFastOrganicLayout.allowedToRun = true
    +
    +protected
    +
    + +

    Boolean flag that specifies if the layout is allowed to run. If this is set to false, then the layout exits in the following iteration.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double [][] com.mxgraph.mxFastOrganicLayout.cellLocation
    +
    +protected
    +
    + +

    An array of locally stored co-ordinate positions for the vertices.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double [] com.mxgraph.mxFastOrganicLayout.dispX
    +
    +protected
    +
    + +

    An array of locally stored X co-ordinate displacements for the vertices.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double [] com.mxgraph.mxFastOrganicLayout.dispY
    +
    +protected
    +
    + +

    An array of locally stored Y co-ordinate displacements for the vertices.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.forceConstant = 50
    +
    +protected
    +
    + +

    The force constant by which the attractive forces are divided and the replusive forces are multiple by the square of. The value equates to the average radius there is of free space around each node. Default is 50.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.forceConstantSquared = 0
    +
    +protected
    +
    + +

    Cache of forceConstant^2 for performance.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGraph com.mxgraph.mxFastOrganicLayout.graph
    +
    +protected
    +
    + +

    Holds the enclosing graph.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<object, int> com.mxgraph.mxFastOrganicLayout.indices = new Dictionary<object, int>()
    +
    +protected
    +
    + +

    Maps from vertices to indices.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.initialTemp = 200
    +
    +protected
    +
    + +

    Start value of temperature. Default is 200.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool [] com.mxgraph.mxFastOrganicLayout.isMoveable
    +
    +protected
    +
    + +

    Array of booleans representing the movable states of the vertices.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxFastOrganicLayout.iteration = 0
    +
    +protected
    +
    + +

    Current iteration count.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxFastOrganicLayout.maxIterations = 0
    +
    +protected
    +
    + +

    Total number of iterations to run the layout though.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.minDistanceLimit = 2
    +
    +protected
    +
    + +

    Minimal distance limit. Default is 2. Prevents of dividing by zero.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.minDistanceLimitSquared = 0
    +
    +protected
    +
    + +

    Cached version of minDistanceLimit squared.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int [][] com.mxgraph.mxFastOrganicLayout.neighbours
    +
    +protected
    +
    + +

    Local copy of cell neighbours.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double [] com.mxgraph.mxFastOrganicLayout.radius
    +
    +protected
    +
    + +

    The approximate radius of each cell, nodes only.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double [] com.mxgraph.mxFastOrganicLayout.radiusSquared
    +
    +protected
    +
    + +

    The approximate radius squared of each cell, nodes only.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Random com.mxgraph.mxFastOrganicLayout.random = new Random()
    +
    +protected
    +
    + +

    Random number generator.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.temperature = 0
    +
    +protected
    +
    + +

    Temperature to limit displacement at later stages of layout.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Object [] com.mxgraph.mxFastOrganicLayout.vertexArray
    +
    +protected
    +
    + +

    An array of all vertices to be laid out.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.ForceConstant
    +
    +getset
    +
    + +

    Force constant to be used for the springs.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.InitialTemp
    +
    +getset
    +
    + +

    Initial temperature.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxFastOrganicLayout.IsAllowedToRun
    +
    +getset
    +
    + +

    Flag to stop a running layout run.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxFastOrganicLayout.MaxIterations
    +
    +getset
    +
    + +

    Maximum number of iterations.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxFastOrganicLayout.MinDistanceLimit
    +
    +getset
    +
    + +

    Minimum distance between nodes.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/layout/mxFastOrganicLayout.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.png new file mode 100644 index 000000000..0d0718aab Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxFastOrganicLayout.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html new file mode 100644 index 000000000..d665d2eb8 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas-members.html @@ -0,0 +1,102 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGdiCanvas Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGdiCanvas, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    DEFAULT_IMAGEBASEPATHcom.mxgraph.mxBasicCanvasstatic
    Destroy()com.mxgraph.mxGdiCanvasinline
    DrawActor(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
    DrawCell(mxCellState state)com.mxgraph.mxGdiCanvasinlinevirtual
    DrawCloud(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
    DrawCylinder(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
    DrawGlassEffect(int x, int y, int w, int h, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinlineprotected
    DrawHexagon(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)com.mxgraph.mxGdiCanvasinlineprotected
    DrawImage(int x, int y, int w, int h, String image)com.mxgraph.mxGdiCanvasinlineprotected
    DrawImage(int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)com.mxgraph.mxGdiCanvasinlineprotected
    DrawLabel(string text, mxCellState state, bool html)com.mxgraph.mxGdiCanvasinlinevirtual
    DrawLabelscom.mxgraph.mxBasicCanvas
    drawLabelscom.mxgraph.mxBasicCanvasprotected
    DrawLine(List< mxPoint > pts, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinline
    DrawMarker(Object type, mxPoint p0, mxPoint pe, float size, Pen pen)com.mxgraph.mxGdiCanvasinline
    DrawOval(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
    DrawPath(GraphicsPath path, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
    DrawPolygon(Point[] polygon, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
    DrawRect(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)com.mxgraph.mxGdiCanvasinlineprotected
    DrawRhombus(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)com.mxgraph.mxGdiCanvasinlineprotected
    DrawShape(int x, int y, int w, int h, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinline
    DrawText(string text, int x, int y, int w, int h, Dictionary< string, Object > style)com.mxgraph.mxGdiCanvasinline
    DrawTriangle(int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)com.mxgraph.mxGdiCanvasinlineprotected
    gcom.mxgraph.mxGdiCanvasprotected
    getArcSize(int w, int h)com.mxgraph.mxGdiCanvasinlinestatic
    GetImageForStyle(Dictionary< string, Object > style)com.mxgraph.mxBasicCanvasinlineprotected
    Graphicscom.mxgraph.mxGdiCanvas
    ImageBasePathcom.mxgraph.mxBasicCanvas
    imageBasePathcom.mxgraph.mxBasicCanvasprotected
    imageCachecom.mxgraph.mxGdiCanvasprotected
    LoadImage(String image)com.mxgraph.mxGdiCanvasinlineprotected
    mxGdiCanvas()com.mxgraph.mxGdiCanvasinline
    mxGdiCanvas(Graphics g)com.mxgraph.mxGdiCanvasinline
    PRESERVE_IMAGE_ASPECTcom.mxgraph.mxGdiCanvasstatic
    Scalecom.mxgraph.mxBasicCanvas
    scalecom.mxgraph.mxBasicCanvasprotected
    Translatecom.mxgraph.mxBasicCanvas
    translatecom.mxgraph.mxBasicCanvasprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html new file mode 100644 index 000000000..31dc05bd1 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.html @@ -0,0 +1,1777 @@ + + + + + + +mxGraph: com.mxgraph.mxGdiCanvas Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    Implementation of a canvas that uses GDI for painting. + More...

    +
    +Inheritance diagram for com.mxgraph.mxGdiCanvas:
    +
    +
    + + +com.mxgraph.mxBasicCanvas +com.mxgraph.mxICanvas + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGdiCanvas ()
     Constructs a new GDI canvas. More...
     
     mxGdiCanvas (Graphics g)
     Constructs a new GDI canvas for the given graphics instance. More...
     
    override Object DrawCell (mxCellState state)
     see com.mxgraph.mxICanvas.DrawCell() More...
     
    override Object DrawLabel (string text, mxCellState state, bool html)
     see com.mxgraph.mxICanvas.DrawLabel() More...
     
    void DrawShape (int x, int y, int w, int h, Dictionary< string, Object > style)
     Draws the shape specified with the STYLE_SHAPE key in the given style. More...
     
    void DrawLine (List< mxPoint > pts, Dictionary< string, Object > style)
     Draws the given lines as segments between all points of the given list of mxPoints. More...
     
    mxPoint DrawMarker (Object type, mxPoint p0, mxPoint pe, float size, Pen pen)
     Draws the given type of marker. More...
     
    void DrawText (string text, int x, int y, int w, int h, Dictionary< string, Object > style)
     Draws the specified text either using drawHtmlString or using drawString. More...
     
    void Destroy ()
     Destroys the canvas and frees all allocated resources. More...
     
    + + + + +

    +Static Public Member Functions

    static int getArcSize (int w, int h)
     Computes the arc size for the given dimension. More...
     
    + + + + + + + + +

    +Static Public Attributes

    static bool PRESERVE_IMAGE_ASPECT = true
     Specifies if image aspect should be preserved in drawImage. More...
     
    - Static Public Attributes inherited from com.mxgraph.mxBasicCanvas
    static string DEFAULT_IMAGEBASEPATH = ""
     Defines the default value for the imageBasePath in all GDI canvases. Default is an empty string. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    Image LoadImage (String image)
     Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call. More...
     
    void DrawGlassEffect (int x, int y, int w, int h, Dictionary< string, Object > style)
     Draws the glass effect. More...
     
    void DrawPolygon (Point[] polygon, Brush brush, Pen pen, bool shadow)
     Draws a a polygon for the given parameters. More...
     
    void DrawPath (GraphicsPath path, Brush brush, Pen pen, bool shadow)
     Draws a path for the given parameters. More...
     
    void DrawRect (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, bool rounded)
     Draws a rectangle for the given parameters. More...
     
    void DrawImage (int x, int y, int w, int h, String image)
     Draws an image for the given parameters. More...
     
    void DrawImage (int x, int y, int w, int h, String image, bool preserveAspect, bool flipH, bool flipV)
     Draws an image for the given parameters. More...
     
    void DrawOval (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
     Draws an oval for the given parameters. More...
     
    void DrawRhombus (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
     Draws an rhombus (aka. diamond) for the given parameters. More...
     
    void DrawCylinder (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
     Draws a cylinder for the given parameters. More...
     
    void DrawActor (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
     Draws an actor shape for the given parameters. More...
     
    void DrawCloud (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow)
     Draws a cloud shape for the given parameters. More...
     
    void DrawTriangle (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)
     Draws a triangle shape for the given parameters. More...
     
    void DrawHexagon (int x, int y, int w, int h, Brush brush, Pen pen, bool shadow, string direction)
     Draws a hexagon shape for the given parameters. More...
     
    - Protected Member Functions inherited from com.mxgraph.mxBasicCanvas
    string GetImageForStyle (Dictionary< string, Object > style)
     Gets the image path from the given style. If the path is relative (does not start with a slash) then it is appended to the imageBasePath. More...
     
    + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    Dictionary< string, Image > imageCache = new Dictionary<string, Image>()
     Cache for loading images. More...
     
    Graphics g
     Global graphics handle to the image. More...
     
    - Protected Attributes inherited from com.mxgraph.mxBasicCanvas
    string imageBasePath = DEFAULT_IMAGEBASEPATH
     Defines the base path for images with relative paths. Trailing slash is required. Default value is DEFAULT_IMAGEBASEPATH. More...
     
    Point translate = new Point(0, 0)
     Specifies the current translation. Default is (0,0). More...
     
    double scale
     Specifies the current scale. Default is 1. More...
     
    bool drawLabels = true
     Specifies whether labels should be painted. Default is true. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    Graphics Graphics [get, set]
     Sets or gets the graphics object to paint the canvas. More...
     
    - Properties inherited from com.mxgraph.mxBasicCanvas
    Point Translate [get, set]
     see com.mxgraph.mxICanvas.Translate More...
     
    double Scale [get, set]
     see com.mxgraph.mxICanvas.Scale More...
     
    bool DrawLabels [get, set]
     Sets if labels should be visible. More...
     
    string ImageBasePath [get, set]
     Sets or gets the image base path. More...
     
    - Properties inherited from com.mxgraph.mxICanvas
    Point Translate [get, set]
     Sets or returns the user object of the cell. More...
     
    double Scale [get, set]
     Sets or returns the user object of the cell. More...
     
    +

    Detailed Description

    +

    Implementation of a canvas that uses GDI for painting.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxGdiCanvas.mxGdiCanvas ()
    +
    +inline
    +
    + +

    Constructs a new GDI canvas.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGdiCanvas.mxGdiCanvas (Graphics g)
    +
    +inline
    +
    + +

    Constructs a new GDI canvas for the given graphics instance.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas.Destroy ()
    +
    +inline
    +
    + +

    Destroys the canvas and frees all allocated resources.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawActor (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow 
    )
    +
    +inlineprotected
    +
    + +

    Draws an actor shape for the given parameters.

    +
    Parameters
    + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    +
    +
    + +
    +
    + + + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawCloud (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow 
    )
    +
    +inlineprotected
    +
    + +

    Draws a cloud shape for the given parameters.

    +
    Parameters
    + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawCylinder (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow 
    )
    +
    +inlineprotected
    +
    + +

    Draws a cylinder for the given parameters.

    +
    Parameters
    + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawGlassEffect (int x,
    int y,
    int w,
    int h,
    Dictionary< string, Object > style 
    )
    +
    +inlineprotected
    +
    + +

    Draws the glass effect.

    + +

    References com.mxgraph.mxUtils.GetFloat(), and com.mxgraph.mxConstants.STYLE_STROKEWIDTH.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawHexagon (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow,
    string direction 
    )
    +
    +inlineprotected
    +
    + +

    Draws a hexagon shape for the given parameters.

    +
    Parameters
    + + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    directionSpecifies the direction of the hexagon.
    +
    +
    + +

    References com.mxgraph.mxConstants.DIRECTION_NORTH, and com.mxgraph.mxConstants.DIRECTION_SOUTH.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawImage (int x,
    int y,
    int w,
    int h,
    String image 
    )
    +
    +inlineprotected
    +
    + +

    Draws an image for the given parameters.

    +
    Parameters
    + + + + + + +
    xX-coordinate of the image.
    yY-coordinate of the image.
    wWidth of the image.
    hHeight of the image.
    imageURL of the image.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawImage (int x,
    int y,
    int w,
    int h,
    String image,
    bool preserveAspect,
    bool flipH,
    bool flipV 
    )
    +
    +inlineprotected
    +
    + +

    Draws an image for the given parameters.

    +
    Parameters
    + + + + + + +
    xX-coordinate of the image.
    yY-coordinate of the image.
    wWidth of the image.
    hHeight of the image.
    imageURL of the image.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    override Object com.mxgraph.mxGdiCanvas.DrawLabel (string text,
    mxCellState state,
    bool html 
    )
    +
    +inlinevirtual
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawLine (List< mxPointpts,
    Dictionary< string, Object > style 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGdiCanvas.DrawMarker (Object type,
    mxPoint p0,
    mxPoint pe,
    float size,
    Pen pen 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawOval (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow 
    )
    +
    +inlineprotected
    +
    + +

    Draws an oval for the given parameters.

    +
    Parameters
    + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    +
    +
    + +

    References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawPath (GraphicsPath path,
    Brush brush,
    Pen pen,
    bool shadow 
    )
    +
    +inlineprotected
    +
    + +

    Draws a path for the given parameters.

    +
    Parameters
    + + + + + +
    pathPath object to be drawn.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    +
    +
    + +

    References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawPolygon (Point[] polygon,
    Brush brush,
    Pen pen,
    bool shadow 
    )
    +
    +inlineprotected
    +
    + +

    Draws a a polygon for the given parameters.

    +
    Parameters
    + + + + + +
    polygonPoints of the polygon.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    +
    +
    + +

    References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawRect (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow,
    bool rounded 
    )
    +
    +inlineprotected
    +
    + +

    Draws a rectangle for the given parameters.

    +
    Parameters
    + + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    roundedBoolean indicating if the rectangle is rounded.
    +
    +
    + +

    References com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, and com.mxgraph.mxConstants.SHADOWCOLOR.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawRhombus (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow 
    )
    +
    +inlineprotected
    +
    + +

    Draws an rhombus (aka. diamond) for the given parameters.

    +
    Parameters
    + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawShape (int x,
    int y,
    int w,
    int h,
    Dictionary< string, Object > style 
    )
    +
    +inline
    +
    + +

    Draws the shape specified with the STYLE_SHAPE key in the given style.

    +
    Parameters
    + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    styleStyle of the the shape.
    +
    +
    + +

    References com.mxgraph.mxConstants.ALIGN_BOTTOM, com.mxgraph.mxConstants.ALIGN_CENTER, com.mxgraph.mxConstants.ALIGN_LEFT, com.mxgraph.mxConstants.ALIGN_MIDDLE, com.mxgraph.mxConstants.ALIGN_RIGHT, com.mxgraph.mxConstants.ALIGN_TOP, com.mxgraph.mxConstants.DEFAULT_IMAGESIZE, com.mxgraph.mxConstants.DIRECTION_EAST, com.mxgraph.mxConstants.DIRECTION_NORTH, com.mxgraph.mxConstants.DIRECTION_SOUTH, com.mxgraph.mxConstants.DIRECTION_WEST, com.mxgraph.mxUtils.GetColor(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxUtils.GetInt(), com.mxgraph.mxUtils.GetString(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxConstants.SHAPE_ACTOR, com.mxgraph.mxConstants.SHAPE_CLOUD, com.mxgraph.mxConstants.SHAPE_CYLINDER, com.mxgraph.mxConstants.SHAPE_DOUBLE_ELLIPSE, com.mxgraph.mxConstants.SHAPE_ELLIPSE, com.mxgraph.mxConstants.SHAPE_HEXAGON, com.mxgraph.mxConstants.SHAPE_LABEL, com.mxgraph.mxConstants.SHAPE_LINE, com.mxgraph.mxConstants.SHAPE_RHOMBUS, com.mxgraph.mxConstants.SHAPE_TRIANGLE, com.mxgraph.mxConstants.STYLE_DASHED, com.mxgraph.mxConstants.STYLE_DIRECTION, com.mxgraph.mxConstants.STYLE_FILLCOLOR, com.mxgraph.mxConstants.STYLE_GLASS, com.mxgraph.mxConstants.STYLE_GRADIENT_DIRECTION, com.mxgraph.mxConstants.STYLE_GRADIENTCOLOR, com.mxgraph.mxConstants.STYLE_IMAGE, com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_BACKGROUND, com.mxgraph.mxConstants.STYLE_IMAGE_BORDER, com.mxgraph.mxConstants.STYLE_IMAGE_FLIPH, com.mxgraph.mxConstants.STYLE_IMAGE_FLIPV, com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT, com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH, com.mxgraph.mxConstants.STYLE_OPACITY, com.mxgraph.mxConstants.STYLE_ROUNDED, com.mxgraph.mxConstants.STYLE_SHADOW, com.mxgraph.mxConstants.STYLE_SHAPE, com.mxgraph.mxConstants.STYLE_SPACING, com.mxgraph.mxConstants.STYLE_STROKECOLOR, and com.mxgraph.mxConstants.STYLE_STROKEWIDTH.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawText (string text,
    int x,
    int y,
    int w,
    int h,
    Dictionary< string, Object > style 
    )
    +
    +inline
    +
    + +

    Draws the specified text either using drawHtmlString or using drawString.

    +
    Parameters
    + + + + + + + +
    text
    xX-coordinate of the text.
    yY-coordinate of the text.
    wWidth of the text.
    hHeight of the text.
    styleStyle to be used for painting the text.
    +
    +
    + +

    References com.mxgraph.mxUtils.GetColor(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxUtils.GetFont(), com.mxgraph.mxUtils.GetStringFormat(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxConstants.STYLE_FONTCOLOR, com.mxgraph.mxConstants.STYLE_HORIZONTAL, com.mxgraph.mxConstants.STYLE_LABEL_BACKGROUNDCOLOR, com.mxgraph.mxConstants.STYLE_LABEL_BORDERCOLOR, and com.mxgraph.mxConstants.STYLE_OPACITY.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas.DrawTriangle (int x,
    int y,
    int w,
    int h,
    Brush brush,
    Pen pen,
    bool shadow,
    string direction 
    )
    +
    +inlineprotected
    +
    + +

    Draws a triangle shape for the given parameters.

    +
    Parameters
    + + + + + + + + + +
    xX-coordinate of the shape.
    yY-coordinate of the shape.
    wWidth of the shape.
    hHeight of the shape.
    brushOptional brush for painting the background.
    penOptional pen for painting the border.
    shadowBoolean indicating if a shadow should be painted.
    directionSpecifies the direction of the triangle.
    +
    +
    + +

    References com.mxgraph.mxConstants.DIRECTION_NORTH, com.mxgraph.mxConstants.DIRECTION_SOUTH, and com.mxgraph.mxConstants.DIRECTION_WEST.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static int com.mxgraph.mxGdiCanvas.getArcSize (int w,
    int h 
    )
    +
    +inlinestatic
    +
    + +

    Computes the arc size for the given dimension.

    +
    Parameters
    + + + +
    wWidth of the rectangle.
    hHeight of the rectangle.
    +
    +
    +
    Returns
    Returns the arc size for the given dimension.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Image com.mxgraph.mxGdiCanvas.LoadImage (String image)
    +
    +inlineprotected
    +
    + +

    Returns an image instance for the given URL. If the URL has been loaded before than an instance of the same instance is returned as in the previous call.

    + +

    References com.mxgraph.mxUtils.LoadImage().

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    Graphics com.mxgraph.mxGdiCanvas.g
    +
    +protected
    +
    + +

    Global graphics handle to the image.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Image> com.mxgraph.mxGdiCanvas.imageCache = new Dictionary<string, Image>()
    +
    +protected
    +
    + +

    Cache for loading images.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGdiCanvas.PRESERVE_IMAGE_ASPECT = true
    +
    +static
    +
    + +

    Specifies if image aspect should be preserved in drawImage.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    Graphics com.mxgraph.mxGdiCanvas.Graphics
    +
    +getset
    +
    + +

    Sets or gets the graphics object to paint the canvas.

    + +

    Referenced by com.mxgraph.mxStencil.CreateCanvas(), com.mxgraph.mxImageCanvas.Destroy(), and com.mxgraph.mxImageCanvas.mxImageCanvas().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/canvas/mxGdiCanvas.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.png new file mode 100644 index 000000000..2e51a2a5c Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html new file mode 100644 index 000000000..47f4c2400 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D-members.html @@ -0,0 +1,135 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGdiCanvas2D Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGdiCanvas2D, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Alphacom.mxgraph.mxGdiCanvas2D
    Begin()com.mxgraph.mxGdiCanvas2Dinline
    Close()com.mxgraph.mxGdiCanvas2Dinline
    ConfigureImageGraphics(double x, double y, double w, double h, bool flipH, bool flipV)com.mxgraph.mxGdiCanvas2Dinlineprotected
    CreateFont(String family, FontStyle style, float size)com.mxgraph.mxGdiCanvas2Dinlineprotected
    CreateStringFormat(string align, string valign, bool wrap, bool clip)com.mxgraph.mxGdiCanvas2Dinlinestatic
    currentPathcom.mxgraph.mxGdiCanvas2Dprotected
    CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)com.mxgraph.mxGdiCanvas2Dinline
    Dashedcom.mxgraph.mxGdiCanvas2D
    DashPatterncom.mxgraph.mxGdiCanvas2D
    DrawImage(Image image, Rectangle bounds)com.mxgraph.mxGdiCanvas2Dinlineprotected
    Ellipse(double x, double y, double w, double h)com.mxgraph.mxGdiCanvas2Dinline
    Fill()com.mxgraph.mxGdiCanvas2Dinline
    FillAlphacom.mxgraph.mxGdiCanvas2D
    FillAndStroke()com.mxgraph.mxGdiCanvas2Dinline
    FillColorcom.mxgraph.mxGdiCanvas2D
    FontBackgroundColorcom.mxgraph.mxGdiCanvas2D
    FontBorderColorcom.mxgraph.mxGdiCanvas2D
    FontColorcom.mxgraph.mxGdiCanvas2D
    FontFamilycom.mxgraph.mxGdiCanvas2D
    FontSizecom.mxgraph.mxGdiCanvas2D
    FontStylecom.mxgraph.mxGdiCanvas2D
    GetFontName(String family)com.mxgraph.mxGdiCanvas2Dinlineprotected
    GetImageBounds(Image img, double x, double y, double w, double h, bool aspect)com.mxgraph.mxGdiCanvas2Dinlineprotected
    GetImageSize(Image image)com.mxgraph.mxGdiCanvas2Dinlineprotected
    GetMargin(String align, String valign) (defined in com.mxgraph.mxGdiCanvas2D)com.mxgraph.mxGdiCanvas2Dinlineprotected
    graphicscom.mxgraph.mxGdiCanvas2Dprotected
    htmlAsPlainTextcom.mxgraph.mxGdiCanvas2Dprotected
    Image(double x, double y, double w, double h, String src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxGdiCanvas2Dinline
    com::mxgraph::mxICanvas2D.Image(double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxICanvas2D
    lastFontcom.mxgraph.mxGdiCanvas2Dprotected
    lastFontFamilycom.mxgraph.mxGdiCanvas2Dprotected
    lastFontSizecom.mxgraph.mxGdiCanvas2Dprotected
    lastFontStylecom.mxgraph.mxGdiCanvas2Dprotected
    lastPointcom.mxgraph.mxGdiCanvas2Dprotected
    LineCapcom.mxgraph.mxGdiCanvas2D
    LineJoincom.mxgraph.mxGdiCanvas2D
    LineTo(double x, double y)com.mxgraph.mxGdiCanvas2Dinline
    LoadImage(String src)com.mxgraph.mxGdiCanvas2Dinlineprotected
    matchHtmlAlignmentcom.mxgraph.mxGdiCanvas2Dprotected
    MiterLimitcom.mxgraph.mxGdiCanvas2D
    MoveTo(double x, double y)com.mxgraph.mxGdiCanvas2Dinline
    mxGdiCanvas2D(Graphics g)com.mxgraph.mxGdiCanvas2Dinline
    PaintCurrentPath(bool filled, bool stroked)com.mxgraph.mxGdiCanvas2Dinlineprotected
    PaintShadow(bool filled, bool stroked)com.mxgraph.mxGdiCanvas2Dinlineprotected
    ParseColor(string hex)com.mxgraph.mxGdiCanvas2Dinlineprotected
    ParseColor(string hex, double alpha)com.mxgraph.mxGdiCanvas2Dinlineprotected
    QuadTo(double x1, double y1, double x2, double y2)com.mxgraph.mxGdiCanvas2Dinline
    Rect(double x, double y, double w, double h)com.mxgraph.mxGdiCanvas2Dinline
    Restore()com.mxgraph.mxGdiCanvas2Dinline
    Rotate(double theta, bool flipH, bool flipV, double cx, double cy)com.mxgraph.mxGdiCanvas2Dinline
    Roundrect(double x, double y, double w, double h, double dx, double dy)com.mxgraph.mxGdiCanvas2Dinline
    Save()com.mxgraph.mxGdiCanvas2Dinline
    Scale(double value)com.mxgraph.mxGdiCanvas2Dinline
    SetGradient(String color1, String color2, double x, double y, double w, double h, String direction, double alpha1, double alpha2)com.mxgraph.mxGdiCanvas2Dinline
    com::mxgraph::mxICanvas2D.SetGradient(string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)com.mxgraph.mxICanvas2D
    SetShadowOffset(double dx, double dy)com.mxgraph.mxGdiCanvas2Dinline
    Shadowcom.mxgraph.mxGdiCanvas2D
    ShadowAlphacom.mxgraph.mxGdiCanvas2D
    ShadowColorcom.mxgraph.mxGdiCanvas2D
    stackcom.mxgraph.mxGdiCanvas2Dprotected
    statecom.mxgraph.mxGdiCanvas2Dprotected
    Stroke()com.mxgraph.mxGdiCanvas2Dinline
    StrokeAlphacom.mxgraph.mxGdiCanvas2D
    StrokeColorcom.mxgraph.mxGdiCanvas2D
    StrokeWidthcom.mxgraph.mxGdiCanvas2D
    Text(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir)com.mxgraph.mxGdiCanvas2Dinline
    Translate(double dx, double dy)com.mxgraph.mxGdiCanvas2Dinline
    UpdateFont()com.mxgraph.mxGdiCanvas2Dinlineprotected
    UpdatePen()com.mxgraph.mxGdiCanvas2Dinlineprotected
    wrapPlainTextcom.mxgraph.mxGdiCanvas2Dprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html new file mode 100644 index 000000000..ec53de505 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.html @@ -0,0 +1,2680 @@ + + + + + + +mxGraph: com.mxgraph.mxGdiCanvas2D Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    Used for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used: + More...

    +
    +Inheritance diagram for com.mxgraph.mxGdiCanvas2D:
    +
    +
    + + +com.mxgraph.mxICanvas2D + +
    + + + + +

    +Classes

    class  CanvasState
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGdiCanvas2D (Graphics g)
     
    void Save ()
     
    void Restore ()
     
    void Scale (double value)
     Sets the given scale. More...
     
    void Translate (double dx, double dy)
     Translates the canvas. More...
     
    void Rotate (double theta, bool flipH, bool flipV, double cx, double cy)
     Rotates the canvas. More...
     
    void SetShadowOffset (double dx, double dy)
     Prepares the canvas to draw a gradient. More...
     
    void SetGradient (String color1, String color2, double x, double y, double w, double h, String direction, double alpha1, double alpha2)
     Sets the given gradient. More...
     
    void Rect (double x, double y, double w, double h)
     Draws a rectangle. More...
     
    void Roundrect (double x, double y, double w, double h, double dx, double dy)
     
    void Ellipse (double x, double y, double w, double h)
     Draws an ellipse. More...
     
    void Image (double x, double y, double w, double h, String src, bool aspect, bool flipH, bool flipV)
     Draws an image. More...
     
    void Text (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir)
     
    void Begin ()
     
    void MoveTo (double x, double y)
     
    void LineTo (double x, double y)
     
    void QuadTo (double x1, double y1, double x2, double y2)
     
    void CurveTo (double x1, double y1, double x2, double y2, double x3, double y3)
     
    void Close ()
     
    void Stroke ()
     
    void Fill ()
     
    void FillAndStroke ()
     
    - Public Member Functions inherited from com.mxgraph.mxICanvas2D
    void SetGradient (string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)
     Prepares the canvas to draw a gradient. More...
     
    void Image (double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)
     Draws the given image. More...
     
    + + + + +

    +Static Public Member Functions

    static StringFormat CreateStringFormat (string align, string valign, bool wrap, bool clip)
     Creates the specified string format. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    Color ParseColor (string hex)
     Helper method that uses mxUtils#parseColor(String). Subclassers More...
     
    Color ParseColor (string hex, double alpha)
     Helper method that uses mxUtils#parseColor(String). Subclassers More...
     
    void DrawImage (Image image, Rectangle bounds)
     Implements the call to the graphics API. More...
     
    Image LoadImage (String src)
     Loads the specified image. More...
     
    Rectangle GetImageBounds (Image img, double x, double y, double w, double h, bool aspect)
     Returns the bounds for the given image. More...
     
    Size GetImageSize (Image image)
     Returns the size for the given image. More...
     
    void ConfigureImageGraphics (double x, double y, double w, double h, bool flipH, bool flipV)
     
    +PointF GetMargin (String align, String valign)
     
    void PaintCurrentPath (bool filled, bool stroked)
     
    void PaintShadow (bool filled, bool stroked)
     
    void UpdateFont ()
     
    Font CreateFont (String family, FontStyle style, float size)
     
    String GetFontName (String family)
     Returns a font name for the given font family. More...
     
    void UpdatePen ()
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    bool matchHtmlAlignment = true
     matchHtmlAlignment More...
     
    bool htmlAsPlainText = true
     htmlAsPlainText More...
     
    bool wrapPlainText = true
     htmlAsPlainText More...
     
    Graphics graphics
     
    CanvasState state = new CanvasState()
     
    Stack< CanvasStatestack = new Stack<CanvasState>()
     
    GraphicsPath currentPath
     
    mxPoint lastPoint
     Holds the last point of a moveTo or lineTo operation to determine if the More...
     
    Font lastFont = null
     FontCaching More...
     
    FontStyle lastFontStyle = 0
     FontCaching More...
     
    float lastFontSize = 0
     FontCaching More...
     
    String lastFontFamily = ""
     FontCaching More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    double StrokeWidth [set]
     Sets the strokewidth. More...
     
    string StrokeColor [set]
     
    bool Dashed [set]
     Specifies if lines are dashed. More...
     
    string DashPattern [set]
     Sets the dashpattern. More...
     
    string LineCap [set]
     Sets the linecap. More...
     
    string LineJoin [set]
     Sets the linejoin. More...
     
    double MiterLimit [set]
     Sets the miterlimit. More...
     
    double FontSize [set]
     Sets the fontsize. More...
     
    string FontColor [set]
     Sets the fontcolor. More...
     
    string FontBackgroundColor [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    string FontBorderColor [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    string FontFamily [set]
     Sets the font family. More...
     
    int FontStyle [set]
     Sets the given fontstyle. More...
     
    double Alpha [set]
     Sets the given alpha. More...
     
    double StrokeAlpha [set]
     Sets the given alpha. More...
     
    double FillAlpha [set]
     Sets the given alpha. More...
     
    string FillColor [set]
     Sets the given fillcolor. More...
     
    bool Shadow [set]
     Default value mxConstants#NONE. More...
     
    string ShadowColor [set]
     Default value mxConstants#NONE. More...
     
    double ShadowAlpha [set]
     Default value 1. This method may add rendering overhead and should be used with care. More...
     
    - Properties inherited from com.mxgraph.mxICanvas2D
    double StrokeWidth [set]
     Sets the stroke width. This should default to 1 if unset. More...
     
    string StrokeColor [set]
     Sets the stroke color. This should default to mxConstants.NONE if unset. More...
     
    bool Dashed [set]
     Sets the dashed state. This should default to false if unset. More...
     
    string DashPattern [set]
     Sets the dash pattern. This should default to "3 3" if unset. More...
     
    string LineCap [set]
     Sets the linecap. This should default to "flat" if unset. More...
     
    string LineJoin [set]
     Sets the linejoin. This should default to "miter" if unset. More...
     
    double MiterLimit [set]
     Sets the miterlimit. This should default to 10 if unset. More...
     
    double FontSize [set]
     Default value mxConstants.DEFAULT_FONTSIZE. More...
     
    string FontColor [set]
     Default value "#000000". More...
     
    string FontFamily [set]
     Default value mxConstants#DEFAULT_FONTFAMILY. More...
     
    int FontStyle [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    string FontBackgroundColor [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    string FontBorderColor [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    double Alpha [set]
     Default value 1. This method may add rendering overhead and should be used with care. More...
     
    double FillAlpha [set]
     Default value 1. More...
     
    double StrokeAlpha [set]
     Default value 1. More...
     
    string FillColor [set]
     Default value mxConstants#NONE. More...
     
    bool Shadow [set]
     Default value mxConstants#NONE. More...
     
    string ShadowColor [set]
     Default value mxConstants#NONE. More...
     
    double ShadowAlpha [set]
     Default value 1. This method may add rendering overhead and should be used with care. More...
     
    +

    Detailed Description

    +

    Used for exporting images.

    +

    To render to an image from a given XML string, graph size and and background color, the following code is used:

    +

    Image image = mxUtils.CreateImage(width, height, background); Graphics g = Graphics.FromImage(image); g.SmoothingMode = SmoothingMode.HighQuality; mxSaxOutputHandler handler = new mxSaxOutputHandler(new mxGdiCanvas2D(g)); handler.Read(new XmlTextReader(new StringReader(xml)));

    +

    Text rendering is available for plain text only, with optional word wrapping.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGdiCanvas2D.mxGdiCanvas2D (Graphics g)
    +
    +inline
    +
    + +

    +

    Constructs a new graphics export canvas.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Begin ()
    +
    +inline
    +
    + +

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Close ()
    +
    +inline
    +
    + +

    +

    Closes the current path.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.ConfigureImageGraphics (double x,
    double y,
    double w,
    double h,
    bool flipH,
    bool flipV 
    )
    +
    +inlineprotected
    +
    + +

    +

    Creates a graphic instance for rendering an image.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Font com.mxgraph.mxGdiCanvas2D.CreateFont (String family,
    FontStyle style,
    float size 
    )
    +
    +inlineprotected
    +
    + +

    +

    Hook for subclassers to implement font caching.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static StringFormat com.mxgraph.mxGdiCanvas2D.CreateStringFormat (string align,
    string valign,
    bool wrap,
    bool clip 
    )
    +
    +inlinestatic
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.CurveTo (double x1,
    double y1,
    double x2,
    double y2,
    double x3,
    double y3 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.DrawImage (Image image,
    Rectangle bounds 
    )
    +
    +inlineprotected
    +
    + +

    Implements the call to the graphics API.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Ellipse (double x,
    double y,
    double w,
    double h 
    )
    +
    +inline
    +
    + +

    Draws an ellipse.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Fill ()
    +
    +inline
    +
    + +

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.FillAndStroke ()
    +
    +inline
    +
    + +

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    String com.mxgraph.mxGdiCanvas2D.GetFontName (String family)
    +
    +inlineprotected
    +
    + +

    Returns a font name for the given font family.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Rectangle com.mxgraph.mxGdiCanvas2D.GetImageBounds (Image img,
    double x,
    double y,
    double w,
    double h,
    bool aspect 
    )
    +
    +inlineprotected
    +
    + +

    Returns the bounds for the given image.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Size com.mxgraph.mxGdiCanvas2D.GetImageSize (Image image)
    +
    +inlineprotected
    +
    + +

    Returns the size for the given image.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Image (double x,
    double y,
    double w,
    double h,
    String src,
    bool aspect,
    bool flipH,
    bool flipV 
    )
    +
    +inline
    +
    + +

    Draws an image.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.LineTo (double x,
    double y 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Image com.mxgraph.mxGdiCanvas2D.LoadImage (String src)
    +
    +inlineprotected
    +
    + +

    Loads the specified image.

    + +

    References com.mxgraph.mxUtils.LoadImage().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.MoveTo (double x,
    double y 
    )
    +
    +inline
    +
    + +

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.PaintCurrentPath (bool filled,
    bool stroked 
    )
    +
    +inlineprotected
    +
    + +

    +
    Parameters
    + + +
    value
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.PaintShadow (bool filled,
    bool stroked 
    )
    +
    +inlineprotected
    +
    + +

    +
    Parameters
    + + +
    value
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Color com.mxgraph.mxGdiCanvas2D.ParseColor (string hex)
    +
    +inlineprotected
    +
    + +

    Helper method that uses mxUtils#parseColor(String). Subclassers

    +

    can override this to implement caching for frequently used colors.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Color com.mxgraph.mxGdiCanvas2D.ParseColor (string hex,
    double alpha 
    )
    +
    +inlineprotected
    +
    + +

    Helper method that uses mxUtils#parseColor(String). Subclassers

    +

    can override this to implement caching for frequently used colors.

    + +

    References com.mxgraph.mxConstants.NONE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.QuadTo (double x1,
    double y1,
    double x2,
    double y2 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Rect (double x,
    double y,
    double w,
    double h 
    )
    +
    +inline
    +
    + +

    Draws a rectangle.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Restore ()
    +
    +inline
    +
    + +

    +

    Restores the last canvas state.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Rotate (double theta,
    bool flipH,
    bool flipV,
    double cx,
    double cy 
    )
    +
    +inline
    +
    + +

    Rotates the canvas.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Roundrect (double x,
    double y,
    double w,
    double h,
    double dx,
    double dy 
    )
    +
    +inline
    +
    + +

    +

    Draws a rounded rectangle.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Save ()
    +
    +inline
    +
    + +

    +

    Saves the current canvas state.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    References com.mxgraph.mxGdiCanvas2D.CanvasState.Clone().

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Scale (double value)
    +
    +inline
    +
    + +

    Sets the given scale.

    +
    Parameters
    + + +
    value
    +
    +
    + +

    Implements com.mxgraph.mxICanvas2D.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.SetGradient (String color1,
    String color2,
    double x,
    double y,
    double w,
    double h,
    String direction,
    double alpha1,
    double alpha2 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.SetShadowOffset (double dx,
    double dy 
    )
    +
    +inline
    +
    + +

    Prepares the canvas to draw a gradient.

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Stroke ()
    +
    +inline
    +
    + +

    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Text (double x,
    double y,
    double w,
    double h,
    string str,
    string align,
    string valign,
    bool wrap,
    string format,
    string overflow,
    bool clip,
    double rotation,
    string dir 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.Translate (double dx,
    double dy 
    )
    +
    +inline
    +
    + +

    Translates the canvas.

    +
    Parameters
    + + + +
    dx
    dy
    +
    +
    + +

    Implements com.mxgraph.mxICanvas2D.

    + +

    Referenced by com.mxgraph.mxStencil.DrawShadow().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.UpdateFont ()
    +
    +inlineprotected
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGdiCanvas2D.UpdatePen ()
    +
    +inlineprotected
    +
    + +

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    GraphicsPath com.mxgraph.mxGdiCanvas2D.currentPath
    +
    +protected
    +
    + +

    +

    Holds the current path.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Graphics com.mxgraph.mxGdiCanvas2D.graphics
    +
    +protected
    +
    + +

    +

    Reference to the graphics instance for painting.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGdiCanvas2D.htmlAsPlainText = true
    +
    +protected
    +
    + +

    htmlAsPlainText

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Font com.mxgraph.mxGdiCanvas2D.lastFont = null
    +
    +protected
    +
    + +

    FontCaching

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    String com.mxgraph.mxGdiCanvas2D.lastFontFamily = ""
    +
    +protected
    +
    + +

    FontCaching

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    float com.mxgraph.mxGdiCanvas2D.lastFontSize = 0
    +
    +protected
    +
    + +

    FontCaching

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    FontStyle com.mxgraph.mxGdiCanvas2D.lastFontStyle = 0
    +
    +protected
    +
    + +

    FontCaching

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGdiCanvas2D.lastPoint
    +
    +protected
    +
    + +

    Holds the last point of a moveTo or lineTo operation to determine if the

    +

    current path is orthogonal.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGdiCanvas2D.matchHtmlAlignment = true
    +
    +protected
    +
    + +

    matchHtmlAlignment

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Stack<CanvasState> com.mxgraph.mxGdiCanvas2D.stack = new Stack<CanvasState>()
    +
    +protected
    +
    + +

    +

    Stack of states for save/restore.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    CanvasState com.mxgraph.mxGdiCanvas2D.state = new CanvasState()
    +
    +protected
    +
    + +

    +

    Represents the current state of the canvas.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGdiCanvas2D.wrapPlainText = true
    +
    +protected
    +
    + +

    htmlAsPlainText

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGdiCanvas2D.Alpha
    +
    +set
    +
    + +

    Sets the given alpha.

    + +

    Referenced by com.mxgraph.mxStencil.DrawShadow(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGdiCanvas2D.Dashed
    +
    +set
    +
    + +

    Specifies if lines are dashed.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.DashPattern
    +
    +set
    +
    + +

    Sets the dashpattern.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGdiCanvas2D.FillAlpha
    +
    +set
    +
    + +

    Sets the given alpha.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.FillColor
    +
    +set
    +
    + +

    Sets the given fillcolor.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.FontBackgroundColor
    +
    +set
    +
    + +

    Default value 0. See mxConstants#STYLE_FONTSTYLE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.FontBorderColor
    +
    +set
    +
    + +

    Default value 0. See mxConstants#STYLE_FONTSTYLE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.FontColor
    +
    +set
    +
    + +

    Sets the fontcolor.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.FontFamily
    +
    +set
    +
    + +

    Sets the font family.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGdiCanvas2D.FontSize
    +
    +set
    +
    + +

    Sets the fontsize.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGdiCanvas2D.FontStyle
    +
    +set
    +
    + +

    Sets the given fontstyle.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.LineCap
    +
    +set
    +
    + +

    Sets the linecap.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.LineJoin
    +
    +set
    +
    + +

    Sets the linejoin.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGdiCanvas2D.MiterLimit
    +
    +set
    +
    + +

    Sets the miterlimit.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGdiCanvas2D.Shadow
    +
    +set
    +
    + +

    Default value mxConstants#NONE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGdiCanvas2D.ShadowAlpha
    +
    +set
    +
    + +

    Default value 1. This method may add rendering overhead and should be used with care.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.ShadowColor
    +
    +set
    +
    + +

    Default value mxConstants#NONE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGdiCanvas2D.StrokeAlpha
    +
    +set
    +
    + +

    Sets the given alpha.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxGdiCanvas2D.StrokeColor
    +
    +set
    +
    + +

    +

    Caches color conversion as it is expensive.

    + +

    Referenced by com.mxgraph.mxStencil.DrawElement(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGdiCanvas2D.StrokeWidth
    +
    +set
    +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/canvas/mxGdiCanvas2D.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.png new file mode 100644 index 000000000..7e9a1d417 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html new file mode 100644 index 000000000..c471d95fa --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState-members.html @@ -0,0 +1,65 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGdiCanvas2D.CanvasState Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGdiCanvas2D.CanvasState, including all inherited members.

    + + +
    Clone()com.mxgraph.mxGdiCanvas2D.CanvasStateinline
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html new file mode 100644 index 000000000..4bdc2576e --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.html @@ -0,0 +1,113 @@ + + + + + + +mxGraph: com.mxgraph.mxGdiCanvas2D.CanvasState Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxGdiCanvas2D.CanvasState Class Reference
    +
    +
    + +

    + More...

    +
    +Inheritance diagram for com.mxgraph.mxGdiCanvas2D.CanvasState:
    +
    +
    + + + +
    + + + + +

    +Public Member Functions

    Object Clone ()
     
    +

    Detailed Description

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    Object com.mxgraph.mxGdiCanvas2D.CanvasState.Clone ()
    +
    +inline
    +
    + +

    + +

    Referenced by com.mxgraph.mxGdiCanvas2D.Save().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/canvas/mxGdiCanvas2D.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.png new file mode 100644 index 000000000..94ea2f626 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGdiCanvas2D_1_1CanvasState.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html new file mode 100644 index 000000000..5d2f90904 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry-members.html @@ -0,0 +1,109 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGeometry Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGeometry, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Add(mxRectangle rect)com.mxgraph.mxRectangleinline
    AlternateBoundscom.mxgraph.mxGeometry
    alternateBoundscom.mxgraph.mxGeometryprotected
    Clone()com.mxgraph.mxGeometryinline
    Contains(double x, double y)com.mxgraph.mxRectangleinline
    Equals(Object obj)com.mxgraph.mxRectangleinline
    GetCenterX()com.mxgraph.mxRectangleinline
    GetCenterY()com.mxgraph.mxRectangleinline
    GetPoint()com.mxgraph.mxPointinline
    GetRectangle()com.mxgraph.mxRectangleinline
    GetTerminalPoint(bool source)com.mxgraph.mxGeometryinline
    Grow(double amount)com.mxgraph.mxRectangleinline
    heightcom.mxgraph.mxRectangleprotected
    Heightcom.mxgraph.mxRectangle
    mxGeometry()com.mxgraph.mxGeometryinline
    mxGeometry(double x, double y, double width, double height)com.mxgraph.mxGeometryinline
    mxGeometry(mxGeometry geometry)com.mxgraph.mxGeometryinline
    mxPoint()com.mxgraph.mxPointinline
    mxPoint(Point point)com.mxgraph.mxPointinline
    mxPoint(mxPoint point)com.mxgraph.mxPointinline
    mxPoint(double x, double y)com.mxgraph.mxPointinline
    mxRectangle()com.mxgraph.mxRectangleinline
    mxRectangle(mxRectangle rect)com.mxgraph.mxRectangleinline
    mxRectangle(Rectangle rect)com.mxgraph.mxRectangleinline
    mxRectangle(double x, double y, double width, double height)com.mxgraph.mxRectangleinline
    offsetcom.mxgraph.mxGeometryprotected
    Offsetcom.mxgraph.mxGeometry
    Pointscom.mxgraph.mxGeometry
    pointscom.mxgraph.mxGeometryprotected
    Relativecom.mxgraph.mxGeometry
    relativecom.mxgraph.mxGeometryprotected
    setRect(double x, double y, double w, double h)com.mxgraph.mxRectangleinline
    SetTerminalPoint(mxPoint point, bool source)com.mxgraph.mxGeometryinline
    SourcePointcom.mxgraph.mxGeometry
    sourcePointcom.mxgraph.mxGeometryprotected
    TargetPointcom.mxgraph.mxGeometry
    targetPointcom.mxgraph.mxGeometryprotected
    Translate(double dx, double dy)com.mxgraph.mxGeometryinline
    TRANSLATE_CONTROL_POINTScom.mxgraph.mxGeometrystatic
    widthcom.mxgraph.mxRectangleprotected
    Widthcom.mxgraph.mxRectangle
    Xcom.mxgraph.mxPoint
    xcom.mxgraph.mxPointprotected
    Ycom.mxgraph.mxPoint
    ycom.mxgraph.mxPointprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html new file mode 100644 index 000000000..0a7074ef2 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.html @@ -0,0 +1,826 @@ + + + + + + +mxGraph: com.mxgraph.mxGeometry Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxGeometry Class Reference
    +
    +
    + +

    Represents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points. + More...

    +
    +Inheritance diagram for com.mxgraph.mxGeometry:
    +
    +
    + + +com.mxgraph.mxRectangle +com.mxgraph.mxPoint + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGeometry ()
     Constructs a new geometry at (0, 0) with the width and height set to 0. More...
     
     mxGeometry (double x, double y, double width, double height)
     Constructs a geometry using the given parameters. More...
     
     mxGeometry (mxGeometry geometry)
     Constructs a copy of the given geometry. More...
     
    mxPoint GetTerminalPoint (bool source)
     Returns the point representing the source or target point of this edge. This is only used if the edge has no source or target vertex. More...
     
    mxPoint SetTerminalPoint (mxPoint point, bool source)
     Sets the sourcePoint or targetPoint to the given point and returns the new point. More...
     
    void Translate (double dx, double dy)
     Translates the geometry by the specified amount. That is, x and y of the geometry, the sourcePoint, targetPoint and all elements of points are translated by the given amount. X and y are only translated if the geometry is not relative. If TRANSLATE_CONTROL_POINTS is false, then are not modified by this function. More...
     
    new mxGeometry Clone ()
     Returns a new instance of the same geometry. More...
     
    - Public Member Functions inherited from com.mxgraph.mxRectangle
     mxRectangle ()
     Constructs a new rectangle at (0, 0) with the width and height set to 0. More...
     
     mxRectangle (mxRectangle rect)
     Constructs a copy of the given rectangle. More...
     
     mxRectangle (Rectangle rect)
     Constructs a copy of the given rectangle. More...
     
     mxRectangle (double x, double y, double width, double height)
     Constructs a rectangle using the given parameters. More...
     
    void setRect (double x, double y, double w, double h)
     Sets this rectangle to the specified values More...
     
    double GetCenterX ()
     Returns the x-coordinate of the center. More...
     
    double GetCenterY ()
     Returns the y-coordinate of the center. More...
     
    void Add (mxRectangle rect)
     Adds the given rectangle to this rectangle. More...
     
    void Grow (double amount)
     Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height. More...
     
    bool Contains (double x, double y)
     Returns true if this rectangle contains the given point (x, y). More...
     
    Rectangle GetRectangle ()
     Returns the bounds as a new rectangle. More...
     
    new Boolean Equals (Object obj)
     Returns true if the given object equals this rectangle. More...
     
    new mxRectangle Clone ()
     Returns a new instance of the same rectangle. More...
     
    - Public Member Functions inherited from com.mxgraph.mxPoint
     mxPoint ()
     Constructs a new point at (0, 0). More...
     
     mxPoint (Point point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (mxPoint point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (double x, double y)
     Constructs a new point at (x, y). More...
     
    Point GetPoint ()
     Returns the coordinates as a new point. More...
     
    new Boolean Equals (Object obj)
     Returns true if the given object equals this point. More...
     
    mxPoint Clone ()
     Returns a new instance of the same point. More...
     
    + + + + +

    +Static Public Attributes

    static bool TRANSLATE_CONTROL_POINTS = true
     Global switch to translate the points in translate. Default is true. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    mxRectangle alternateBounds
     Stores alternate values for x, y, width and height in a rectangle. Default is null. More...
     
    mxPoint sourcePoint
     Defines the source-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null. More...
     
    mxPoint targetPoint
     Defines the target-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null. More...
     
    mxPoint offset
     Holds the offset of the label for edges. This is the absolute vector between the center of the edge and the top, left point of the label. Default is null. More...
     
    List< mxPointpoints
     List of mxPoints which specifies the control points along the edge. These points are the intermediate points on the edge, for the endpoints use targetPoint and sourcePoint or set the terminals of the edge to a non-null value. Default is null. More...
     
    bool relative = false
     Specifies if the coordinates in the geometry are to be interpreted as relative coordinates. Default is false. This is used to mark a geometry with an x- and y-coordinate that is used to describe an edge label position. More...
     
    - Protected Attributes inherited from com.mxgraph.mxRectangle
    double width
     Holds the width. Default is 0. More...
     
    double height
     Holds the height. Default is 0. More...
     
    - Protected Attributes inherited from com.mxgraph.mxPoint
    double x
     Holds the x-coordinate of the point. Default is 0. More...
     
    double y
     Holds the y-coordinate of the point. Default is 0. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    mxRectangle AlternateBounds [get, set]
     Sets or returns the alternate bounds. More...
     
    mxPoint SourcePoint [get, set]
     Sets or returns the source point. More...
     
    mxPoint TargetPoint [get, set]
     Sets or returns the target point. More...
     
    List< mxPointPoints [get, set]
     Sets or returns the list of control points. More...
     
    mxPoint Offset [get, set]
     Sets or returns the offset. More...
     
    bool Relative [get, set]
     Sets or returns if the geometry is relative. More...
     
    - Properties inherited from com.mxgraph.mxRectangle
    double Width [get, set]
     Sets or returns the width of the rectangle. More...
     
    double Height [get, set]
     Sets or returns the height of the rectangle. More...
     
    - Properties inherited from com.mxgraph.mxPoint
    double X [get, set]
     Sets or returns the x-coordinate of the point. More...
     
    double Y [get, set]
     Sets or returns the y-coordinate of the point. More...
     
    +

    Detailed Description

    +

    Represents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxGeometry.mxGeometry ()
    +
    +inline
    +
    + +

    Constructs a new geometry at (0, 0) with the width and height set to 0.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxGeometry.mxGeometry (double x,
    double y,
    double width,
    double height 
    )
    +
    +inline
    +
    + +

    Constructs a geometry using the given parameters.

    +
    Parameters
    + + + + + +
    xX-coordinate of the new geometry.
    yY-coordinate of the new geometry.
    widthWidth of the new geometry.
    heightHeight of the new geometry.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGeometry.mxGeometry (mxGeometry geometry)
    +
    +inline
    +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    new mxGeometry com.mxgraph.mxGeometry.Clone ()
    +
    +inline
    +
    + +

    Returns a new instance of the same geometry.

    +
    Returns
    Returns a clone of the geometry.
    + +

    Referenced by com.mxgraph.mxCell.Clone(), com.mxgraph.mxFastOrganicLayout.execute(), and com.mxgraph.mxGraphModel.UpdateEdgeParent().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxPoint com.mxgraph.mxGeometry.GetTerminalPoint (bool source)
    +
    +inline
    +
    + +

    Returns the point representing the source or target point of this edge. This is only used if the edge has no source or target vertex.

    +
    Parameters
    + + +
    sourceBoolean that specifies if the source or target point should be returned.
    +
    +
    +
    Returns
    Returns the source or target point.
    + +

    Referenced by com.mxgraph.mxGraphView.UpdateEdgeState(), and com.mxgraph.mxGraphView.UpdateFixedTerminalPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGeometry.SetTerminalPoint (mxPoint point,
    bool source 
    )
    +
    +inline
    +
    + +

    Sets the sourcePoint or targetPoint to the given point and returns the new point.

    +
    Parameters
    + + + +
    pointPoint to be used as the new source or target point.
    sourceBoolean that specifies if the source or target point should be set.
    +
    +
    +
    Returns
    Returns the new point.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGeometry.Translate (double dx,
    double dy 
    )
    +
    +inline
    +
    + +

    Translates the geometry by the specified amount. That is, x and y of the geometry, the sourcePoint, targetPoint and all elements of points are translated by the given amount. X and y are only translated if the geometry is not relative. If TRANSLATE_CONTROL_POINTS is false, then are not modified by this function.

    +
    Parameters
    + + + +
    dxInteger that specifies the x-coordinate of the translation.
    dyInteger that specifies the y-coordinate of the translation.
    +
    +
    + +

    References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +

    Referenced by com.mxgraph.mxGraphModel.UpdateEdgeParent().

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxGeometry.alternateBounds
    +
    +protected
    +
    + +

    Stores alternate values for x, y, width and height in a rectangle. Default is null.

    + +

    Referenced by com.mxgraph.mxGeometry.mxGeometry().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGeometry.offset
    +
    +protected
    +
    + +

    Holds the offset of the label for edges. This is the absolute vector between the center of the edge and the top, left point of the label. Default is null.

    + +

    Referenced by com.mxgraph.mxGeometry.mxGeometry().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<mxPoint> com.mxgraph.mxGeometry.points
    +
    +protected
    +
    + +

    List of mxPoints which specifies the control points along the edge. These points are the intermediate points on the edge, for the endpoints use targetPoint and sourcePoint or set the terminals of the edge to a non-null value. Default is null.

    + +

    Referenced by com.mxgraph.mxGeometry.mxGeometry().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGeometry.relative = false
    +
    +protected
    +
    + +

    Specifies if the coordinates in the geometry are to be interpreted as relative coordinates. Default is false. This is used to mark a geometry with an x- and y-coordinate that is used to describe an edge label position.

    + +

    Referenced by com.mxgraph.mxGeometry.mxGeometry().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGeometry.sourcePoint
    +
    +protected
    +
    + +

    Defines the source-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null.

    + +

    Referenced by com.mxgraph.mxGeometry.mxGeometry().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGeometry.targetPoint
    +
    +protected
    +
    + +

    Defines the target-point of the edge. This is used if the corresponding edge does not have a source vertex. Otherwise it is ignored. Default is null.

    + +

    Referenced by com.mxgraph.mxGeometry.mxGeometry().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGeometry.TRANSLATE_CONTROL_POINTS = true
    +
    +static
    +
    + +

    Global switch to translate the points in translate. Default is true.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxGeometry.AlternateBounds
    +
    +getset
    +
    + +

    Sets or returns the alternate bounds.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGeometry.Offset
    +
    +getset
    +
    + +

    Sets or returns the offset.

    + +

    Referenced by com.mxgraph.mxGraphView.GetPoint(), and com.mxgraph.mxGraphView.UpdateCellState().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<mxPoint> com.mxgraph.mxGeometry.Points
    +
    +getset
    +
    + +

    Sets or returns the list of control points.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateEdgeState().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGeometry.Relative
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGeometry.SourcePoint
    +
    +getset
    +
    + +

    Sets or returns the source point.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGeometry.TargetPoint
    +
    +getset
    +
    + +

    Sets or returns the target point.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/model/mxGeometry.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.png new file mode 100644 index 000000000..668af1f24 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGeometry.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html new file mode 100644 index 000000000..18337ea5a --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph-members.html @@ -0,0 +1,157 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGraph Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGraph, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddImageBundle(mxImageBundle bundle)com.mxgraph.mxGraphinline
    ConvertValueToString(Object cell)com.mxgraph.mxGraphinline
    CreateEdge(Object parent, string id, Object value, Object source, Object target, string style)com.mxgraph.mxGraphinline
    CreateGraphView()com.mxgraph.mxGraphinlineprotected
    CreateStylesheet()com.mxgraph.mxGraphinlineprotected
    CreateVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style)com.mxgraph.mxGraphinline
    CreateVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)com.mxgraph.mxGraphinline
    defaultLoopStylecom.mxgraph.mxGraphprotected
    DefaultLoopStylecom.mxgraph.mxGraph
    DrawCell(mxICanvas canvas, Object cell)com.mxgraph.mxGraphinline
    DrawGraph(mxICanvas canvas)com.mxgraph.mxGraphinline
    DrawState(mxICanvas canvas, mxCellState state, String label)com.mxgraph.mxGraphinline
    FindTreeRoots(Object parent)com.mxgraph.mxGraphinline
    FindTreeRoots(Object parent, bool isolate)com.mxgraph.mxGraphinline
    FindTreeRoots(Object parent, bool isolate, bool invert)com.mxgraph.mxGraphinline
    GetBoundingBox(Object cell)com.mxgraph.mxGraphinline
    GetBoundingBox(Object cell, bool includeEdges)com.mxgraph.mxGraphinline
    GetBoundingBox(Object cell, bool includeEdges, bool includeDescendants)com.mxgraph.mxGraphinline
    GetBoundsForCells(Object[] cells, bool includeEdges, bool includeDescendants, bool boundingBox)com.mxgraph.mxGraphinline
    GetCellAt(int x, int y)com.mxgraph.mxGraphinline
    GetCellAt(int x, int y, bool hitSwimlaneContent)com.mxgraph.mxGraphinline
    GetCellAt(int x, int y, bool hitSwimlaneContent, Object parent)com.mxgraph.mxGraphinline
    GetCellBounds(Object cell)com.mxgraph.mxGraphinline
    GetCellBounds(Object cell, bool includeEdges)com.mxgraph.mxGraphinline
    GetCellBounds(Object cell, bool includeEdges, bool includeDescendants)com.mxgraph.mxGraphinline
    GetCellBounds(Object cell, bool includeEdges, bool includeDescendants, bool boundingBox)com.mxgraph.mxGraphinline
    GetCellGeometry(Object cell)com.mxgraph.mxGraphinline
    GetCellStyle(Object cell)com.mxgraph.mxGraphinline
    GetChildCells(Object parent)com.mxgraph.mxGraphinline
    GetChildCells(Object parent, bool vertices, bool edges)com.mxgraph.mxGraphinline
    GetChildEdges(Object parent)com.mxgraph.mxGraphinline
    GetChildOffsetForCell(Object cell)com.mxgraph.mxGraphinline
    GetChildVertices(Object parent)com.mxgraph.mxGraphinline
    GetConnectionConstraint(mxCellState edge, mxCellState terminal, bool source)com.mxgraph.mxGraphinline
    GetConnectionPoint(mxCellState vertex, mxConnectionConstraint constraint)com.mxgraph.mxGraphinline
    GetConnections(Object cell)com.mxgraph.mxGraphinline
    GetConnections(Object cell, Object parent)com.mxgraph.mxGraphinline
    GetDefaultParent()com.mxgraph.mxGraphinline
    GetEdges(Object cell)com.mxgraph.mxGraphinline
    GetEdges(Object cell, Object parent)com.mxgraph.mxGraphinline
    GetEdges(Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops)com.mxgraph.mxGraphinline
    GetEdges(Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops, bool recurse)com.mxgraph.mxGraphinline
    GetEdgesBetween(Object source, Object target)com.mxgraph.mxGraphinline
    GetEdgesBetween(Object source, Object target, bool directed)com.mxgraph.mxGraphinline
    GetGraphBounds()com.mxgraph.mxGraphinline
    GetImageFromBundles(String key)com.mxgraph.mxGraphinline
    GetIncomingEdges(Object cell)com.mxgraph.mxGraphinline
    GetIncomingEdges(Object cell, Object parent)com.mxgraph.mxGraphinline
    GetLabel(Object cell)com.mxgraph.mxGraphinline
    GetOpposites(Object[] edges, Object terminal)com.mxgraph.mxGraphinline
    GetOpposites(Object[] edges, Object terminal, bool sources, bool targets)com.mxgraph.mxGraphinline
    GetOutgoingEdges(Object cell)com.mxgraph.mxGraphinline
    GetOutgoingEdges(Object cell, Object parent)com.mxgraph.mxGraphinline
    GetPaintBounds(Object[] cells)com.mxgraph.mxGraphinline
    GraphModelChanged()com.mxgraph.mxGraphinline
    gridEnabledcom.mxgraph.mxGraphprotected
    GridEnabledcom.mxgraph.mxGraph
    gridSizecom.mxgraph.mxGraphprotected
    GridSizecom.mxgraph.mxGraph
    HitsSwimlaneContent(Object swimlane, int x, int y)com.mxgraph.mxGraphinline
    ImageBundlescom.mxgraph.mxGraph
    imageBundlescom.mxgraph.mxGraphprotected
    InsertEdge(Object parent, string id, Object value, Object source, Object target)com.mxgraph.mxGraphinline
    InsertEdge(Object parent, string id, Object value, Object source, Object target, string style)com.mxgraph.mxGraphinline
    InsertVertex(Object parent, string id, Object value, double x, double y, double width, double height)com.mxgraph.mxGraphinline
    InsertVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style)com.mxgraph.mxGraphinline
    InsertVertex(Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)com.mxgraph.mxGraphinline
    Intersects(mxCellState state, Rectangle rect)com.mxgraph.mxGraphinline
    IsCellCollapsed(Object cell)com.mxgraph.mxGraphinline
    IsCellConnectable(Object cell)com.mxgraph.mxGraphinline
    IsCellMovable(Object cell)com.mxgraph.mxGraphinline
    IsCellVisible(Object cell)com.mxgraph.mxGraphinline
    IsOrthogonal(mxCellState edge)com.mxgraph.mxGraphinline
    IsSwimlane(Object cell)com.mxgraph.mxGraphinline
    IsValidAncestor(Object cell, Object parent, bool recurse)com.mxgraph.mxGraphinline
    labelsVisiblecom.mxgraph.mxGraphprotected
    LabelsVisiblecom.mxgraph.mxGraph
    modelcom.mxgraph.mxGraphprotected
    Modelcom.mxgraph.mxGraph
    mxGraph()com.mxgraph.mxGraphinline
    mxGraph(mxIGraphModel model)com.mxgraph.mxGraphinline
    mxGraph(mxStylesheet stylesheet)com.mxgraph.mxGraphinline
    mxGraph(mxIGraphModel model, mxStylesheet stylesheet)com.mxgraph.mxGraphinline
    PostProcessCellStyle(Dictionary< string, Object > style)com.mxgraph.mxGraphinlineprotected
    RemoveImageBundle(mxImageBundle bundle)com.mxgraph.mxGraphinline
    SetCellStyles(String key, String value, Object[] cells)com.mxgraph.mxGraphinline
    Snap(double value)com.mxgraph.mxGraphinline
    Stylesheetcom.mxgraph.mxGraph
    stylesheetcom.mxgraph.mxGraphprotected
    tolerancecom.mxgraph.mxGraphprotected
    VERSIONcom.mxgraph.mxGraph
    viewcom.mxgraph.mxGraphprotected
    Viewcom.mxgraph.mxGraph
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html new file mode 100644 index 000000000..d1d01daf4 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraph.html @@ -0,0 +1,3955 @@ + + + + + + +mxGraph: com.mxgraph.mxGraph Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    Implements a graph object that allows to create diagrams from a graph model and stylesheet. + More...

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGraph ()
     Constructs a new graph with an empty graph model. More...
     
     mxGraph (mxIGraphModel model)
     Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used. More...
     
     mxGraph (mxStylesheet stylesheet)
     Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used. More...
     
     mxGraph (mxIGraphModel model, mxStylesheet stylesheet)
     Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used. More...
     
    double Snap (double value)
     Snaps the given numeric value to the grid if gridEnabled is true. More...
     
    Object GetDefaultParent ()
     Returns the first child of the root in the model, that is, the first or default layer of the diagram. More...
     
    string ConvertValueToString (Object cell)
     Returns the textual representation for the given cell. More...
     
    string GetLabel (Object cell)
     Returns a string or markup that represents the label for the given cell. This implementation uses ConvertValueToString if labelsVisible is true. Otherwise it returns an empty string. More...
     
    mxPoint GetChildOffsetForCell (Object cell)
     Returns the offset to be used for the cells inside the given cell. The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer. This implementation returns null. More...
     
    bool IsOrthogonal (mxCellState edge)
     Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments. More...
     
    bool IsSwimlane (Object cell)
     Returns true if the given cell is a swimlane. More...
     
    bool IsCellMovable (Object cell)
     Returns true if the given cell is movable. This implementation always returns true. More...
     
    bool IsCellVisible (Object cell)
     Returns true if the given cell is visible. This implementation returns true if the visible state of the cell in the model is true. More...
     
    bool IsCellCollapsed (Object cell)
     Returns true if the given cell is collapsed. This implementation returns true if the collapsed state of the cell in the model is true. More...
     
    bool IsCellConnectable (Object cell)
     Returns true if the given cell is connectable. This implementation returns true if the connectable state of the cell in the model is true. More...
     
    mxGeometry GetCellGeometry (Object cell)
     Returns the geometry for the given cell. More...
     
    Dictionary< string, Object > GetCellStyle (Object cell)
     Returns the style for the given cell. More...
     
    void AddImageBundle (mxImageBundle bundle)
     Adds the specified bundle. More...
     
    void RemoveImageBundle (mxImageBundle bundle)
     Removes the specified bundle. More...
     
    String GetImageFromBundles (String key)
     Searches all bundles for the specified key and returns the value for the first match or null if the key is not found. More...
     
    void SetCellStyles (String key, String value, Object[] cells)
     Sets the key to value in the styles of the given cells. This will modify the existing cell styles in-place and override any existing assignment for the given key. If no cells are specified, then the selection cells are changed. If no value is specified, then the respective key is removed from the styles. More...
     
    Object InsertVertex (Object parent, string id, Object value, double x, double y, double width, double height)
     Creates and adds a new vertex with an empty style, see AddVertex. More...
     
    Object InsertVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style)
     Creates and adds a new vertex with an empty style, see AddVertex. More...
     
    Object InsertVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)
     Adds a new vertex into the given parent using value as the user object and the given coordinates as the geometry of the new vertex. The id and style are used for the respective properties of the new cell, which is returned. More...
     
    Object CreateVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style)
     Creates a new vertex to be used in insertVertex. More...
     
    Object CreateVertex (Object parent, string id, Object value, double x, double y, double width, double height, string style, bool relative)
     Creates a new vertex to be used in insertVertex. More...
     
    Object InsertEdge (Object parent, string id, Object value, Object source, Object target)
     Creates and adds a new edge with an empty style. More...
     
    Object InsertEdge (Object parent, string id, Object value, Object source, Object target, string style)
     Adds a new edge into the given parent using value as the user object and the given source and target as the terminals of the new edge. The Id and style are used for the respective properties of the new cell, which is returned. More...
     
    Object CreateEdge (Object parent, string id, Object value, Object source, Object target, string style)
     Creates the edge to be used in insertEdge. This implementation does not set the source and target of the edge, these are set when the edge is added to the model. More...
     
    mxRectangle GetGraphBounds ()
     Returns the bounds of the visible graph. More...
     
    mxRectangle GetCellBounds (Object cell)
     Returns the bounds of the given cell. More...
     
    mxRectangle GetCellBounds (Object cell, bool includeEdges)
     Returns the bounds of the given cell including all connected edges if includeEdge is true. More...
     
    mxRectangle GetCellBounds (Object cell, bool includeEdges, bool includeDescendants)
     Returns the bounds of the given cell including all connected edges if includeEdge is true. More...
     
    mxRectangle GetBoundingBox (Object cell)
     Returns the bounds of the given cell. More...
     
    mxRectangle GetBoundingBox (Object cell, bool includeEdges)
     Returns the bounding box of the given cell including all connected edges if includeEdge is true. More...
     
    mxRectangle GetBoundingBox (Object cell, bool includeEdges, bool includeDescendants)
     Returns the bounding box of the given cell including all connected edges if includeEdge is true. More...
     
    mxRectangle GetPaintBounds (Object[] cells)
     Returns the bounding box of the given cells and their descendants. More...
     
    mxRectangle GetBoundsForCells (Object[] cells, bool includeEdges, bool includeDescendants, bool boundingBox)
     Returns the bounds for the given cells. More...
     
    mxRectangle GetCellBounds (Object cell, bool includeEdges, bool includeDescendants, bool boundingBox)
     Returns the bounds of the given cell including all connected edges if includeEdge is true. More...
     
    mxConnectionConstraint GetConnectionConstraint (mxCellState edge, mxCellState terminal, bool source)
     Returns a connection constraint that describes the given connection point. This result can then be passed to getConnectionPoint. More...
     
    mxPoint GetConnectionPoint (mxCellState vertex, mxConnectionConstraint constraint)
     Returns the nearest point in the list of absolute points or the center of the opposite terminal. More...
     
    Object GetCellAt (int x, int y)
     Returns the cell at the given location. More...
     
    Object GetCellAt (int x, int y, bool hitSwimlaneContent)
     Returns the cell at the given location. More...
     
    Object GetCellAt (int x, int y, bool hitSwimlaneContent, Object parent)
     Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent. More...
     
    bool Intersects (mxCellState state, Rectangle rect)
     Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent. More...
     
    bool HitsSwimlaneContent (Object swimlane, int x, int y)
     Returns true if the given point is inside the content area of the given swimlane. (The content area of swimlanes is transparent to events.) This implementation does not check if the given state is a swimlane, it is assumed that the caller has checked this before using this method. More...
     
    Object[] GetChildVertices (Object parent)
     Returns the visible child vertices of the given parent. More...
     
    Object[] GetChildEdges (Object parent)
     Returns the visible child edges of the given parent. More...
     
    Object[] GetChildCells (Object parent)
     Returns the visible children of the given parent. More...
     
    Object[] GetChildCells (Object parent, bool vertices, bool edges)
     Returns the visible child vertices or edges in the given parent. If vertices and edges is false, then all children are returned. More...
     
    Object[] GetConnections (Object cell)
     Returns all visible edges connected to the given cell without loops. More...
     
    Object[] GetConnections (Object cell, Object parent)
     Returns all visible edges connected to the given cell without loops. More...
     
    Object[] GetIncomingEdges (Object cell)
     Returns all incoming visible edges connected to the given cell without loops. More...
     
    Object[] GetIncomingEdges (Object cell, Object parent)
     Returns the visible incoming edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned. More...
     
    Object[] GetOutgoingEdges (Object cell)
     Returns all outgoing visible edges connected to the given cell without loops. More...
     
    Object[] GetOutgoingEdges (Object cell, Object parent)
     Returns the visible outgoing edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned. More...
     
    Object[] GetEdges (Object cell)
     Returns all visible edges connected to the given cell including loops. More...
     
    Object[] GetEdges (Object cell, Object parent)
     Returns all visible edges connected to the given cell including loops. More...
     
    Object[] GetEdges (Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops)
     Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops. More...
     
    Object[] GetEdges (Object cell, Object parent, bool incoming, bool outgoing, bool includeLoops, bool recurse)
     Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops. More...
     
    bool IsValidAncestor (Object cell, Object parent, bool recurse)
     Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled. More...
     
    Object[] GetOpposites (Object[] edges, Object terminal)
     Returns all distinct visible opposite cells of the terminal on the given edges. More...
     
    Object[] GetOpposites (Object[] edges, Object terminal, bool sources, bool targets)
     Returns all distincts visible opposite cells for the specified terminal on the given edges. More...
     
    Object[] GetEdgesBetween (Object source, Object target)
     Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen. More...
     
    Object[] GetEdgesBetween (Object source, Object target, bool directed)
     Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen. More...
     
    List< Object > FindTreeRoots (Object parent)
     Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned. More...
     
    List< Object > FindTreeRoots (Object parent, bool isolate)
     Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned. More...
     
    List< Object > FindTreeRoots (Object parent, bool isolate, bool invert)
     Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned. More...
     
    void DrawGraph (mxICanvas canvas)
     Draws the graph onto the given canvas. More...
     
    void DrawCell (mxICanvas canvas, Object cell)
     Draws the given cell onto the specified canvas. More...
     
    void DrawState (mxICanvas canvas, mxCellState state, String label)
     Draws the given cell and label onto the specified canvas. No children or descendants are painted. More...
     
    void GraphModelChanged ()
     Called when the graph model has changed to invalidate the view. More...
     
    + + + + +

    +Public Attributes

    const String VERSION = "3.7.2"
     Holds the version number of this release. Current version is 3.7.2. More...
     
    + + + + + + + + + + +

    +Protected Member Functions

    mxStylesheet CreateStylesheet ()
     Constructs a new stylesheet to be used in this graph. More...
     
    mxGraphView CreateGraphView ()
     Constructs a new view to be used in this graph. More...
     
    Dictionary< string, Object > PostProcessCellStyle (Dictionary< string, Object > style)
     Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    mxIGraphModel model
     Holds the model that contains the cells to be displayed. More...
     
    mxStylesheet stylesheet
     Holds the stylesheet that defines the appearance of the cells. More...
     
    mxGraphView view
     Holds the view that caches the cell states. More...
     
    mxEdgeStyleFunction defaultLoopStyle = mxEdgeStyle.Loop
     Specifies the default style for loops. More...
     
    int tolerance = 4
     Specifies the tolerance for mouse clicks. Default is 4. More...
     
    bool labelsVisible = true
     Specifies if labels should be visible. This is used in GetLabel. Default is true. More...
     
    int gridSize = 10
     Specifies the grid size. Default is 10. More...
     
    bool gridEnabled = true
     Specifies if the grid is enabled. Default is true. More...
     
    List< mxImageBundleimageBundles = new List<mxImageBundle>()
     Holds the list of image bundles. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    mxIGraphModel Model [get, set]
     Sets or returns the graph model that contains the graph data. More...
     
    mxStylesheet Stylesheet [get, set]
     Sets or returns the stylesheet that provides the style. More...
     
    mxGraphView View [get, set]
     Sets or returns the view that contains the cell states. More...
     
    mxEdgeStyleFunction DefaultLoopStyle [get, set]
     Sets or returns the default edge style for loops. More...
     
    bool GridEnabled [get, set]
     Sets or returns the enabled state of the grid. More...
     
    int GridSize [get, set]
     Sets or returns the grid size. More...
     
    bool LabelsVisible [get, set]
     Sets or returns if labels are visible More...
     
    List< mxImageBundleImageBundles [get, set]
     Sets or returns the image bundles. More...
     
    +

    Detailed Description

    +

    Implements a graph object that allows to create diagrams from a graph model and stylesheet.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxGraph.mxGraph ()
    +
    +inline
    +
    + +

    Constructs a new graph with an empty graph model.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGraph.mxGraph (mxIGraphModel model)
    +
    +inline
    +
    + +

    Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGraph.mxGraph (mxStylesheet stylesheet)
    +
    +inline
    +
    + +

    Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxGraph.mxGraph (mxIGraphModel model,
    mxStylesheet stylesheet 
    )
    +
    +inline
    +
    + +

    Constructs a new graph for the specified model. If no model is specified, then a new, empty graph model is used.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraph.AddImageBundle (mxImageBundle bundle)
    +
    +inline
    +
    + +

    Adds the specified bundle.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxGraph.ConvertValueToString (Object cell)
    +
    +inline
    +
    + +

    Returns the textual representation for the given cell.

    +
    Parameters
    + + +
    cellCell to be converted to a string.
    +
    +
    +
    Returns
    Returns the textual representation of the cell.
    + +

    References com.mxgraph.mxIGraphModel.GetValue().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.CreateEdge (Object parent,
    string id,
    Object value,
    Object source,
    Object target,
    string style 
    )
    +
    +inline
    +
    + +

    Creates the edge to be used in insertEdge. This implementation does not set the source and target of the edge, these are set when the edge is added to the model.

    + +

    References com.mxgraph.mxGeometry.Relative.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    mxGraphView com.mxgraph.mxGraph.CreateGraphView ()
    +
    +inlineprotected
    +
    + +

    Constructs a new view to be used in this graph.

    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    mxStylesheet com.mxgraph.mxGraph.CreateStylesheet ()
    +
    +inlineprotected
    +
    + +

    Constructs a new stylesheet to be used in this graph.

    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.CreateVertex (Object parent,
    string id,
    Object value,
    double x,
    double y,
    double width,
    double height,
    string style 
    )
    +
    +inline
    +
    + +

    Creates a new vertex to be used in insertVertex.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.CreateVertex (Object parent,
    string id,
    Object value,
    double x,
    double y,
    double width,
    double height,
    string style,
    bool relative 
    )
    +
    +inline
    +
    + +

    Creates a new vertex to be used in insertVertex.

    + +

    References com.mxgraph.mxGeometry.Relative.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraph.DrawCell (mxICanvas canvas,
    Object cell 
    )
    +
    +inline
    +
    + +

    Draws the given cell onto the specified canvas.

    +
    Parameters
    + + + +
    canvasCanvas onto which the cell should be drawn.
    cellCell that should be drawn onto the canvas.
    +
    +
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), and com.mxgraph.mxGraphView.GetState().

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraph.DrawGraph (mxICanvas canvas)
    +
    +inline
    +
    + +

    Draws the graph onto the given canvas.

    +
    Parameters
    + + +
    canvasCanvas onto which the graph should be drawn.
    +
    +
    + +

    References com.mxgraph.mxIGraphModel.Root.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraph.DrawState (mxICanvas canvas,
    mxCellState state,
    String label 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    List<Object> com.mxgraph.mxGraph.FindTreeRoots (Object parent)
    +
    +inline
    +
    + +

    Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

    +
    Parameters
    + + +
    parentCell whose children should be checked.
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    List<Object> com.mxgraph.mxGraph.FindTreeRoots (Object parent,
    bool isolate 
    )
    +
    +inline
    +
    + +

    Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

    +
    Parameters
    + + + +
    parentCell whose children should be checked.
    isolateSpecifies if edges should be ignored if the opposite end is not a child of the given parent cell.
    +
    +
    +
    Returns
    Array of tree roots in parent.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    List<Object> com.mxgraph.mxGraph.FindTreeRoots (Object parent,
    bool isolate,
    bool invert 
    )
    +
    +inline
    +
    + +

    Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

    +
    Parameters
    + + + + +
    parentCell whose children should be checked.
    isolateSpecifies if edges should be ignored if the opposite end is not a child of the given parent cell.
    invertSpecifies if outgoing or incoming edges should be counted for a tree root. If false then outgoing edges will be counted.
    +
    +
    +
    Returns
    Array of tree roots in parent.
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), com.mxgraph.mxGraphView.GetVisibleTerminal(), and com.mxgraph.mxIGraphModel.IsVertex().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetBoundingBox (Object cell)
    +
    +inline
    +
    + +

    Returns the bounds of the given cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetBoundingBox (Object cell,
    bool includeEdges 
    )
    +
    +inline
    +
    + +

    Returns the bounding box of the given cell including all connected edges if includeEdge is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetBoundingBox (Object cell,
    bool includeEdges,
    bool includeDescendants 
    )
    +
    +inline
    +
    + +

    Returns the bounding box of the given cell including all connected edges if includeEdge is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetBoundsForCells (Object[] cells,
    bool includeEdges,
    bool includeDescendants,
    bool boundingBox 
    )
    +
    +inline
    +
    + +

    Returns the bounds for the given cells.

    + +

    References com.mxgraph.mxRectangle.Add().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.GetCellAt (int x,
    int y 
    )
    +
    +inline
    +
    + +

    Returns the cell at the given location.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.GetCellAt (int x,
    int y,
    bool hitSwimlaneContent 
    )
    +
    +inline
    +
    + +

    Returns the cell at the given location.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.GetCellAt (int x,
    int y,
    bool hitSwimlaneContent,
    Object parent 
    )
    +
    +inline
    +
    + +

    Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy starting at the given parent.

    +
    Parameters
    + + + + + +
    xX-coordinate of the location to be checked.
    yY-coordinate of the location to be checked.
    hitSwimlaneContent
    parentthat should be used as the root of the recursion.
    +
    +
    +
    Returns
    Returns the child at the given location.
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), and com.mxgraph.mxGraphView.GetState().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell)
    +
    +inline
    +
    + +

    Returns the bounds of the given cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell,
    bool includeEdges 
    )
    +
    +inline
    +
    + +

    Returns the bounds of the given cell including all connected edges if includeEdge is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell,
    bool includeEdges,
    bool includeDescendants 
    )
    +
    +inline
    +
    + +

    Returns the bounds of the given cell including all connected edges if includeEdge is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetCellBounds (Object cell,
    bool includeEdges,
    bool includeDescendants,
    bool boundingBox 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxGeometry com.mxgraph.mxGraph.GetCellGeometry (Object cell)
    +
    +inline
    +
    + +

    Returns the geometry for the given cell.

    +
    Parameters
    + + +
    cellCell whose geometry should be returned.
    +
    +
    +
    Returns
    Returns the geometry of the cell.
    + +

    References com.mxgraph.mxIGraphModel.GetGeometry().

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateCellState(), and com.mxgraph.mxGraphView.UpdateFixedTerminalPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Dictionary<string, Object> com.mxgraph.mxGraph.GetCellStyle (Object cell)
    +
    +inline
    +
    + +

    Returns the style for the given cell.

    +
    Parameters
    + + +
    cellCell whose style should be returned.
    +
    +
    +
    Returns
    Returns the style of the cell.
    + +

    References com.mxgraph.mxStylesheet.DefaultEdgeStyle, com.mxgraph.mxStylesheet.DefaultVertexStyle, com.mxgraph.mxStylesheet.EMPTY_STYLE, com.mxgraph.mxStylesheet.GetCellStyle(), com.mxgraph.mxIGraphModel.GetStyle(), and com.mxgraph.mxIGraphModel.IsEdge().

    + +

    Referenced by com.mxgraph.mxGraphView.CreateState().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetChildCells (Object parent)
    +
    +inline
    +
    + +

    Returns the visible children of the given parent.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetChildCells (Object parent,
    bool vertices,
    bool edges 
    )
    +
    +inline
    +
    + +

    Returns the visible child vertices or edges in the given parent. If vertices and edges is false, then all children are returned.

    +
    Parameters
    + + + + +
    parentCell whose children should be returned.
    verticesSpecifies if child vertices should be returned.
    edgesSpecifies if child edges should be returned.
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxGraphModel.getChildCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetChildEdges (Object parent)
    +
    +inline
    +
    + +

    Returns the visible child edges of the given parent.

    +
    Parameters
    + + +
    parentCell whose children should be returned.
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxPoint com.mxgraph.mxGraph.GetChildOffsetForCell (Object cell)
    +
    +inline
    +
    + +

    Returns the offset to be used for the cells inside the given cell. The root and layer cells may be identified using mxGraphModel.isRoot and mxGraphModel.isLayer. This implementation returns null.

    +
    Parameters
    + + +
    cellCell whose offset should be returned.
    +
    +
    +
    Returns
    Returns the child offset for the given cell.
    + +

    Referenced by com.mxgraph.mxGraphView.UpdateCellState().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetChildVertices (Object parent)
    +
    +inline
    +
    + +

    Returns the visible child vertices of the given parent.

    +
    Parameters
    + + +
    parentCell whose children should be returned.
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    mxConnectionConstraint com.mxgraph.mxGraph.GetConnectionConstraint (mxCellState edge,
    mxCellState terminal,
    bool source 
    )
    +
    +inline
    +
    + +

    Returns a connection constraint that describes the given connection point. This result can then be passed to getConnectionPoint.

    +
    Parameters
    + + + + +
    edgeCell state that represents the edge.
    terminalCell state that represents the terminal.
    sourceBoolean indicating if the terminal is the source or target.
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ENTRY_PERIMETER, com.mxgraph.mxConstants.STYLE_ENTRY_X, com.mxgraph.mxConstants.STYLE_ENTRY_Y, com.mxgraph.mxConstants.STYLE_EXIT_PERIMETER, com.mxgraph.mxConstants.STYLE_EXIT_X, and com.mxgraph.mxConstants.STYLE_EXIT_Y.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateFixedTerminalPoints().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGraph.GetConnectionPoint (mxCellState vertex,
    mxConnectionConstraint constraint 
    )
    +
    +inline
    +
    + +

    Returns the nearest point in the list of absolute points or the center of the opposite terminal.

    +
    Parameters
    + + + +
    vertexCell state that represents the vertex.
    constraintConnection constraint that represents the connection point constraint as returned by getConnectionConstraint.
    +
    +
    + +

    References com.mxgraph.mxRectangle.Height, com.mxgraph.mxConnectionConstraint.Perimeter, com.mxgraph.mxConnectionConstraint.Point, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateFixedTerminalPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetConnections (Object cell)
    +
    +inline
    +
    + +

    Returns all visible edges connected to the given cell without loops.

    +
    Parameters
    + + +
    cellCell whose connections should be returned.
    +
    +
    +
    Returns
    Returns the connected edges for the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetConnections (Object cell,
    Object parent 
    )
    +
    +inline
    +
    + +

    Returns all visible edges connected to the given cell without loops.

    +
    Parameters
    + + + +
    cellCell whose connections should be returned.
    parentOptional parent of the opposite end for a connection to be returned.
    +
    +
    +
    Returns
    Returns the connected edges for the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    Object com.mxgraph.mxGraph.GetDefaultParent ()
    +
    +inline
    +
    + +

    Returns the first child of the root in the model, that is, the first or default layer of the diagram.

    +
    Returns
    Returns the default parent for new cells.
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), and com.mxgraph.mxIGraphModel.Root.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetEdges (Object cell)
    +
    +inline
    +
    + +

    Returns all visible edges connected to the given cell including loops.

    +
    Parameters
    + + +
    cellCell whose edges should be returned.
    +
    +
    +
    Returns
    Returns the edges of the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetEdges (Object cell,
    Object parent 
    )
    +
    +inline
    +
    + +

    Returns all visible edges connected to the given cell including loops.

    +
    Parameters
    + + + +
    cellCell whose edges should be returned.
    parentOptional parent of the opposite end for an edge to be returned.
    +
    +
    +
    Returns
    Returns the edges of the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetEdges (Object cell,
    Object parent,
    bool incoming,
    bool outgoing,
    bool includeLoops 
    )
    +
    +inline
    +
    + +

    Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.

    +
    Parameters
    + + + + + + +
    cellCell whose edges should be returned.
    parentOptional parent of the opposite end for an edge to be returned.
    incomingSpecifies if incoming edges should be included in the result.
    outgoingSpecifies if outgoing edges should be included in the result.
    includeLoopsSpecifies if loops should be included in the result.
    +
    +
    +
    Returns
    Returns the edges connected to the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetEdges (Object cell,
    Object parent,
    bool incoming,
    bool outgoing,
    bool includeLoops,
    bool recurse 
    )
    +
    +inline
    +
    + +

    Returns the incoming and/or outgoing edges for the given cell. If the optional parent argument is specified, then only edges are returned where the opposite is in the given parent cell. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.

    +
    Parameters
    + + + + + + + +
    cellCell whose edges should be returned.
    parentOptional parent of the opposite end for an edge to be returned.
    incomingSpecifies if incoming edges should be included in the result.
    outgoingSpecifies if outgoing edges should be included in the result.
    includeLoopsSpecifies if loops should be included in the result.
    recurseBoolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false.
    +
    +
    +
    Returns
    Returns the edges connected to the given cell.
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), com.mxgraph.mxGraphModel.GetEdges(), and com.mxgraph.mxGraphView.GetVisibleTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetEdgesBetween (Object source,
    Object target 
    )
    +
    +inline
    +
    + +

    Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen.

    +
    Parameters
    + + + +
    source
    target
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetEdgesBetween (Object source,
    Object target,
    bool directed 
    )
    +
    +inline
    +
    + +

    Returns the edges between the given source and target. This takes into account collapsed and invisible cells and returns the connected edges as displayed on the screen.

    +
    Parameters
    + + + + +
    source
    target
    directed
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxGraphView.GetVisibleTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetGraphBounds ()
    +
    +inline
    +
    + +

    Returns the bounds of the visible graph.

    + +

    References com.mxgraph.mxGraphView.GraphBounds.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    String com.mxgraph.mxGraph.GetImageFromBundles (String key)
    +
    +inline
    +
    + +

    Searches all bundles for the specified key and returns the value for the first match or null if the key is not found.

    +
    Parameters
    + + +
    key
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxImageBundle.GetImage().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetIncomingEdges (Object cell)
    +
    +inline
    +
    + +

    Returns all incoming visible edges connected to the given cell without loops.

    +
    Parameters
    + + +
    cellCell whose incoming edges should be returned.
    +
    +
    +
    Returns
    Returns the incoming edges of the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetIncomingEdges (Object cell,
    Object parent 
    )
    +
    +inline
    +
    + +

    Returns the visible incoming edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.

    +
    Parameters
    + + + +
    cellCell whose incoming edges should be returned.
    parentOptional parent of the opposite end for a connection to be returned.
    +
    +
    +
    Returns
    Returns the incoming edges of the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxGraph.GetLabel (Object cell)
    +
    +inline
    +
    + +

    Returns a string or markup that represents the label for the given cell. This implementation uses ConvertValueToString if labelsVisible is true. Otherwise it returns an empty string.

    +
    Parameters
    + + +
    cell
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxCellState.Style, and com.mxgraph.mxConstants.STYLE_NOLABEL.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateLabelBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetOpposites (Object[] edges,
    Object terminal 
    )
    +
    +inline
    +
    + +

    Returns all distinct visible opposite cells of the terminal on the given edges.

    +
    Parameters
    + + + +
    edges
    terminal
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetOpposites (Object[] edges,
    Object terminal,
    bool sources,
    bool targets 
    )
    +
    +inline
    +
    + +

    Returns all distincts visible opposite cells for the specified terminal on the given edges.

    +
    Parameters
    + + + + + +
    edgesEdges whose opposite terminals should be returned.
    terminalTerminal that specifies the end whose opposite should be returned.
    sourcesSpecifies if source terminals should be included in the result.
    targetsSpecifies if targer terminals should be included in the result.
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxGraphView.GetVisibleTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetOutgoingEdges (Object cell)
    +
    +inline
    +
    + +

    Returns all outgoing visible edges connected to the given cell without loops.

    +
    Parameters
    + + +
    cellCell whose outgoing edges should be returned.
    +
    +
    +
    Returns
    Returns the outgoing edges of the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraph.GetOutgoingEdges (Object cell,
    Object parent 
    )
    +
    +inline
    +
    + +

    Returns the visible outgoing edges for the given cell. If the optional parent argument is specified, then only child edges of the given parent are returned.

    +
    Parameters
    + + + +
    cellCell whose outgoing edges should be returned.
    parentOptional parent of the opposite end for a connection to be returned.
    +
    +
    +
    Returns
    Returns the outgoing edges of the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxGraph.GetPaintBounds (Object[] cells)
    +
    +inline
    +
    + +

    Returns the bounding box of the given cells and their descendants.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGraph.GraphModelChanged ()
    +
    +inline
    +
    + +

    Called when the graph model has changed to invalidate the view.

    + +

    References com.mxgraph.mxGraphView.Revalidate().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxGraph.HitsSwimlaneContent (Object swimlane,
    int x,
    int y 
    )
    +
    +inline
    +
    + +

    Returns true if the given point is inside the content area of the given swimlane. (The content area of swimlanes is transparent to events.) This implementation does not check if the given state is a swimlane, it is assumed that the caller has checked this before using this method.

    + +

    References com.mxgraph.mxConstants.DEFAULT_STARTSIZE, com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxRectangle.GetRectangle(), com.mxgraph.mxGraphView.GetState(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxGraphView.Scale, com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_HORIZONTAL, and com.mxgraph.mxConstants.STYLE_STARTSIZE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.InsertEdge (Object parent,
    string id,
    Object value,
    Object source,
    Object target 
    )
    +
    +inline
    +
    + +

    Creates and adds a new edge with an empty style.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.InsertEdge (Object parent,
    string id,
    Object value,
    Object source,
    Object target,
    string style 
    )
    +
    +inline
    +
    + +

    Adds a new edge into the given parent using value as the user object and the given source and target as the terminals of the new edge. The Id and style are used for the respective properties of the new cell, which is returned.

    +
    Parameters
    + + + + + + + +
    parentCell that specifies the parent of the new edge.
    idOptional string that defines the Id of the new edge.
    valueObject to be used as the user object.
    sourceCell that defines the source of the edge.
    targetCell that defines the target of the edge.
    styleOptional string that defines the cell style.
    +
    +
    +
    Returns
    Returns the new edge that has been inserted.
    + +

    References com.mxgraph.mxIGraphModel.Add(), com.mxgraph.mxIGraphModel.BeginUpdate(), com.mxgraph.mxIGraphModel.EndUpdate(), com.mxgraph.mxIGraphModel.GetChildCount(), and com.mxgraph.mxIGraphModel.SetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.InsertVertex (Object parent,
    string id,
    Object value,
    double x,
    double y,
    double width,
    double height 
    )
    +
    +inline
    +
    + +

    Creates and adds a new vertex with an empty style, see AddVertex.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.InsertVertex (Object parent,
    string id,
    Object value,
    double x,
    double y,
    double width,
    double height,
    string style 
    )
    +
    +inline
    +
    + +

    Creates and adds a new vertex with an empty style, see AddVertex.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraph.InsertVertex (Object parent,
    string id,
    Object value,
    double x,
    double y,
    double width,
    double height,
    string style,
    bool relative 
    )
    +
    +inline
    +
    + +

    Adds a new vertex into the given parent using value as the user object and the given coordinates as the geometry of the new vertex. The id and style are used for the respective properties of the new cell, which is returned.

    +
    Parameters
    + + + + + + + + + +
    parentCell that specifies the parent of the new vertex.
    idOptional string that defines the Id of the new vertex.
    valueObject to be used as the user object.
    xInteger that defines the x coordinate of the vertex.
    yInteger that defines the y coordinate of the vertex.
    widthInteger that defines the width of the vertex.
    heightInteger that defines the height of the vertex.
    styleOptional string that defines the cell style.
    +
    +
    +
    Returns
    Returns the new vertex that has been inserted.
    + +

    References com.mxgraph.mxIGraphModel.Add(), and com.mxgraph.mxIGraphModel.GetChildCount().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxGraph.Intersects (mxCellState state,
    Rectangle rect 
    )
    +
    +inline
    +
    + +

    Returns the bottom-most cell that intersects the given point (x, y) in the cell hierarchy that starts at the given parent.

    +
    Parameters
    + + + +
    state
    rect
    +
    +
    +
    Returns
    Returns true if the given cell state and rectangle intersect.
    + +

    References com.mxgraph.mxCellState.AbsolutePointCount(), com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxRectangle.GetRectangle(), com.mxgraph.mxRectangle.Grow(), and com.mxgraph.mxCellState.LabelBounds.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraph.IsCellCollapsed (Object cell)
    +
    +inline
    +
    + +

    Returns true if the given cell is collapsed. This implementation returns true if the collapsed state of the cell in the model is true.

    +
    Parameters
    + + +
    cellCell whose collapsed state should be returned.
    +
    +
    +
    Returns
    Returns the collapsed state of the cell.
    + +

    References com.mxgraph.mxIGraphModel.IsCollapsed().

    + +

    Referenced by com.mxgraph.mxGraphView.GetVisibleTerminal(), and com.mxgraph.mxGraphView.ValidateCell().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraph.IsCellConnectable (Object cell)
    +
    +inline
    +
    + +

    Returns true if the given cell is connectable. This implementation returns true if the connectable state of the cell in the model is true.

    +
    Parameters
    + + +
    cellCell whose connectable state should be returned.
    +
    +
    +
    Returns
    Returns the connectable state of the cell.
    + +

    References com.mxgraph.mxIGraphModel.IsConnectable().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraph.IsCellMovable (Object cell)
    +
    +inline
    +
    + +

    Returns true if the given cell is movable. This implementation always returns true.

    +
    Parameters
    + + +
    cellCell whose movable state should be returned.
    +
    +
    +
    Returns
    Returns true if the cell is movable.
    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraph.IsCellVisible (Object cell)
    +
    +inline
    +
    + +

    Returns true if the given cell is visible. This implementation returns true if the visible state of the cell in the model is true.

    +
    Parameters
    + + +
    cellCell whose visible state should be returned.
    +
    +
    +
    Returns
    Returns the visible state of the cell.
    + +

    References com.mxgraph.mxIGraphModel.IsVisible().

    + +

    Referenced by com.mxgraph.mxGraphView.GetState(), com.mxgraph.mxGraphView.GetVisibleTerminal(), and com.mxgraph.mxGraphView.ValidateCell().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraph.IsOrthogonal (mxCellState edge)
    +
    +inline
    +
    + +

    Returns true if perimeter points should be computed such that the resulting edge has only horizontal or vertical segments.

    +
    Parameters
    + + +
    edgeCell state that represents the edge.
    +
    +
    +
    Returns
    True if the edge is orthogonal.
    + +

    References com.mxgraph.mxEdgeStyle.ElbowConnector, com.mxgraph.mxEdgeStyle.EntityRelation, com.mxgraph.mxGraphView.GetEdgeStyle(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxEdgeStyleFunction(), com.mxgraph.mxEdgeStyle.SideToSide, com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ORTHOGONAL, and com.mxgraph.mxEdgeStyle.TopToBottom.

    + +

    Referenced by com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraph.IsSwimlane (Object cell)
    +
    +inline
    +
    + +

    Returns true if the given cell is a swimlane.

    +
    Parameters
    + + +
    cellCell that should be checked.
    +
    +
    +
    Returns
    Returns true if the cell is a swimlane.
    + +

    References com.mxgraph.mxUtils.GetString(), com.mxgraph.mxConstants.SHAPE_SWIMLANE, com.mxgraph.mxCellState.Style, and com.mxgraph.mxConstants.STYLE_SHAPE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxGraph.IsValidAncestor (Object cell,
    Object parent,
    bool recurse 
    )
    +
    +inline
    +
    + +

    Returns whether or not the specified parent is a valid ancestor of the specified cell, either direct or indirectly based on whether ancestor recursion is enabled.

    +
    Parameters
    + + + + +
    cellThe possible child cell
    parentThe possible parent cell
    recurseboolean whether or not to recurse the child ancestors
    +
    +
    + +

    References com.mxgraph.mxIGraphModel.GetParent(), and com.mxgraph.mxIGraphModel.IsAncestor().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Dictionary<string, Object> com.mxgraph.mxGraph.PostProcessCellStyle (Dictionary< string, Object > style)
    +
    +inlineprotected
    +
    + +

    Tries to resolve the value for the image style in the image bundles and turns short data URIs as defined in mxImageBundle to data URIs as defined in RFC 2397 of the IETF.

    + +

    References com.mxgraph.mxUtils.GetString(), and com.mxgraph.mxConstants.STYLE_IMAGE.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraph.RemoveImageBundle (mxImageBundle bundle)
    +
    +inline
    +
    + +

    Removes the specified bundle.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraph.SetCellStyles (String key,
    String value,
    Object[] cells 
    )
    +
    +inline
    +
    + +

    Sets the key to value in the styles of the given cells. This will modify the existing cell styles in-place and override any existing assignment for the given key. If no cells are specified, then the selection cells are changed. If no value is specified, then the respective key is removed from the styles.

    +
    Parameters
    + + + + +
    keyString representing the key to be assigned.
    valueString representing the new value for the key.
    cellsArray of cells to change the style for.
    +
    +
    + +

    References com.mxgraph.mxUtils.SetCellStyles().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    double com.mxgraph.mxGraph.Snap (double value)
    +
    +inline
    +
    + +

    Snaps the given numeric value to the grid if gridEnabled is true.

    +
    Parameters
    + + +
    valueNumeric value to be snapped to the grid.
    +
    +
    +
    Returns
    Returns the value aligned to the grid.
    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute().

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxEdgeStyleFunction com.mxgraph.mxGraph.defaultLoopStyle = mxEdgeStyle.Loop
    +
    +protected
    +
    + +

    Specifies the default style for loops.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraph.gridEnabled = true
    +
    +protected
    +
    + +

    Specifies if the grid is enabled. Default is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGraph.gridSize = 10
    +
    +protected
    +
    + +

    Specifies the grid size. Default is 10.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<mxImageBundle> com.mxgraph.mxGraph.imageBundles = new List<mxImageBundle>()
    +
    +protected
    +
    + +

    Holds the list of image bundles.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraph.labelsVisible = true
    +
    +protected
    +
    + +

    Specifies if labels should be visible. This is used in GetLabel. Default is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxIGraphModel com.mxgraph.mxGraph.model
    +
    +protected
    +
    + +

    Holds the model that contains the cells to be displayed.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxStylesheet com.mxgraph.mxGraph.stylesheet
    +
    +protected
    +
    + +

    Holds the stylesheet that defines the appearance of the cells.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGraph.tolerance = 4
    +
    +protected
    +
    + +

    Specifies the tolerance for mouse clicks. Default is 4.

    + +
    +
    + +
    +
    + + + + +
    const String com.mxgraph.mxGraph.VERSION = "3.7.2"
    +
    + +

    Holds the version number of this release. Current version is 3.7.2.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGraphView com.mxgraph.mxGraph.view
    +
    +protected
    +
    + +

    Holds the view that caches the cell states.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxEdgeStyleFunction com.mxgraph.mxGraph.DefaultLoopStyle
    +
    +getset
    +
    + +

    Sets or returns the default edge style for loops.

    + +

    Referenced by com.mxgraph.mxGraphView.GetEdgeStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraph.GridEnabled
    +
    +getset
    +
    + +

    Sets or returns the enabled state of the grid.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGraph.GridSize
    +
    +getset
    +
    + +

    Sets or returns the grid size.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<mxImageBundle> com.mxgraph.mxGraph.ImageBundles
    +
    +getset
    +
    + +

    Sets or returns the image bundles.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraph.LabelsVisible
    +
    +getset
    +
    + +

    Sets or returns if labels are visible

    + +
    +
    + + + +
    +
    + + + + + +
    + + + + +
    mxStylesheet com.mxgraph.mxGraph.Stylesheet
    +
    +getset
    +
    + +

    Sets or returns the stylesheet that provides the style.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGraphView com.mxgraph.mxGraph.View
    +
    +getset
    +
    + +

    Sets or returns the view that contains the cell states.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxGraph.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html new file mode 100644 index 000000000..b27e46108 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel-members.html @@ -0,0 +1,132 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGraphModel Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGraphModel, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Add(Object parent, Object child, int index)com.mxgraph.mxGraphModelinline
    BeginUpdate()com.mxgraph.mxGraphModelinline
    CellAdded(Object cell)com.mxgraph.mxGraphModelinlineprotected
    CellRemoved(Object cell)com.mxgraph.mxGraphModelinlineprotected
    cellscom.mxgraph.mxGraphModelprotected
    Clear()com.mxgraph.mxGraphModelinline
    CloneCell(Object cell, Hashtable mapping, bool includeChildren)com.mxgraph.mxGraphModelinlineprotected
    CloneCells(Object[] cells, bool includeChildren)com.mxgraph.mxGraphModelinline
    Contains(Object cell)com.mxgraph.mxGraphModelinline
    CreateId(Object cell)com.mxgraph.mxGraphModelinline
    createIdscom.mxgraph.mxGraphModelprotected
    CreateRoot()com.mxgraph.mxGraphModelinline
    EndUpdate()com.mxgraph.mxGraphModelinline
    GetCell(string id)com.mxgraph.mxGraphModelinline
    GetChildAt(Object parent, int index)com.mxgraph.mxGraphModelinline
    getChildCells(mxIGraphModel model, Object parent, bool vertices, bool edges)com.mxgraph.mxGraphModelinlinestatic
    GetChildCount(Object cell)com.mxgraph.mxGraphModelinline
    getChildEdges(mxIGraphModel model, Object parent)com.mxgraph.mxGraphModelinlinestatic
    getChildVertices(mxIGraphModel model, Object parent)com.mxgraph.mxGraphModelinlinestatic
    GetConnections(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
    GetDirectedEdgeCount(mxIGraphModel model, Object cell, bool outgoing)com.mxgraph.mxGraphModelinlinestatic
    GetDirectedEdgeCount(mxIGraphModel model, Object cell, bool outgoing, Object ignoredEdge)com.mxgraph.mxGraphModelinlinestatic
    GetEdgeAt(Object parent, int index)com.mxgraph.mxGraphModelinline
    GetEdgeCount(Object cell)com.mxgraph.mxGraphModelinline
    GetEdges(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
    GetEdges(mxIGraphModel model, Object cell, bool incoming, bool outgoing, bool includeLoops)com.mxgraph.mxGraphModelinlinestatic
    GetEdgesBetween(mxIGraphModel model, Object source, Object target)com.mxgraph.mxGraphModelinlinestatic
    GetEdgesBetween(mxIGraphModel model, Object source, Object target, bool directed)com.mxgraph.mxGraphModelinlinestatic
    GetGeometry(Object cell)com.mxgraph.mxGraphModelinline
    GetIncomingEdges(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
    GetNearestCommonAncestor(Object cell1, Object cell2)com.mxgraph.mxGraphModelinline
    GetOpposites(mxIGraphModel model, Object[] edges, Object terminal, bool sources, bool targets)com.mxgraph.mxGraphModelinlinestatic
    GetOrigin(Object cell)com.mxgraph.mxGraphModelinline
    GetOutgoingEdges(mxIGraphModel model, Object cell)com.mxgraph.mxGraphModelinlinestatic
    GetParent(Object child)com.mxgraph.mxGraphModelinline
    GetStyle(Object cell)com.mxgraph.mxGraphModelinline
    GetTerminal(Object edge, bool isSource)com.mxgraph.mxGraphModelinline
    GetValue(Object cell)com.mxgraph.mxGraphModelinline
    GraphModelChangecom.mxgraph.mxGraphModel
    IsAncestor(Object parent, Object child)com.mxgraph.mxGraphModelinline
    IsCollapsed(Object cell)com.mxgraph.mxGraphModelinline
    IsConnectable(Object cell)com.mxgraph.mxGraphModelinline
    IsCreateIdscom.mxgraph.mxGraphModel
    IsEdge(Object cell)com.mxgraph.mxGraphModelinline
    IsMaintainEdgeParentcom.mxgraph.mxGraphModel
    IsVertex(Object cell)com.mxgraph.mxGraphModelinline
    IsVisible(Object cell)com.mxgraph.mxGraphModelinline
    maintainEdgeParentcom.mxgraph.mxGraphModelprotected
    MergeChildren(mxICell from, mxICell to, bool cloneAllEdges)com.mxgraph.mxGraphModelinline
    MergeChildrenImpl(mxICell from, mxICell to, bool cloneAllEdges, Dictionary< Object, Object > mapping)com.mxgraph.mxGraphModelinlineprotected
    mxGraphModel()com.mxgraph.mxGraphModelinline
    mxGraphModel(Object root)com.mxgraph.mxGraphModelinline
    nextIdcom.mxgraph.mxGraphModelprotected
    Remove(Object cell)com.mxgraph.mxGraphModelinline
    RestoreClone(Object clone, Object cell, Hashtable mapping)com.mxgraph.mxGraphModelinlineprotected
    rootcom.mxgraph.mxGraphModelprotected
    Root (defined in com.mxgraph.mxGraphModel)com.mxgraph.mxGraphModel
    SetCollapsed(Object cell, bool collapsed)com.mxgraph.mxGraphModelinline
    SetGeometry(Object cell, mxGeometry geometry)com.mxgraph.mxGraphModelinline
    SetStyle(Object cell, string style)com.mxgraph.mxGraphModelinline
    SetTerminal(Object edge, Object terminal, bool isSource)com.mxgraph.mxGraphModelinline
    SetTerminals(mxIGraphModel model, Object edge, Object source, Object target)com.mxgraph.mxGraphModelinlinestatic
    SetValue(Object cell, Object value)com.mxgraph.mxGraphModelinline
    SetVisible(Object cell, bool visible)com.mxgraph.mxGraphModelinline
    UpdateEdgeParent(Object edge, Object root)com.mxgraph.mxGraphModelinline
    UpdateEdgeParents(Object cell)com.mxgraph.mxGraphModelinline
    UpdateEdgeParents(Object cell, Object root)com.mxgraph.mxGraphModelinline
    updateLevelcom.mxgraph.mxGraphModelprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html new file mode 100644 index 000000000..6f75872f8 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.html @@ -0,0 +1,2857 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphModel Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure. + More...

    +
    +Inheritance diagram for com.mxgraph.mxGraphModel:
    +
    +
    + + +com.mxgraph.mxIGraphModel + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGraphModel ()
     Constructs a new empty graph model. More...
     
     mxGraphModel (Object root)
     Constructs a new graph model. If no root is specified then a new root mxCell with a default layer is created. More...
     
    void Clear ()
     Sets a new root using createRoot. More...
     
    Object CreateRoot ()
     Creates a new root cell with a default layer (child 0). More...
     
    Object GetCell (string id)
     
    Object[] CloneCells (Object[] cells, bool includeChildren)
     Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. More...
     
    bool IsAncestor (Object parent, Object child)
     Returns true if the given parent is an ancestor of child. More...
     
    bool Contains (Object cell)
     Returns true if the model contains the given cell. More...
     
    Object GetParent (Object child)
     Returns the parent of the given cell. More...
     
    Object Add (Object parent, Object child, int index)
     Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. More...
     
    string CreateId (Object cell)
     Creates a new Id for the given cell and increments the global counter for creating new Ids. More...
     
    Object Remove (Object cell)
     see com.mxgraph.mxIGraphModel.Remove(Object) More...
     
    int GetChildCount (Object cell)
     Returns the number of children in the given cell. More...
     
    Object GetChildAt (Object parent, int index)
     Returns the child of the given parent at the given index. More...
     
    Object GetTerminal (Object edge, bool isSource)
     Returns the source or target terminal of the given edge depending on the value of the boolean parameter. More...
     
    Object SetTerminal (Object edge, Object terminal, bool isSource)
     Sets the source or target terminal of the given edge using. More...
     
    void UpdateEdgeParents (Object cell)
     Updates the parents of the edges connected to the given cell and all its descendants so that each edge is contained in the nearest common ancestor. More...
     
    void UpdateEdgeParents (Object cell, Object root)
     Updates the parents of the edges connected to the given cell and all its descendants so that the edge is contained in the nearest-common-ancestor. More...
     
    void UpdateEdgeParent (Object edge, Object root)
     Inner helper method to update the parent of the specified edge to the nearest-common-ancestor of its two terminals. More...
     
    mxPoint GetOrigin (Object cell)
     Returns the absolute, cummulated origin for the children inside the given parent. More...
     
    Object GetNearestCommonAncestor (Object cell1, Object cell2)
     Returns the nearest common ancestor for the specified cells. More...
     
    int GetEdgeCount (Object cell)
     see com.mxgraph.mxIGraphModel.GetEdgeCount(Object) More...
     
    Object GetEdgeAt (Object parent, int index)
     see com.mxgraph.mxIGraphModel.GetEdgeAt(Object, int) More...
     
    bool IsVertex (Object cell)
     see com.mxgraph.mxIGraphModel.IsVertex(Object) More...
     
    bool IsEdge (Object cell)
     see com.mxgraph.mxIGraphModel.IsEdge(Object) More...
     
    bool IsConnectable (Object cell)
     see com.mxgraph.mxIGraphModel.IsConnectable(Object) More...
     
    Object GetValue (Object cell)
     see com.mxgraph.mxIGraphModel.GetValue(Object) More...
     
    Object SetValue (Object cell, Object value)
     see com.mxgraph.mxIGraphModel.SetValue(Object, Object) More...
     
    mxGeometry GetGeometry (Object cell)
     see com.mxgraph.mxIGraphModel.GetGeometry(Object) More...
     
    mxGeometry SetGeometry (Object cell, mxGeometry geometry)
     see com.mxgraph.mxIGraphModel.SetGeometry(Object, mxGeometry) More...
     
    string GetStyle (Object cell)
     see com.mxgraph.mxIGraphModel.GetStyle(Object) More...
     
    string SetStyle (Object cell, string style)
     see com.mxgraph.mxIGraphModel.SetStyle(Object, string) More...
     
    bool IsVisible (Object cell)
     see com.mxgraph.mxIGraphModel.IsVisible(Object) More...
     
    bool SetVisible (Object cell, bool visible)
     see com.mxgraph.mxIGraphModel.SetVisible(Object, bool) More...
     
    bool IsCollapsed (Object cell)
     see com.mxgraph.mxIGraphModel.IsCollapsed(Object) More...
     
    bool SetCollapsed (Object cell, bool collapsed)
     see com.mxgraph.mxIGraphModel.SetCollapsed(Object, bool) More...
     
    void BeginUpdate ()
     see com.mxgraph.mxIGraphModel.BeginUpdate() More...
     
    void EndUpdate ()
     see com.mxgraph.mxIGraphModel.EndUpdate() More...
     
    void MergeChildren (mxICell from, mxICell to, bool cloneAllEdges)
     Merges the children of the given cell into the given target cell inside this model. All cells are cloned unless there is a corresponding cell in the model with the same id, in which case the source cell is ignored and all edges are connected to the corresponding cell in this model. Edges are considered to have no identity and are always cloned unless the cloneAllEdges flag is set to false, in which case edges with the same id in the target model are reconnected to reflect the terminals of the source edges. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Static Public Member Functions

    static int GetDirectedEdgeCount (mxIGraphModel model, Object cell, bool outgoing)
     Returns the number of incoming or outgoing edges. More...
     
    static int GetDirectedEdgeCount (mxIGraphModel model, Object cell, bool outgoing, Object ignoredEdge)
     Returns the number of incoming or outgoing edges, ignoring the given edge. More...
     
    static Object[] GetEdges (mxIGraphModel model, Object cell)
     Returns all edges connected to this cell including loops. More...
     
    static Object[] GetConnections (mxIGraphModel model, Object cell)
     Returns all edges connected to this cell without loops. More...
     
    static Object[] GetIncomingEdges (mxIGraphModel model, Object cell)
     Returns the incoming edges of the given cell without loops. More...
     
    static Object[] GetOutgoingEdges (mxIGraphModel model, Object cell)
     Returns the outgoing edges of the given cell without loops. More...
     
    static Object[] GetEdges (mxIGraphModel model, Object cell, bool incoming, bool outgoing, bool includeLoops)
     Returns all distinct edges connected to this cell. If at least one of incoming or outgoing is true, then loops are ignored, otherwise if both are false, then all edges connected to the given cell are returned including loops. More...
     
    static Object[] GetEdgesBetween (mxIGraphModel model, Object source, Object target)
     Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. More...
     
    static Object[] GetEdgesBetween (mxIGraphModel model, Object source, Object target, bool directed)
     Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction. More...
     
    static Object[] GetOpposites (mxIGraphModel model, Object[] edges, Object terminal, bool sources, bool targets)
     Returns all opposite vertices wrt terminal for the given edges, only$ returning sources and/or targets as specified. The result is returned as an array of mxCells. More...
     
    static void SetTerminals (mxIGraphModel model, Object edge, Object source, Object target)
     Sets the source and target of the given edge in a single atomic change. More...
     
    static Object[] getChildVertices (mxIGraphModel model, Object parent)
     Returns the child vertices of the given parent. More...
     
    static Object[] getChildEdges (mxIGraphModel model, Object parent)
     Returns the child edges of the given parent. More...
     
    static Object[] getChildCells (mxIGraphModel model, Object parent, bool vertices, bool edges)
     Returns the children of the given cell that are vertices and/or edges depending on the arguments. More...
     
    + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    Object CloneCell (Object cell, Hashtable mapping, bool includeChildren)
     Inner helper method for cloning cells recursively. More...
     
    void RestoreClone (Object clone, Object cell, Hashtable mapping)
     Inner helper method for restoring the connections in a network of cloned cells. More...
     
    void CellAdded (Object cell)
     Invoked after a cell has been added to a parent. This recursively creates an Id for the new cell and/or resolves Id collisions. More...
     
    void CellRemoved (Object cell)
     Invoked after a cell has been removed from the model. This recursively removes the cell from its terminals and removes the mapping from the Id to the cell. More...
     
    void MergeChildrenImpl (mxICell from, mxICell to, bool cloneAllEdges, Dictionary< Object, Object > mapping)
     Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model. More...
     
    + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    mxICell root
     Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. That is, the actual element of the diagram are supposed to live in the third generation of cells and below. More...
     
    Dictionary< Object, Object > cells
     Maps from Ids to cells. More...
     
    bool createIds = true
     Specifies if edges should automatically be moved into the nearest common ancestor of their terminals. Default is true. More...
     
    bool maintainEdgeParent = true
     Specifies if the parent of edges should be automatically change to point to the nearest common ancestor of its terminals. Default is true. More...
     
    int nextId = 0
     Specifies the next Id to be created. Initial value is 0. More...
     
    int updateLevel = 0
     Counter for the depth of nested transactions. Each call to beginUpdate increments this counter and each call to endUpdate decrements it. When the counter reaches 0, the transaction is closed and the respective events are fired. Initial value is 0. More...
     
    + + + + + + + + + + + + + +

    +Properties

    bool IsMaintainEdgeParent [get, set]
     Sets of returns if edges should automatically be moved into the nearest common ancestor of their terminals. More...
     
    bool IsCreateIds [get, set]
     Sets or returns if the model automatically creates Ids and resolves Id collisions. More...
     
    +Object Root [get, set]
     
    - Properties inherited from com.mxgraph.mxIGraphModel
    Object Root [get, set]
     Holds the root cell. More...
     
    + + + + + + + + +

    +Events

    mxGraphModelChangeEventHandler GraphModelChange
     Fires when the graph model has changed. More...
     
    - Events inherited from com.mxgraph.mxIGraphModel
    mxGraphModelChangeEventHandler GraphModelChange
     Called when the graph model has changed. More...
     
    +

    Detailed Description

    +

    Implements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxGraphModel.mxGraphModel ()
    +
    +inline
    +
    + +

    Constructs a new empty graph model.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGraphModel.mxGraphModel (Object root)
    +
    +inline
    +
    + +

    Constructs a new graph model. If no root is specified then a new root mxCell with a default layer is created.

    +
    Parameters
    + + +
    rootCell that represents the root cell.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.Add (Object parent,
    Object child,
    int index 
    )
    +
    +inline
    +
    + +

    Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children.

    +
    Parameters
    + + + + +
    parentCell that specifies the parent to contain the child.
    childCell that specifies the child to be inserted.
    indexInteger that specifies the index of the child.
    +
    +
    +
    Returns
    Returns the inserted child.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGraphModel.BeginUpdate ()
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraphModel.CellAdded (Object cell)
    +
    +inlineprotected
    +
    + +

    Invoked after a cell has been added to a parent. This recursively creates an Id for the new cell and/or resolves Id collisions.

    +
    Parameters
    + + +
    cellCell that has been added.
    +
    +
    + +

    References com.mxgraph.mxICell.ChildCount(), com.mxgraph.mxICell.GetChildAt(), and com.mxgraph.mxICell.Id.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraphModel.CellRemoved (Object cell)
    +
    +inlineprotected
    +
    + +

    Invoked after a cell has been removed from the model. This recursively removes the cell from its terminals and removes the mapping from the Id to the cell.

    +
    Parameters
    + + +
    cellCell that has been removed.
    +
    +
    + +

    References com.mxgraph.mxICell.ChildCount(), com.mxgraph.mxICell.GetChildAt(), com.mxgraph.mxICell.Id, and com.mxgraph.mxICell.RemoveFromTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGraphModel.Clear ()
    +
    +inline
    +
    + +

    Sets a new root using createRoot.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.CloneCell (Object cell,
    Hashtable mapping,
    bool includeChildren 
    )
    +
    +inlineprotected
    +
    + +

    Inner helper method for cloning cells recursively.

    + +

    References com.mxgraph.mxICell.Insert().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxGraphModel.CloneCells (Object[] cells,
    bool includeChildren 
    )
    +
    +inline
    +
    + +

    Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array.

    +
    Parameters
    + + + +
    cellsArray of cells to be cloned.
    includeChildrenBoolean indicating if the cells should be cloned with all descendants.
    +
    +
    +
    Returns
    Returns a cloned array of cells.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraphModel.Contains (Object cell)
    +
    +inline
    +
    + +

    Returns true if the model contains the given cell.

    +
    Parameters
    + + +
    cellCell to be checked.
    +
    +
    +
    Returns
    Returns true if the cell is in the model.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxGraphModel.CreateId (Object cell)
    +
    +inline
    +
    + +

    Creates a new Id for the given cell and increments the global counter for creating new Ids.

    +
    Parameters
    + + +
    cellCell for which a new Id should be created.
    +
    +
    +
    Returns
    Returns a new Id for the given cell.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    Object com.mxgraph.mxGraphModel.CreateRoot ()
    +
    +inline
    +
    + +

    Creates a new root cell with a default layer (child 0).

    + +

    References com.mxgraph.mxCell.Insert().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGraphModel.EndUpdate ()
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxGraphModel.GetCell (string id)
    +
    +inline
    +
    + +

    +
    Parameters
    + + +
    id
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.GetChildAt (Object parent,
    int index 
    )
    +
    +inline
    +
    + +

    Returns the child of the given parent at the given index.

    +
    Parameters
    + + + +
    parentCell that represents the parent.
    indexInteger that specifies the index of the child to be returned.
    +
    +
    +
    Returns
    Returns the child at index in parent.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.getChildCells (mxIGraphModel model,
    Object parent,
    bool vertices,
    bool edges 
    )
    +
    +inlinestatic
    +
    + +

    Returns the children of the given cell that are vertices and/or edges depending on the arguments.

    +
    Parameters
    + + + + + +
    modelModel that contains the hierarchical information.
    parentCell whose child vertices or edges should be returned.
    verticesBoolean indicating if child vertices should be returned.
    edgesBoolean indicating if child edges should be returned.
    +
    +
    +
    Returns
    Returns the child vertices and/or edges of the given parent.
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), com.mxgraph.mxIGraphModel.IsEdge(), and com.mxgraph.mxIGraphModel.IsVertex().

    + +

    Referenced by com.mxgraph.mxGraph.GetChildCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    int com.mxgraph.mxGraphModel.GetChildCount (Object cell)
    +
    +inline
    +
    + +

    Returns the number of children in the given cell.

    +
    Parameters
    + + +
    cellCell whose number of children should be returned.
    +
    +
    +
    Returns
    Returns the number of children in the given cell.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.getChildEdges (mxIGraphModel model,
    Object parent 
    )
    +
    +inlinestatic
    +
    + +

    Returns the child edges of the given parent.

    +
    Parameters
    + + + +
    modelModel that contains the hierarchical information.
    parentCell whose child edges should be returned.
    +
    +
    +
    Returns
    Returns the child edges of the given parent.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.getChildVertices (mxIGraphModel model,
    Object parent 
    )
    +
    +inlinestatic
    +
    + +

    Returns the child vertices of the given parent.

    +
    Parameters
    + + + +
    modelModel that contains the hierarchical information.
    parentCell whose child vertices should be returned.
    +
    +
    +
    Returns
    Returns the child vertices of the given parent.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetConnections (mxIGraphModel model,
    Object cell 
    )
    +
    +inlinestatic
    +
    + +

    Returns all edges connected to this cell without loops.

    +
    Parameters
    + + + +
    modelModel that contains the connection information
    cellCell whose connections should be returned
    +
    +
    +
    Returns
    Returns the array of connected edges for the given cell
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static int com.mxgraph.mxGraphModel.GetDirectedEdgeCount (mxIGraphModel model,
    Object cell,
    bool outgoing 
    )
    +
    +inlinestatic
    +
    + +

    Returns the number of incoming or outgoing edges.

    +
    Parameters
    + + + + +
    modelGraph model that contains the connection data.
    cellCell whose edges should be counted.
    outgoingBoolean that specifies if the number of outgoing or incoming edges should be returned.
    +
    +
    +
    Returns
    Returns the number of incoming or outgoing edges.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static int com.mxgraph.mxGraphModel.GetDirectedEdgeCount (mxIGraphModel model,
    Object cell,
    bool outgoing,
    Object ignoredEdge 
    )
    +
    +inlinestatic
    +
    + +

    Returns the number of incoming or outgoing edges, ignoring the given edge.

    +
    Parameters
    + + + + + +
    modelGraph model that contains the connection data.
    cellCell whose edges should be counted.
    outgoingBoolean that specifies if the number of outgoing or incoming edges should be returned.
    ignoredEdgeObject that represents an edge to be ignored.
    +
    +
    +
    Returns
    Returns the number of incoming or outgoing edges.
    + +

    References com.mxgraph.mxIGraphModel.GetEdgeAt(), com.mxgraph.mxIGraphModel.GetEdgeCount(), and com.mxgraph.mxIGraphModel.GetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.GetEdgeAt (Object parent,
    int index 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    int com.mxgraph.mxGraphModel.GetEdgeCount (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetEdges (mxIGraphModel model,
    Object cell 
    )
    +
    +inlinestatic
    +
    + +

    Returns all edges connected to this cell including loops.

    +
    Parameters
    + + + +
    modelModel that contains the connection information
    cellCell whose connections should be returned
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute(), and com.mxgraph.mxGraph.GetEdges().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetEdges (mxIGraphModel model,
    Object cell,
    bool incoming,
    bool outgoing,
    bool includeLoops 
    )
    +
    +inlinestatic
    +
    + +

    Returns all distinct edges connected to this cell. If at least one of incoming or outgoing is true, then loops are ignored, otherwise if both are false, then all edges connected to the given cell are returned including loops.

    +
    Parameters
    + + + + + + +
    modelModel that contains the connection information
    cellCell whose connections should be returned
    incomingSpecifies if incoming edges should be returned
    outgoingSpecifies if outgoing edges should be returned
    includeLoopsSpecifies if loops should be returned
    +
    +
    +
    Returns
    Returns the array of connected edges for the given cell
    + +

    References com.mxgraph.mxIGraphModel.GetEdgeAt(), com.mxgraph.mxIGraphModel.GetEdgeCount(), and com.mxgraph.mxIGraphModel.GetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetEdgesBetween (mxIGraphModel model,
    Object source,
    Object target 
    )
    +
    +inlinestatic
    +
    + +

    Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction.

    +
    Parameters
    + + + + +
    model
    source
    target
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetEdgesBetween (mxIGraphModel model,
    Object source,
    Object target,
    bool directed 
    )
    +
    +inlinestatic
    +
    + +

    Returns all edges between the given source and target mxCells. If the optional boolean directed argument is false, then a matching edge is returned regardless of its direction.

    +
    Parameters
    + + + + + +
    modelThe graph model that contains the graph.
    sourcemxCell that defines the source terminal of the edge to be returned.
    targetmxCell that defines the target terminal of the edge to be returned.
    directedOptional boolean that specifies if the direction of the edge should be taken into account. Default is true.
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxIGraphModel.GetEdgeAt(), com.mxgraph.mxIGraphModel.GetEdgeCount(), and com.mxgraph.mxIGraphModel.GetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxGeometry com.mxgraph.mxGraphModel.GetGeometry (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetIncomingEdges (mxIGraphModel model,
    Object cell 
    )
    +
    +inlinestatic
    +
    + +

    Returns the incoming edges of the given cell without loops.

    +
    Parameters
    + + + +
    modelGraphmodel that contains the edges
    cellCell whose incoming edges should be returned
    +
    +
    +
    Returns
    Returns the incoming edges for the given cell
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.GetNearestCommonAncestor (Object cell1,
    Object cell2 
    )
    +
    +inline
    +
    + +

    Returns the nearest common ancestor for the specified cells.

    +
    Parameters
    + + + +
    cell1Cell that specifies the first cell in the tree.
    cell2Cell that specifies the second cell in the tree.
    +
    +
    +
    Returns
    Returns the nearest common ancestor of the given cells.
    + +

    References com.mxgraph.mxCellPath.Create(), com.mxgraph.mxCellPath.GetParentPath(), and com.mxgraph.mxCellPath.PATH_SEPARATOR.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetOpposites (mxIGraphModel model,
    Object[] edges,
    Object terminal,
    bool sources,
    bool targets 
    )
    +
    +inlinestatic
    +
    + +

    Returns all opposite vertices wrt terminal for the given edges, only$ returning sources and/or targets as specified. The result is returned as an array of mxCells.

    +
    Parameters
    + + + + + + +
    modelModel that contains the graph.
    edgesArray of edges to be examined.
    terminalCell that specifies the known end of the edges.
    sourcesBoolean that specifies if source terminals should be contained in the result. Default is true.
    targetsBoolean that specifies if target terminals should be contained in the result. Default is true.
    +
    +
    +
    Returns
    Returns the array of opposite terminals for the given edges.
    + +

    References com.mxgraph.mxIGraphModel.GetTerminal().

    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxPoint com.mxgraph.mxGraphModel.GetOrigin (Object cell)
    +
    +inline
    +
    + +

    Returns the absolute, cummulated origin for the children inside the given parent.

    + +

    References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Object [] com.mxgraph.mxGraphModel.GetOutgoingEdges (mxIGraphModel model,
    Object cell 
    )
    +
    +inlinestatic
    +
    + +

    Returns the outgoing edges of the given cell without loops.

    +
    Parameters
    + + + +
    modelGraphmodel that contains the edges
    cellCell whose outgoing edges should be returned
    +
    +
    +
    Returns
    Returns the outgoing edges for the given cell
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxGraphModel.GetParent (Object child)
    +
    +inline
    +
    + +

    Returns the parent of the given cell.

    +
    Parameters
    + + +
    childCell whose parent should be returned.
    +
    +
    +
    Returns
    Returns the parent of the given cell.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxGraphModel.GetStyle (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.GetTerminal (Object edge,
    bool source 
    )
    +
    +inline
    +
    + +

    Returns the source or target terminal of the given edge depending on the value of the boolean parameter.

    +
    Parameters
    + + + +
    edgeCell that specifies the edge.
    sourceBoolean indicating which end of the edge should be returned.
    +
    +
    +
    Returns
    Returns the source or target of the given edge.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxGraphModel.GetValue (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxGraphModel.IsAncestor (Object parent,
    Object child 
    )
    +
    +inline
    +
    + +

    Returns true if the given parent is an ancestor of child.

    +
    Parameters
    + + + +
    parentCell that specifies the parent.
    childCell that specifies the child.
    +
    +
    +
    Returns
    Returns true if child is an ancestor of parent.
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraphModel.IsCollapsed (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraphModel.IsConnectable (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraphModel.IsEdge (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraphModel.IsVertex (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxGraphModel.IsVisible (Object cell)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphModel.MergeChildren (mxICell from,
    mxICell to,
    bool cloneAllEdges 
    )
    +
    +inline
    +
    + +

    Merges the children of the given cell into the given target cell inside this model. All cells are cloned unless there is a corresponding cell in the model with the same id, in which case the source cell is ignored and all edges are connected to the corresponding cell in this model. Edges are considered to have no identity and are always cloned unless the cloneAllEdges flag is set to false, in which case edges with the same id in the target model are reconnected to reflect the terminals of the source edges.

    +
    Parameters
    + + + + +
    from
    to
    cloneAllEdges
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphModel.MergeChildrenImpl (mxICell from,
    mxICell to,
    bool cloneAllEdges,
    Dictionary< Object, Object > mapping 
    )
    +
    +inlineprotected
    +
    + +

    Clones the children of the source cell into the given target cell in this model and adds an entry to the mapping that maps from the source cell to the target cell with the same id or the clone of the source cell that was inserted into this model.

    +
    Parameters
    + + + + + +
    from
    to
    cloneAllEdges
    mapping
    +
    +
    + +

    References com.mxgraph.mxICell.ChildCount(), com.mxgraph.mxICell.Clone(), com.mxgraph.mxICell.GetChildAt(), com.mxgraph.mxICell.Id, and com.mxgraph.mxICell.Insert().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxGraphModel.Remove (Object cell)
    +
    +inline
    +
    + +

    see com.mxgraph.mxIGraphModel.Remove(Object)

    +
    Parameters
    + + +
    cell
    +
    +
    +
    Returns
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +

    References com.mxgraph.mxICell.RemoveFromParent().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphModel.RestoreClone (Object clone,
    Object cell,
    Hashtable mapping 
    )
    +
    +inlineprotected
    +
    + +

    Inner helper method for restoring the connections in a network of cloned cells.

    + +

    References com.mxgraph.mxICell.InsertEdge().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxGraphModel.SetCollapsed (Object cell,
    bool collapsed 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxGeometry com.mxgraph.mxGraphModel.SetGeometry (Object cell,
    mxGeometry geometry 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    string com.mxgraph.mxGraphModel.SetStyle (Object cell,
    string style 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.SetTerminal (Object edge,
    Object terminal,
    bool source 
    )
    +
    +inline
    +
    + +

    Sets the source or target terminal of the given edge using.

    +
    Parameters
    + + + + +
    edgeCell that specifies the edge.
    terminalCell that specifies the new terminal.
    sourceBoolean indicating if the terminal is the new source or target terminal of the edge.
    +
    +
    + +

    Implements com.mxgraph.mxIGraphModel.

    + +

    References com.mxgraph.mxICell.GetTerminal(), and com.mxgraph.mxICell.RemoveEdge().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxGraphModel.SetTerminals (mxIGraphModel model,
    Object edge,
    Object source,
    Object target 
    )
    +
    +inlinestatic
    +
    + +

    Sets the source and target of the given edge in a single atomic change.

    +
    Parameters
    + + + + + +
    modelModel that contains the graph.
    edgeCell that specifies the edge.
    sourceCell that specifies the new source terminal.
    targetCell that specifies the new target terminal.
    +
    +
    + +

    References com.mxgraph.mxIGraphModel.BeginUpdate(), com.mxgraph.mxIGraphModel.EndUpdate(), and com.mxgraph.mxIGraphModel.SetTerminal().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphModel.SetValue (Object cell,
    Object value 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxGraphModel.SetVisible (Object cell,
    bool visible 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphModel.UpdateEdgeParent (Object edge,
    Object root 
    )
    +
    +inline
    +
    + +

    Inner helper method to update the parent of the specified edge to the nearest-common-ancestor of its two terminals.

    +
    Parameters
    + + + +
    edgeSpecifies the edge to be updated.
    rootCurrent root of the model.
    +
    +
    + +

    References com.mxgraph.mxGeometry.Clone(), com.mxgraph.mxGeometry.Translate(), com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraphModel.UpdateEdgeParents (Object cell)
    +
    +inline
    +
    + +

    Updates the parents of the edges connected to the given cell and all its descendants so that each edge is contained in the nearest common ancestor.

    +
    Parameters
    + + +
    cellCell whose edges should be checked and updated.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphModel.UpdateEdgeParents (Object cell,
    Object root 
    )
    +
    +inline
    +
    + +

    Updates the parents of the edges connected to the given cell and all its descendants so that the edge is contained in the nearest-common-ancestor.

    +
    Parameters
    + + + +
    cellCell whose edges should be checked and updated.
    rootRoot of the cell hierarchy that contains all cells.
    +
    +
    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    Dictionary<Object, Object> com.mxgraph.mxGraphModel.cells
    +
    +protected
    +
    + +

    Maps from Ids to cells.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphModel.createIds = true
    +
    +protected
    +
    + +

    Specifies if edges should automatically be moved into the nearest common ancestor of their terminals. Default is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphModel.maintainEdgeParent = true
    +
    +protected
    +
    + +

    Specifies if the parent of edges should be automatically change to point to the nearest common ancestor of its terminals. Default is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGraphModel.nextId = 0
    +
    +protected
    +
    + +

    Specifies the next Id to be created. Initial value is 0.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxICell com.mxgraph.mxGraphModel.root
    +
    +protected
    +
    + +

    Holds the root cell, which in turn contains the cells that represent the layers of the diagram as child cells. That is, the actual element of the diagram are supposed to live in the third generation of cells and below.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGraphModel.updateLevel = 0
    +
    +protected
    +
    + +

    Counter for the depth of nested transactions. Each call to beginUpdate increments this counter and each call to endUpdate decrements it. When the counter reaches 0, the transaction is closed and the respective events are fired. Initial value is 0.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphModel.IsCreateIds
    +
    +getset
    +
    + +

    Sets or returns if the model automatically creates Ids and resolves Id collisions.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphModel.IsMaintainEdgeParent
    +
    +getset
    +
    + +

    Sets of returns if edges should automatically be moved into the nearest common ancestor of their terminals.

    + +
    +
    +

    Event Documentation

    + +
    +
    + + + + +
    mxGraphModelChangeEventHandler com.mxgraph.mxGraphModel.GraphModelChange
    +
    + +

    Fires when the graph model has changed.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/model/mxGraphModel.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.png new file mode 100644 index 000000000..e28261ff2 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphModel.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html new file mode 100644 index 000000000..b4baa7abc --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView-members.html @@ -0,0 +1,121 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGraphView Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGraphView, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    CreateState(Object cell)com.mxgraph.mxGraphViewinline
    eventsEnabledcom.mxgraph.mxGraphViewprotected
    GetBoundingBox(Object[] cells)com.mxgraph.mxGraphViewinline
    GetBoundingBox(mxCellState state)com.mxgraph.mxGraphViewinline
    GetBoundingBox(mxCellState state, Boolean recurse)com.mxgraph.mxGraphViewinline
    GetBounds(Object[] cells)com.mxgraph.mxGraphViewinline
    GetBounds(Object[] cells, bool boundingBox)com.mxgraph.mxGraphViewinline
    GetCellStates(Object[] cells)com.mxgraph.mxGraphViewinline
    GetEdgeStyle(mxCellState edge, List< mxPoint > points, Object source, Object target)com.mxgraph.mxGraphViewinline
    GetNextPoint(mxCellState edge, mxCellState opposite, bool source)com.mxgraph.mxGraphViewinline
    GetPerimeterBounds(mxCellState terminal, double border)com.mxgraph.mxGraphViewinline
    GetPerimeterFunction(mxCellState state)com.mxgraph.mxGraphViewinline
    GetPerimeterPoint(mxCellState terminal, mxPoint next, bool orthogonal)com.mxgraph.mxGraphViewinline
    GetPerimeterPoint(mxCellState terminal, mxPoint next, bool orthogonal, double border)com.mxgraph.mxGraphViewinline
    GetPoint(mxCellState state)com.mxgraph.mxGraphViewinline
    GetPoint(mxCellState state, mxGeometry geometry)com.mxgraph.mxGraphViewinline
    GetRoutingCenterX(mxCellState state)com.mxgraph.mxGraphViewinline
    GetRoutingCenterY(mxCellState state)com.mxgraph.mxGraphViewinline
    GetState(Object cell)com.mxgraph.mxGraphViewinline
    GetState(Object cell, bool create)com.mxgraph.mxGraphViewinline
    GetStates(Object[] cells)com.mxgraph.mxGraphViewinline
    GetTerminalPort(mxCellState state, mxCellState terminal, bool source)com.mxgraph.mxGraphViewinline
    GetVisibleTerminal(Object edge, bool source)com.mxgraph.mxGraphViewinline
    Graphcom.mxgraph.mxGraphView
    graphcom.mxgraph.mxGraphViewprotected
    GraphBoundscom.mxgraph.mxGraphView
    graphBoundscom.mxgraph.mxGraphViewprotected
    Invalidate()com.mxgraph.mxGraphViewinline
    IsEventsEnabledcom.mxgraph.mxGraphView
    mxGraphView(mxGraph graph)com.mxgraph.mxGraphViewinline
    RemoveState(Object cell)com.mxgraph.mxGraphViewinline
    RemoveState(Object cell, Boolean recurse)com.mxgraph.mxGraphViewinline
    Revalidate()com.mxgraph.mxGraphViewinline
    scalecom.mxgraph.mxGraphViewprotected
    Scalecom.mxgraph.mxGraphView
    Statescom.mxgraph.mxGraphView
    statescom.mxgraph.mxGraphViewprotected
    TransformControlPoint(mxCellState state, mxPoint pt)com.mxgraph.mxGraphViewinline
    translatecom.mxgraph.mxGraphViewprotected
    Translatecom.mxgraph.mxGraphView
    UpdateBoundingBox(mxCellState state)com.mxgraph.mxGraphViewinline
    UpdateCellState(mxCellState state, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
    UpdateEdgeBounds(mxCellState state)com.mxgraph.mxGraphViewinline
    UpdateEdgeState(mxCellState state, mxGeometry geo, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
    UpdateFixedTerminalPoint(mxCellState edge, mxCellState terminal, bool source, mxConnectionConstraint constraint)com.mxgraph.mxGraphViewinline
    UpdateFixedTerminalPoints(mxCellState edge, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
    UpdateFloatingTerminalPoint(mxCellState edge, mxCellState start, mxCellState end, bool source)com.mxgraph.mxGraphViewinline
    UpdateFloatingTerminalPoints(mxCellState state, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
    UpdateLabelBounds(mxCellState state)com.mxgraph.mxGraphViewinline
    UpdatePoints(mxCellState edge, List< mxPoint > points, mxCellState source, mxCellState target)com.mxgraph.mxGraphViewinline
    UpdateVertexLabelOffset(mxCellState state)com.mxgraph.mxGraphViewinline
    UpdateVertexState(mxCellState state, mxGeometry geo)com.mxgraph.mxGraphViewinline
    Validate()com.mxgraph.mxGraphViewinline
    ValidateCell(Object cell)com.mxgraph.mxGraphViewinline
    ValidateCell(Object cell, Boolean visible)com.mxgraph.mxGraphViewinline
    ValidateCellState(Object cell)com.mxgraph.mxGraphViewinline
    ValidateCellState(Object cell, Boolean recurse)com.mxgraph.mxGraphViewinline
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html new file mode 100644 index 000000000..29cab09c3 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphView.html @@ -0,0 +1,2289 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphView Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxGraphView Class Reference
    +
    +
    + +

    Implements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds. + More...

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGraphView (mxGraph graph)
     Constructs a new view for the given graph. More...
     
    mxRectangle GetBounds (Object[] cells)
     Returns the bounding box for an array of cells or null, if no cells are specified. More...
     
    mxRectangle GetBoundingBox (Object[] cells)
     Returns the bounding box for an array of cells or null, if no cells are specified. More...
     
    mxRectangle GetBounds (Object[] cells, bool boundingBox)
     Returns the bounding box for an array of cells or null, if no cells are specified. More...
     
    void Revalidate ()
     First invalidates, then validates all cell states. More...
     
    void Invalidate ()
     Invalidates all cell states. More...
     
    void Validate ()
     First validates all bounds and then validates all points recursively on all visible cells. More...
     
    mxRectangle GetBoundingBox (mxCellState state)
     Shortcut to validateCell with visible set to true. More...
     
    mxRectangle GetBoundingBox (mxCellState state, Boolean recurse)
     Returns the bounding box of the shape and the label for the given cell state and its children if recurse is true. More...
     
    Object ValidateCell (Object cell)
     Shortcut to validateCell with visible set to true. More...
     
    Object ValidateCell (Object cell, Boolean visible)
     Recursively creates the cell state for the given cell if visible is true and the given cell is visible. If the cell is not visible but the state exists then it is removed using removeState. More...
     
    mxCellState ValidateCellState (Object cell)
     Shortcut to validateCellState with recurse set to true. More...
     
    mxCellState ValidateCellState (Object cell, Boolean recurse)
     Validates the cell state for the given cell. More...
     
    void UpdateCellState (mxCellState state, mxCellState source, mxCellState target)
     Updates the given cell state. More...
     
    void UpdateVertexState (mxCellState state, mxGeometry geo)
     Validates the given cell state. More...
     
    void UpdateEdgeState (mxCellState state, mxGeometry geo, mxCellState source, mxCellState target)
     Validates the given cell state. More...
     
    void UpdateVertexLabelOffset (mxCellState state)
     Updates the absoluteOffset of the given vertex cell state. This takes into account the label position styles. More...
     
    void UpdateLabelBounds (mxCellState state)
     Updates the label bounds in the given state. More...
     
    mxRectangle UpdateBoundingBox (mxCellState state)
     Updates the bounding box in the given cell state. More...
     
    void UpdateFixedTerminalPoints (mxCellState edge, mxCellState source, mxCellState target)
     Sets the initial absolute terminal points in the given state before the edge style is computed. More...
     
    void UpdateFixedTerminalPoint (mxCellState edge, mxCellState terminal, bool source, mxConnectionConstraint constraint)
     Sets the fixed source or target terminal point on the given edge. More...
     
    void UpdatePoints (mxCellState edge, List< mxPoint > points, mxCellState source, mxCellState target)
     Updates the absolute points in the given state using the specified array of points as the relative points. More...
     
    mxPoint TransformControlPoint (mxCellState state, mxPoint pt)
     Transforms the given control point to an absolute point. More...
     
    mxEdgeStyleFunction GetEdgeStyle (mxCellState edge, List< mxPoint > points, Object source, Object target)
     Returns the edge style function to be used to render the given edge state. More...
     
    void UpdateFloatingTerminalPoints (mxCellState state, mxCellState source, mxCellState target)
     Updates the terminal points in the given state after the edge style was computed for the edge. More...
     
    void UpdateFloatingTerminalPoint (mxCellState edge, mxCellState start, mxCellState end, bool source)
     Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true. More...
     
    mxCellState GetTerminalPort (mxCellState state, mxCellState terminal, bool source)
     Returns the given terminal or the port defined in the given edge state if a cell state exists for that port. More...
     
    mxPoint GetPerimeterPoint (mxCellState terminal, mxPoint next, bool orthogonal)
     Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point. More...
     
    mxPoint GetPerimeterPoint (mxCellState terminal, mxPoint next, bool orthogonal, double border)
     Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point. More...
     
    double GetRoutingCenterX (mxCellState state)
     Returns the x-coordinate of the center point for automatic routing. More...
     
    double GetRoutingCenterY (mxCellState state)
     Returns the y-coordinate of the center point for automatic routing. More...
     
    mxRectangle GetPerimeterBounds (mxCellState terminal, double border)
     Returns the perimeter bounds for the given terminal, edge pair. More...
     
    mxPerimeterFunction GetPerimeterFunction (mxCellState state)
     Returns the perimeter function for the given state. More...
     
    mxPoint GetNextPoint (mxCellState edge, mxCellState opposite, bool source)
     Returns the nearest point in the list of absolute points or the center of the opposite terminal. More...
     
    Object GetVisibleTerminal (Object edge, bool source)
     Returns the nearest ancestor terminal that is visible. The edge appears to be connected to this terminal on the display. More...
     
    void UpdateEdgeBounds (mxCellState state)
     Updates the given state using the bounding box of the absolute points. Also updates terminal distance, length and segments. More...
     
    mxPoint GetPoint (mxCellState state)
     Returns the absolute center point along the given edge. More...
     
    mxPoint GetPoint (mxCellState state, mxGeometry geometry)
     Returns the absolute point on the edge for the given relative geometry as a point. The edge is represented by the given cell state. More...
     
    mxCellState GetState (Object cell)
     Returns the state for the given cell or null if no state is defined for the cell. More...
     
    Dictionary< Object, mxCellStateGetStates (Object[] cells)
     Returns the object that maps from cells to states. More...
     
    mxCellState[] GetCellStates (Object[] cells)
     Returns the states for the given array of cells. The array contains all states that are not null, that is, the returned array may have less elements than the given array. More...
     
    mxCellState GetState (Object cell, bool create)
     Returns the cell state for the given cell. If create is true, then the state is created if it does not yet exist. More...
     
    mxCellState RemoveState (Object cell)
     Shortcut to removeState with recurse set to false. More...
     
    mxCellState RemoveState (Object cell, Boolean recurse)
     Removes and returns the mxCellState for the given cell. More...
     
    mxCellState CreateState (Object cell)
     Creates and returns a cell state for the given cell. More...
     
    + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    mxGraph graph
     Reference to the enclosing graph. More...
     
    mxRectangle graphBounds = new mxRectangle()
     Caches the current bounds of the graph. More...
     
    double scale = 1
     Specifies the scale. Default is 1 (100%). More...
     
    mxPoint translate = new mxPoint(0, 0)
     Point that specifies the current translation. Default is a new empty point. More...
     
    Dictionary< Object, mxCellStatestates = new Dictionary<Object, mxCellState>()
     Maps from cells to cell states. More...
     
    bool eventsEnabled = true
     Specifies if the view should be revalidated if the scale or translation changes. More...
     
    + + + + + + + + + + + + + + + + + + + +

    +Properties

    mxGraph Graph [get]
     Returns the enclosing graph. More...
     
    mxRectangle GraphBounds [get, set]
     Returns the cached diagram bounds. More...
     
    double Scale [get, set]
     Sets or returns the current scale. More...
     
    mxPoint Translate [get, set]
     Sets or returns the current translation. More...
     
    Dictionary< Object, mxCellStateStates [get, set]
     Sets or returns the current translation. More...
     
    bool IsEventsEnabled [get, set]
     Sets or returns the current scale. More...
     
    +

    Detailed Description

    +

    Implements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGraphView.mxGraphView (mxGraph graph)
    +
    +inline
    +
    + +

    Constructs a new view for the given graph.

    +
    Parameters
    + + +
    graphReference to the enclosing graph.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.CreateState (Object cell)
    +
    +inline
    +
    + +

    Creates and returns a cell state for the given cell.

    +
    Parameters
    + + +
    cellCell for which a new state should be created.
    +
    +
    +
    Returns
    Returns a new state for the given cell.
    + +

    References com.mxgraph.mxGraph.GetCellStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxGraphView.GetBoundingBox (Object[] cells)
    +
    +inline
    +
    + +

    Returns the bounding box for an array of cells or null, if no cells are specified.

    +
    Parameters
    + + +
    cells
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxGraphView.GetBoundingBox (mxCellState state)
    +
    +inline
    +
    + +

    Shortcut to validateCell with visible set to true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraphView.GetBoundingBox (mxCellState state,
    Boolean recurse 
    )
    +
    +inline
    +
    + +

    Returns the bounding box of the shape and the label for the given cell state and its children if recurse is true.

    +
    Parameters
    + + + +
    stateCell state whose bounding box should be returned.
    recurseBoolean indicating if the children should be included.
    +
    +
    + +

    References com.mxgraph.mxRectangle.Add(), com.mxgraph.mxCellState.BoundingBox, com.mxgraph.mxCellState.Cell, com.mxgraph.mxRectangle.Clone(), com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), and com.mxgraph.mxGraph.Model.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxGraphView.GetBounds (Object[] cells)
    +
    +inline
    +
    + +

    Returns the bounding box for an array of cells or null, if no cells are specified.

    +
    Parameters
    + + +
    cells
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxGraph.GetCellBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraphView.GetBounds (Object[] cells,
    bool boundingBox 
    )
    +
    +inline
    +
    + +

    Returns the bounding box for an array of cells or null, if no cells are specified.

    + +

    References com.mxgraph.mxRectangle.Add(), com.mxgraph.mxCellState.BoundingBox, com.mxgraph.mxIGraphModel.IsEdge(), com.mxgraph.mxIGraphModel.IsVertex(), and com.mxgraph.mxGraph.Model.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxCellState [] com.mxgraph.mxGraphView.GetCellStates (Object[] cells)
    +
    +inline
    +
    + +

    Returns the states for the given array of cells. The array contains all states that are not null, that is, the returned array may have less elements than the given array.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    mxEdgeStyleFunction com.mxgraph.mxGraphView.GetEdgeStyle (mxCellState edge,
    List< mxPointpoints,
    Object source,
    Object target 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGraphView.GetNextPoint (mxCellState edge,
    mxCellState opposite,
    bool source 
    )
    +
    +inline
    +
    + +

    Returns the nearest point in the list of absolute points or the center of the opposite terminal.

    +
    Parameters
    + + + + +
    edgeState that represents the edge.
    oppositeState that represents the opposite terminal.
    sourceBoolean indicating if the next point for the source or target should be returned.
    +
    +
    + +

    References com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxRectangle.GetCenterX(), and com.mxgraph.mxRectangle.GetCenterY().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxGraphView.GetPerimeterBounds (mxCellState terminal,
    double border 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxPerimeterFunction com.mxgraph.mxGraphView.GetPerimeterFunction (mxCellState state)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGraphView.GetPerimeterPoint (mxCellState terminal,
    mxPoint next,
    bool orthogonal 
    )
    +
    +inline
    +
    + +

    Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGraphView.GetPerimeterPoint (mxCellState terminal,
    mxPoint next,
    bool orthogonal,
    double border 
    )
    +
    +inline
    +
    + +

    Returns a point that defines the location of the intersection point between the perimeter and the line between the center of the shape and the given point.

    +
    Parameters
    + + + + + +
    terminalState for the source or target terminal.
    nextPoint that lies outside of the given terminal.
    orthogonalSpecifies if the orthogonal projection onto the perimeter should be returned. If this is false then the intersection of the perimeter and the line between the next and the center point is returned.
    borderOptional border between the perimeter and the shape.
    +
    +
    + +

    References com.mxgraph.mxRectangle.Height, com.mxgraph.mxPerimeterFunction(), and com.mxgraph.mxRectangle.Width.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxPoint com.mxgraph.mxGraphView.GetPoint (mxCellState state)
    +
    +inline
    +
    + +

    Returns the absolute center point along the given edge.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGraphView.GetPoint (mxCellState state,
    mxGeometry geometry 
    )
    +
    +inline
    +
    + +

    Returns the absolute point on the edge for the given relative geometry as a point. The edge is represented by the given cell state.

    +
    Parameters
    + + + +
    stateRepresents the state of the parent edge.
    geometryRepresents the relative location.
    +
    +
    + +

    References com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxRectangle.GetCenterX(), com.mxgraph.mxRectangle.GetCenterY(), com.mxgraph.mxCellState.Length, com.mxgraph.mxGeometry.Offset, com.mxgraph.mxGeometry.Relative, com.mxgraph.mxCellState.Segments, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    double com.mxgraph.mxGraphView.GetRoutingCenterX (mxCellState state)
    +
    +inline
    +
    + +

    Returns the x-coordinate of the center point for automatic routing.

    +
    Returns
    Returns the x-coordinate of the routing center point.
    + +

    References com.mxgraph.mxRectangle.GetCenterX(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_X, and com.mxgraph.mxRectangle.Width.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    double com.mxgraph.mxGraphView.GetRoutingCenterY (mxCellState state)
    +
    +inline
    +
    + +

    Returns the y-coordinate of the center point for automatic routing.

    +
    Returns
    Returns the y-coordinate of the routing center point.
    + +

    References com.mxgraph.mxRectangle.GetCenterY(), com.mxgraph.mxUtils.GetFloat(), com.mxgraph.mxRectangle.Height, com.mxgraph.mxCellState.Style, and com.mxgraph.mxConstants.STYLE_ROUTING_CENTER_Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.GetState (Object cell)
    +
    +inline
    +
    + +

    Returns the state for the given cell or null if no state is defined for the cell.

    +
    Parameters
    + + +
    cellCell whose state should be returned.
    +
    +
    +
    Returns
    Returns the state for the given cell.
    + +

    Referenced by com.mxgraph.mxGraph.DrawCell(), com.mxgraph.mxGraph.GetCellAt(), and com.mxgraph.mxGraph.HitsSwimlaneContent().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.GetState (Object cell,
    bool create 
    )
    +
    +inline
    +
    + +

    Returns the cell state for the given cell. If create is true, then the state is created if it does not yet exist.

    +
    Parameters
    + + + +
    cellCell for which a new state should be returned.
    createBoolean indicating if a new state should be created if it does not yet exist.
    +
    +
    +
    Returns
    Returns the state for the given cell.
    + +

    References com.mxgraph.mxGraph.IsCellVisible().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Dictionary<Object, mxCellState> com.mxgraph.mxGraphView.GetStates (Object[] cells)
    +
    +inline
    +
    + +

    Returns the object that maps from cells to states.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.GetTerminalPort (mxCellState state,
    mxCellState terminal,
    bool source 
    )
    +
    +inline
    +
    + +

    Returns the given terminal or the port defined in the given edge state if a cell state exists for that port.

    + +

    References com.mxgraph.mxUtils.GetString(), com.mxgraph.mxGraph.Model, com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_SOURCE_PORT, and com.mxgraph.mxConstants.STYLE_TARGET_PORT.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphView.GetVisibleTerminal (Object edge,
    bool source 
    )
    +
    +inline
    +
    + +

    Returns the nearest ancestor terminal that is visible. The edge appears to be connected to this terminal on the display.

    +
    Parameters
    + + + +
    edgeCell whose visible terminal should be returned.
    sourceBoolean that specifies if the source or target terminal should be returned.
    +
    +
    +
    Returns
    Returns the visible source or target terminal.
    + +

    References com.mxgraph.mxIGraphModel.GetParent(), com.mxgraph.mxIGraphModel.GetTerminal(), com.mxgraph.mxGraph.IsCellCollapsed(), com.mxgraph.mxGraph.IsCellVisible(), com.mxgraph.mxGraph.Model, and com.mxgraph.mxIGraphModel.Root.

    + +

    Referenced by com.mxgraph.mxGraph.FindTreeRoots(), com.mxgraph.mxGraph.GetEdges(), com.mxgraph.mxGraph.GetEdgesBetween(), and com.mxgraph.mxGraph.GetOpposites().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGraphView.Invalidate ()
    +
    +inline
    +
    + +

    Invalidates all cell states.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.RemoveState (Object cell)
    +
    +inline
    +
    + +

    Shortcut to removeState with recurse set to false.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.RemoveState (Object cell,
    Boolean recurse 
    )
    +
    +inline
    +
    + +

    Removes and returns the mxCellState for the given cell.

    +
    Parameters
    + + +
    cellmxCell for which the mxCellState should be removed.
    +
    +
    +
    Returns
    Returns the mxCellState that has been removed.
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), and com.mxgraph.mxGraph.Model.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGraphView.Revalidate ()
    +
    +inline
    +
    + +

    First invalidates, then validates all cell states.

    + +

    Referenced by com.mxgraph.mxGraph.GraphModelChanged().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxPoint com.mxgraph.mxGraphView.TransformControlPoint (mxCellState state,
    mxPoint pt 
    )
    +
    +inline
    +
    + +

    Transforms the given control point to an absolute point.

    + +

    References com.mxgraph.mxCellState.Origin, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxRectangle com.mxgraph.mxGraphView.UpdateBoundingBox (mxCellState state)
    +
    +inline
    +
    + +

    Updates the bounding box in the given cell state.

    +
    Parameters
    + + +
    stateCell state whose bounding box should be updated.
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxRectangle.Add(), com.mxgraph.mxConstants.ALIGN_BOTTOM, com.mxgraph.mxConstants.ALIGN_CENTER, com.mxgraph.mxConstants.ALIGN_LEFT, com.mxgraph.mxConstants.ALIGN_MIDDLE, com.mxgraph.mxConstants.ALIGN_RIGHT, com.mxgraph.mxConstants.ALIGN_TOP, com.mxgraph.mxConstants.ARROW_WIDTH, com.mxgraph.mxCellState.BoundingBox, com.mxgraph.mxCellState.Cell, com.mxgraph.mxConstants.DEFAULT_IMAGESIZE, com.mxgraph.mxConstants.DEFAULT_MARKERSIZE, com.mxgraph.mxUtils.GetBoundingBox(), com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxUtils.GetInt(), com.mxgraph.mxRectangle.GetRectangle(), com.mxgraph.mxUtils.GetString(), com.mxgraph.mxRectangle.Grow(), com.mxgraph.mxRectangle.Height, com.mxgraph.mxIGraphModel.IsEdge(), com.mxgraph.mxUtils.IsTrue(), com.mxgraph.mxCellState.LabelBounds, com.mxgraph.mxGraph.Model, com.mxgraph.mxConstants.SHADOW_OFFSETX, com.mxgraph.mxConstants.SHADOW_OFFSETY, com.mxgraph.mxConstants.SHAPE_ARROW, com.mxgraph.mxConstants.SHAPE_LABEL, com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_ENDARROW, com.mxgraph.mxConstants.STYLE_IMAGE, com.mxgraph.mxConstants.STYLE_IMAGE_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_HEIGHT, com.mxgraph.mxConstants.STYLE_IMAGE_VERTICAL_ALIGN, com.mxgraph.mxConstants.STYLE_IMAGE_WIDTH, com.mxgraph.mxConstants.STYLE_OVERFLOW, com.mxgraph.mxConstants.STYLE_ROTATION, com.mxgraph.mxConstants.STYLE_SHADOW, com.mxgraph.mxConstants.STYLE_SHAPE, com.mxgraph.mxConstants.STYLE_STARTARROW, com.mxgraph.mxConstants.STYLE_STROKEWIDTH, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + + + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateEdgeBounds (mxCellState state)
    +
    +inline
    +
    + +

    Updates the given state using the bounding box of the absolute points. Also updates terminal distance, length and segments.

    +
    Parameters
    + + +
    stateCell state whose bounds should be updated.
    +
    +
    + +

    References com.mxgraph.mxCellState.AbsolutePoints, com.mxgraph.mxCellState.Cell, com.mxgraph.mxRectangle.Height, com.mxgraph.mxCellState.Length, com.mxgraph.mxCellState.Segments, com.mxgraph.mxCellState.TerminalDistance, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateEdgeState (mxCellState state,
    mxGeometry geo,
    mxCellState source,
    mxCellState target 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateFixedTerminalPoint (mxCellState edge,
    mxCellState terminal,
    bool source,
    mxConnectionConstraint constraint 
    )
    +
    +inline
    +
    + +

    Sets the fixed source or target terminal point on the given edge.

    +
    Parameters
    + + + + + +
    edgeState whose terminal point should be updated.
    terminalState which represents the actual terminal.
    sourceBoolean that specifies if the terminal is the source.
    constraintConstraint that specifies the connection.
    +
    +
    + +

    References com.mxgraph.mxCellState.Cell, com.mxgraph.mxGraph.GetCellGeometry(), com.mxgraph.mxGraph.GetConnectionPoint(), com.mxgraph.mxGeometry.GetTerminalPoint(), com.mxgraph.mxCellState.Origin, com.mxgraph.mxCellState.SetAbsoluteTerminalPoint(), com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateFixedTerminalPoints (mxCellState edge,
    mxCellState source,
    mxCellState target 
    )
    +
    +inline
    +
    + +

    Sets the initial absolute terminal points in the given state before the edge style is computed.

    +
    Parameters
    + + + + +
    edgeCell state whose initial terminal points should be updated.
    sourceCell state which represents the source terminal.
    targetCell state which represents the target terminal.
    +
    +
    + +

    References com.mxgraph.mxGraph.GetConnectionConstraint().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateFloatingTerminalPoint (mxCellState edge,
    mxCellState start,
    mxCellState end,
    bool source 
    )
    +
    +inline
    +
    + +

    Updates the absolute terminal point in the given state for the given start and end state, where start is the source if source is true.

    +
    Parameters
    + + + + + +
    edgeState whose terminal point should be updated.
    startfor the terminal on "this" side of the edge.
    endfor the terminal on the other side of the edge.
    sourceBoolean indicating if start is the source terminal state.
    +
    +
    + +

    References com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxGraph.IsOrthogonal(), com.mxgraph.mxCellState.SetAbsoluteTerminalPoint(), com.mxgraph.mxCellState.Style, com.mxgraph.mxConstants.STYLE_PERIMETER_SPACING, com.mxgraph.mxConstants.STYLE_SOURCE_PERIMETER_SPACING, and com.mxgraph.mxConstants.STYLE_TARGET_PERIMETER_SPACING.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateFloatingTerminalPoints (mxCellState state,
    mxCellState source,
    mxCellState target 
    )
    +
    +inline
    +
    + +

    Updates the terminal points in the given state after the edge style was computed for the edge.

    +
    Parameters
    + + + + +
    stateState whose terminal points should be updated.
    sourceState that represents the source terminal.
    targetState that represents the target terminal.
    +
    +
    + +

    References com.mxgraph.mxCellState.AbsolutePointCount(), and com.mxgraph.mxCellState.AbsolutePoints.

    + +
    +
    + + + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdatePoints (mxCellState edge,
    List< mxPointpoints,
    mxCellState source,
    mxCellState target 
    )
    +
    +inline
    +
    + +

    Updates the absolute points in the given state using the specified array of points as the relative points.

    +
    Parameters
    + + + + + +
    edgeCell state whose absolute points should be updated.
    pointsArray of points that constitute the relative points.
    sourceCell that represents the source terminal.
    targetCell that represents the target terminal.
    +
    +
    + +

    References com.mxgraph.mxCellState.AbsolutePoints, and com.mxgraph.mxEdgeStyleFunction().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateVertexLabelOffset (mxCellState state)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphView.UpdateVertexState (mxCellState state,
    mxGeometry geo 
    )
    +
    +inline
    +
    + +

    Validates the given cell state.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxGraphView.Validate ()
    +
    +inline
    +
    + +

    First validates all bounds and then validates all points recursively on all visible cells.

    + +

    References com.mxgraph.mxGraph.Model, and com.mxgraph.mxIGraphModel.Root.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxGraphView.ValidateCell (Object cell)
    +
    +inline
    +
    + +

    Shortcut to validateCell with visible set to true.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxGraphView.ValidateCell (Object cell,
    Boolean visible 
    )
    +
    +inline
    +
    + +

    Recursively creates the cell state for the given cell if visible is true and the given cell is visible. If the cell is not visible but the state exists then it is removed using removeState.

    +
    Parameters
    + + + +
    cellCell whose cell state should be created.
    visibleBoolean indicating if the cell should be visible.
    +
    +
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), com.mxgraph.mxGraph.IsCellCollapsed(), com.mxgraph.mxGraph.IsCellVisible(), and com.mxgraph.mxGraph.Model.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.ValidateCellState (Object cell)
    +
    +inline
    +
    + +

    Shortcut to validateCellState with recurse set to true.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    mxCellState com.mxgraph.mxGraphView.ValidateCellState (Object cell,
    Boolean recurse 
    )
    +
    +inline
    +
    + +

    Validates the cell state for the given cell.

    +
    Parameters
    + + + +
    cellCell whose cell state should be validated.
    recurseBoolean indicating if the children of the cell should be validated.
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxIGraphModel.GetChildAt(), com.mxgraph.mxIGraphModel.GetChildCount(), com.mxgraph.mxIGraphModel.GetParent(), com.mxgraph.mxCellState.Invalid, com.mxgraph.mxIGraphModel.IsEdge(), com.mxgraph.mxIGraphModel.IsVertex(), and com.mxgraph.mxGraph.Model.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphView.eventsEnabled = true
    +
    +protected
    +
    + +

    Specifies if the view should be revalidated if the scale or translation changes.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGraph com.mxgraph.mxGraphView.graph
    +
    +protected
    +
    + +

    Reference to the enclosing graph.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxGraphView.graphBounds = new mxRectangle()
    +
    +protected
    +
    + +

    Caches the current bounds of the graph.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGraphView.scale = 1
    +
    +protected
    +
    + +

    Specifies the scale. Default is 1 (100%).

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<Object, mxCellState> com.mxgraph.mxGraphView.states = new Dictionary<Object, mxCellState>()
    +
    +protected
    +
    + +

    Maps from cells to cell states.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGraphView.translate = new mxPoint(0, 0)
    +
    +protected
    +
    + +

    Point that specifies the current translation. Default is a new empty point.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxGraph com.mxgraph.mxGraphView.Graph
    +
    +get
    +
    + +

    Returns the enclosing graph.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxGraphView.GraphBounds
    +
    +getset
    +
    + +

    Returns the cached diagram bounds.

    + +

    Referenced by com.mxgraph.mxGraph.GetGraphBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphView.IsEventsEnabled
    +
    +getset
    +
    + +

    Sets or returns the current scale.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGraphView.Scale
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<Object, mxCellState> com.mxgraph.mxGraphView.States
    +
    +getset
    +
    + +

    Sets or returns the current translation.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPoint com.mxgraph.mxGraphView.Translate
    +
    +getset
    +
    + +

    Sets or returns the current translation.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxGraphView.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html new file mode 100644 index 000000000..d37096cbe --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader-members.html @@ -0,0 +1,90 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGraphViewImageReader Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGraphViewImageReader, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    antiAliascom.mxgraph.mxGraphViewImageReaderprotected
    AntiAliascom.mxgraph.mxGraphViewImageReader
    backgroundcom.mxgraph.mxGraphViewImageReaderprotected
    Backgroundcom.mxgraph.mxGraphViewImageReader
    bordercom.mxgraph.mxGraphViewImageReaderprotected
    Bordercom.mxgraph.mxGraphViewImageReader
    Canvascom.mxgraph.mxGraphViewReader
    canvascom.mxgraph.mxGraphViewReaderprotected
    clipcom.mxgraph.mxGraphViewImageReaderprotected
    Clipcom.mxgraph.mxGraphViewImageReader
    Convert(mxGraphViewImageReader viewReader)com.mxgraph.mxGraphViewImageReaderinlinestatic
    CreateCanvas(Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewImageReaderinlinevirtual
    croppingcom.mxgraph.mxGraphViewImageReaderprotected
    Croppingcom.mxgraph.mxGraphViewImageReader
    mxGraphViewImageReader(XmlReader reader)com.mxgraph.mxGraphViewImageReaderinline
    mxGraphViewImageReader(XmlReader reader, Color?background)com.mxgraph.mxGraphViewImageReaderinline
    mxGraphViewImageReader(XmlReader reader, Color?background, int border)com.mxgraph.mxGraphViewImageReaderinline
    mxGraphViewImageReader(XmlReader reader, Color?background, int border, bool antiAlias)com.mxgraph.mxGraphViewImageReaderinline
    mxGraphViewImageReader(XmlReader reader, Color?background, int border, bool antiAlias, bool cropping)com.mxgraph.mxGraphViewImageReaderinline
    mxGraphViewReader()com.mxgraph.mxGraphViewReaderinline
    mxGraphViewReader(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
    ParseElement(string tagName, Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewReaderinline
    ParsePoints(string pts)com.mxgraph.mxGraphViewReaderinlinestatic
    ParseState(mxCellState state, bool edge)com.mxgraph.mxGraphViewReaderinline
    Read(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
    scalecom.mxgraph.mxGraphViewReaderprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html new file mode 100644 index 000000000..3a12dd2f6 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.html @@ -0,0 +1,687 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphViewImageReader Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxGraphViewImageReader Class Reference
    +
    +
    + +

    A converter that renders display XML data onto a GDI canvas. + More...

    +
    +Inheritance diagram for com.mxgraph.mxGraphViewImageReader:
    +
    +
    + + +com.mxgraph.mxGraphViewReader + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGraphViewImageReader (XmlReader reader)
     Constructs a new GDI reader for the given display XML reader. More...
     
     mxGraphViewImageReader (XmlReader reader, Color?background)
     Constructs a new GDI reader for the given display XML reader. More...
     
     mxGraphViewImageReader (XmlReader reader, Color?background, int border)
     Constructs a new GDI reader for the given display XML reader. More...
     
     mxGraphViewImageReader (XmlReader reader, Color?background, int border, bool antiAlias)
     Constructs a new GDI reader for the given display XML reader. More...
     
     mxGraphViewImageReader (XmlReader reader, Color?background, int border, bool antiAlias, bool cropping)
     Constructs a new GDI reader for the given display XML reader. More...
     
    override mxICanvas CreateCanvas (Dictionary< string, Object > attrs)
     Returns the canvas to be used for rendering. More...
     
    - Public Member Functions inherited from com.mxgraph.mxGraphViewReader
     mxGraphViewReader ()
     Constructs a new graph view reader. More...
     
     mxGraphViewReader (XmlReader reader)
     Constructs a new graph view reader and reads the given display XML data. More...
     
    void Read (XmlReader reader)
     Reads the given display XML data and parses all elements. More...
     
    void ParseElement (string tagName, Dictionary< string, Object > attrs)
     Parses the given element and paints it onto the canvas. More...
     
    string ParseState (mxCellState state, bool edge)
     Parses the bounds, absolute points and label information from the style of the state into its respective fields and returns the label of the cell. More...
     
    + + + + + + + + +

    +Static Public Member Functions

    static Image Convert (mxGraphViewImageReader viewReader)
     Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias); More...
     
    - Static Public Member Functions inherited from com.mxgraph.mxGraphViewReader
    static List< mxPointParsePoints (string pts)
     Parses the list of points into an object-oriented representation. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    Color background
     Specifies the background color. More...
     
    int border
     Specifies the border size. Default is 0. More...
     
    bool antiAlias
     Default is true. More...
     
    bool cropping
     Default is true. More...
     
    mxRectangle clip
     Specifies the optional clipping rectangle. More...
     
    - Protected Attributes inherited from com.mxgraph.mxGraphViewReader
    mxICanvas canvas
     Holds the canvas to be used for rendering the graph. More...
     
    double scale = 1
     Holds the global scale of the graph. This is set just before createCanvas is called. More...
     
    + + + + + + + + + + + + + + + + + + + + +

    +Properties

    Color Background [get, set]
     Accessors for the background property. More...
     
    int Border [get, set]
     Accessors for the border property. More...
     
    bool AntiAlias [get, set]
     Accessors for the background property. More...
     
    bool Cropping [get, set]
     Accessors for the cropping property. More...
     
    mxRectangle Clip [get, set]
     Accessors for the clip property. More...
     
    - Properties inherited from com.mxgraph.mxGraphViewReader
    mxICanvas Canvas [get]
     Returns the canvas that is used for rendering the graph. More...
     
    +

    Detailed Description

    +

    A converter that renders display XML data onto a GDI canvas.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader)
    +
    +inline
    +
    + +

    Constructs a new GDI reader for the given display XML reader.

    +
    Parameters
    + + +
    reader
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
    Color? background 
    )
    +
    +inline
    +
    + +

    Constructs a new GDI reader for the given display XML reader.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
    Color? background,
    int border 
    )
    +
    +inline
    +
    + +

    Constructs a new GDI reader for the given display XML reader.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
    Color? background,
    int border,
    bool antiAlias 
    )
    +
    +inline
    +
    + +

    Constructs a new GDI reader for the given display XML reader.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxGraphViewImageReader.mxGraphViewImageReader (XmlReader reader,
    Color? background,
    int border,
    bool antiAlias,
    bool cropping 
    )
    +
    +inline
    +
    + +

    Constructs a new GDI reader for the given display XML reader.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    static Image com.mxgraph.mxGraphViewImageReader.Convert (mxGraphViewImageReader viewReader)
    +
    +inlinestatic
    +
    + +

    Creates the image for the given display XML reader. For a given XmlReader, use the following code to create the view reader: new mxGraphViewImageReader(xmlReader, background, border, antiAlias);

    +
    Parameters
    + + +
    viewReaderReader that contains the display XML.
    +
    +
    +
    Returns
    Returns an image representing the display XML reader.
    + +

    References com.mxgraph.mxGraphViewReader.Canvas.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    override mxICanvas com.mxgraph.mxGraphViewImageReader.CreateCanvas (Dictionary< string, Object > attrs)
    +
    +inlinevirtual
    +
    + +

    Returns the canvas to be used for rendering.

    +
    Parameters
    + + +
    attrsSpecifies the attributes of the new canvas.
    +
    +
    +
    Returns
    Returns a new canvas.
    + +

    Implements com.mxgraph.mxGraphViewReader.

    + +

    References com.mxgraph.mxUtils.GetDouble(), com.mxgraph.mxRectangle.Height, com.mxgraph.mxImageCanvas.Translate, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphViewImageReader.antiAlias
    +
    +protected
    +
    + +

    Default is true.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Color com.mxgraph.mxGraphViewImageReader.background
    +
    +protected
    +
    + +

    Specifies the background color.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGraphViewImageReader.border
    +
    +protected
    +
    + +

    Specifies the border size. Default is 0.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxGraphViewImageReader.clip
    +
    +protected
    +
    + +

    Specifies the optional clipping rectangle.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphViewImageReader.cropping
    +
    +protected
    +
    + +

    Default is true.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphViewImageReader.AntiAlias
    +
    +getset
    +
    + +

    Accessors for the background property.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Color com.mxgraph.mxGraphViewImageReader.Background
    +
    +getset
    +
    + +

    Accessors for the background property.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxGraphViewImageReader.Border
    +
    +getset
    +
    + +

    Accessors for the border property.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxRectangle com.mxgraph.mxGraphViewImageReader.Clip
    +
    +getset
    +
    + +

    Accessors for the clip property.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxGraphViewImageReader.Cropping
    +
    +getset
    +
    + +

    Accessors for the cropping property.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/reader/mxGraphViewImageReader.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.png new file mode 100644 index 000000000..a02292237 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewImageReader.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html new file mode 100644 index 000000000..49d23940b --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader-members.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxGraphViewReader Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxGraphViewReader, including all inherited members.

    + + + + + + + + + + + +
    canvascom.mxgraph.mxGraphViewReaderprotected
    Canvascom.mxgraph.mxGraphViewReader
    CreateCanvas(Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewReaderpure virtual
    mxGraphViewReader()com.mxgraph.mxGraphViewReaderinline
    mxGraphViewReader(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
    ParseElement(string tagName, Dictionary< string, Object > attrs)com.mxgraph.mxGraphViewReaderinline
    ParsePoints(string pts)com.mxgraph.mxGraphViewReaderinlinestatic
    ParseState(mxCellState state, bool edge)com.mxgraph.mxGraphViewReaderinline
    Read(XmlReader reader)com.mxgraph.mxGraphViewReaderinline
    scalecom.mxgraph.mxGraphViewReaderprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html new file mode 100644 index 000000000..f178eaa68 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.html @@ -0,0 +1,439 @@ + + + + + + +mxGraph: com.mxgraph.mxGraphViewReader Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxGraphViewReader Class Referenceabstract
    +
    +
    + +

    An abstract converter that renders display XML data onto a canvas. + More...

    +
    +Inheritance diagram for com.mxgraph.mxGraphViewReader:
    +
    +
    + + +com.mxgraph.mxGraphViewImageReader + +
    + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxGraphViewReader ()
     Constructs a new graph view reader. More...
     
     mxGraphViewReader (XmlReader reader)
     Constructs a new graph view reader and reads the given display XML data. More...
     
    abstract mxICanvas CreateCanvas (Dictionary< string, Object > attrs)
     Returns the canvas to be used for rendering. More...
     
    void Read (XmlReader reader)
     Reads the given display XML data and parses all elements. More...
     
    void ParseElement (string tagName, Dictionary< string, Object > attrs)
     Parses the given element and paints it onto the canvas. More...
     
    string ParseState (mxCellState state, bool edge)
     Parses the bounds, absolute points and label information from the style of the state into its respective fields and returns the label of the cell. More...
     
    + + + + +

    +Static Public Member Functions

    static List< mxPointParsePoints (string pts)
     Parses the list of points into an object-oriented representation. More...
     
    + + + + + + + +

    +Protected Attributes

    mxICanvas canvas
     Holds the canvas to be used for rendering the graph. More...
     
    double scale = 1
     Holds the global scale of the graph. This is set just before createCanvas is called. More...
     
    + + + + +

    +Properties

    mxICanvas Canvas [get]
     Returns the canvas that is used for rendering the graph. More...
     
    +

    Detailed Description

    +

    An abstract converter that renders display XML data onto a canvas.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxGraphViewReader.mxGraphViewReader ()
    +
    +inline
    +
    + +

    Constructs a new graph view reader.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxGraphViewReader.mxGraphViewReader (XmlReader reader)
    +
    +inline
    +
    + +

    Constructs a new graph view reader and reads the given display XML data.

    +
    Parameters
    + + +
    readerReader that represents the display XML data.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    abstract mxICanvas com.mxgraph.mxGraphViewReader.CreateCanvas (Dictionary< string, Object > attrs)
    +
    +pure virtual
    +
    + +

    Returns the canvas to be used for rendering.

    +
    Parameters
    + + +
    attrsSpecifies the attributes of the new canvas.
    +
    +
    +
    Returns
    Returns a new canvas.
    + +

    Implemented in com.mxgraph.mxGraphViewImageReader.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxGraphViewReader.ParseElement (string tagName,
    Dictionary< string, Object > attrs 
    )
    +
    +inline
    +
    + +

    Parses the given element and paints it onto the canvas.

    +
    Parameters
    + + + +
    tagNameName of the node to be parsed.
    attrsAttributes of the node to be parsed.
    +
    +
    + +

    References com.mxgraph.mxICanvas.DrawCell(), com.mxgraph.mxICanvas.DrawLabel(), com.mxgraph.mxUtils.GetDouble(), and com.mxgraph.mxICanvas.Scale.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static List<mxPoint> com.mxgraph.mxGraphViewReader.ParsePoints (string pts)
    +
    +inlinestatic
    +
    + +

    Parses the list of points into an object-oriented representation.

    +
    Parameters
    + + +
    ptsString containing a list of points.
    +
    +
    +
    Returns
    Returns the points as a list of mxPoints.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    string com.mxgraph.mxGraphViewReader.ParseState (mxCellState state,
    bool edge 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxGraphViewReader.Read (XmlReader reader)
    +
    +inline
    +
    + +

    Reads the given display XML data and parses all elements.

    +
    Parameters
    + + +
    readerReader that represents the display XML data.
    +
    +
    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxICanvas com.mxgraph.mxGraphViewReader.canvas
    +
    +protected
    +
    + +

    Holds the canvas to be used for rendering the graph.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxGraphViewReader.scale = 1
    +
    +protected
    +
    + +

    Holds the global scale of the graph. This is set just before createCanvas is called.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxICanvas com.mxgraph.mxGraphViewReader.Canvas
    +
    +get
    +
    + +

    Returns the canvas that is used for rendering the graph.

    + +

    Referenced by com.mxgraph.mxGraphViewImageReader.Convert().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/reader/mxGraphViewReader.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.png new file mode 100644 index 000000000..25482624e Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxGraphViewReader.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html new file mode 100644 index 000000000..b24e0e678 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxImageBundle Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxImageBundle, including all inherited members.

    + + + + + +
    GetImage(String key)com.mxgraph.mxImageBundleinline
    Imagescom.mxgraph.mxImageBundle
    imagescom.mxgraph.mxImageBundleprotected
    PutImage(String key, String value)com.mxgraph.mxImageBundleinline
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html new file mode 100644 index 000000000..b37c02c45 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageBundle.html @@ -0,0 +1,213 @@ + + + + + + +mxGraph: com.mxgraph.mxImageBundle Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxImageBundle Class Reference
    +
    +
    + +

    Maps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data. + More...

    + + + + + + + + +

    +Public Member Functions

    void PutImage (String key, String value)
     Adds the specified entry to the map. More...
     
    String GetImage (String key)
     Returns the value for the given key. More...
     
    + + + + +

    +Protected Attributes

    Dictionary< String, String > images = new Dictionary<String, String>()
     Maps from keys to images. More...
     
    + + + + +

    +Properties

    Dictionary< String, String > Images [get]
     Returns the images. More...
     
    +

    Detailed Description

    +

    Maps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data.

    +

    To add a new image bundle to an existing graph, the following code is used:

    +

    mxImageBundle bundle = new mxImageBundle(); bundle.PutImage("myImage", "data:image/gif,R0lGODlhEAAQAMIGAAAAAICAAICAgP" + "//AOzp2O3r2////////yH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh+QQBCgAHACwAAAAA" + "EAAQAAADTXi63AowynnAMDfjPUDlnAAJhmeBFxAEloliKltWmiYCQvfVr6lBPB1ggxN1hi" + "laSSASFQpIV5HJBDyHpqK2ejVRm2AAgZCdmCGO9CIBADs="); graph.AddImageBundle(bundle);

    +

    The image can then be referenced in any cell style using image=myImage.

    +

    To convert a given Image to a base64 encoded String, the following code can be used:

    +

    MemoryStream ms = new System.IO.MemoryStream(); image.Save(ms, System.Drawing.Imaging.ImageFormat.Gif); byte[] data = ms.ToArray(); Console.WriteLine("base64="+Convert.ToBase64String(data));

    +

    The value is decoded in mxUtils.LoadImage. The keys for images are resolved and the short format above is converted to a data URI in mxGraph.postProcessCellStyle.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    String com.mxgraph.mxImageBundle.GetImage (String key)
    +
    +inline
    +
    + +

    Returns the value for the given key.

    + +

    Referenced by com.mxgraph.mxGraph.GetImageFromBundles().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxImageBundle.PutImage (String key,
    String value 
    )
    +
    +inline
    +
    + +

    Adds the specified entry to the map.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    Dictionary<String, String> com.mxgraph.mxImageBundle.images = new Dictionary<String, String>()
    +
    +protected
    +
    + +

    Maps from keys to images.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    Dictionary<String, String> com.mxgraph.mxImageBundle.Images
    +
    +get
    +
    + +

    Returns the images.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxImageBundle.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html new file mode 100644 index 000000000..f72c93205 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas-members.html @@ -0,0 +1,75 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxImageCanvas Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxImageCanvas, including all inherited members.

    + + + + + + + + + + + + +
    canvascom.mxgraph.mxImageCanvasprotected
    Destroy()com.mxgraph.mxImageCanvasinline
    DrawCell(mxCellState state)com.mxgraph.mxImageCanvasinline
    DrawLabel(string text, mxCellState state, bool html)com.mxgraph.mxImageCanvasinline
    GdiCanvascom.mxgraph.mxImageCanvas
    Imagecom.mxgraph.mxImageCanvas
    imagecom.mxgraph.mxImageCanvasprotected
    mxImageCanvas(mxGdiCanvas canvas, int width, int height, Color?background, bool antiAlias)com.mxgraph.mxImageCanvasinline
    previousGraphicscom.mxgraph.mxImageCanvasprotected
    Scalecom.mxgraph.mxImageCanvas
    Translatecom.mxgraph.mxImageCanvas
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html new file mode 100644 index 000000000..d5c40a35f --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.html @@ -0,0 +1,463 @@ + + + + + + +mxGraph: com.mxgraph.mxImageCanvas Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxImageCanvas Class Reference
    +
    +
    + +

    Implements a canvas that draws onto an image. + More...

    +
    +Inheritance diagram for com.mxgraph.mxImageCanvas:
    +
    +
    + + +com.mxgraph.mxICanvas + +
    + + + + + + + + + + + + + +

    +Public Member Functions

     mxImageCanvas (mxGdiCanvas canvas, int width, int height, Color?background, bool antiAlias)
     
    Object DrawCell (mxCellState state)
     see com.mxgraph.mxICanvas.DrawCell() More...
     
    Object DrawLabel (string text, mxCellState state, bool html)
     see com.mxgraph.mxICanvas.DrawLabel() More...
     
    Image Destroy ()
     Destroys this canvas and all allocated resources. More...
     
    + + + + + + + + + + +

    +Protected Attributes

    mxGdiCanvas canvas
     Inner canvas used for the actual rendering. More...
     
    Graphics previousGraphics
     Stores the previous graphics reference of the inner canvas. More...
     
    Image image
     Stores the image that holds the graphics. More...
     
    + + + + + + + + + + + + + + + + + + + + +

    +Properties

    mxGdiCanvas GdiCanvas [get]
     Returns the inner canvas. More...
     
    Image Image [get]
     Returns the image that hold the graphics. More...
     
    Point Translate [get, set]
     see com.mxgraph.mxICanvas.Translate More...
     
    double Scale [get, set]
     see com.mxgraph.mxICanvas.Translate More...
     
    - Properties inherited from com.mxgraph.mxICanvas
    Point Translate [get, set]
     Sets or returns the user object of the cell. More...
     
    double Scale [get, set]
     Sets or returns the user object of the cell. More...
     
    +

    Detailed Description

    +

    Implements a canvas that draws onto an image.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxImageCanvas.mxImageCanvas (mxGdiCanvas canvas,
    int width,
    int height,
    Color? background,
    bool antiAlias 
    )
    +
    +inline
    +
    + +

    +
    Parameters
    + + + + + + +
    canvas
    width
    height
    background
    antiAlias
    +
    +
    + +

    References com.mxgraph.mxUtils.CreateImage(), and com.mxgraph.mxGdiCanvas.Graphics.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    Image com.mxgraph.mxImageCanvas.Destroy ()
    +
    +inline
    +
    + +

    Destroys this canvas and all allocated resources.

    + +

    References com.mxgraph.mxGdiCanvas.Graphics.

    + +

    Referenced by com.mxgraph.mxCellRenderer.CreateImage().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    Object com.mxgraph.mxImageCanvas.DrawCell (mxCellState state)
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxImageCanvas.DrawLabel (string text,
    mxCellState state,
    bool html 
    )
    +
    +inline
    +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxGdiCanvas com.mxgraph.mxImageCanvas.canvas
    +
    +protected
    +
    + +

    Inner canvas used for the actual rendering.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Image com.mxgraph.mxImageCanvas.image
    +
    +protected
    +
    + +

    Stores the image that holds the graphics.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Graphics com.mxgraph.mxImageCanvas.previousGraphics
    +
    +protected
    +
    + +

    Stores the previous graphics reference of the inner canvas.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxGdiCanvas com.mxgraph.mxImageCanvas.GdiCanvas
    +
    +get
    +
    + +

    Returns the inner canvas.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Image com.mxgraph.mxImageCanvas.Image
    +
    +get
    +
    + +

    Returns the image that hold the graphics.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxImageCanvas.Scale
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    Point com.mxgraph.mxImageCanvas.Translate
    +
    +getset
    +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/canvas/mxImageCanvas.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.png new file mode 100644 index 000000000..93dca2302 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxImageCanvas.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html new file mode 100644 index 000000000..e9f95dceb --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec-members.html @@ -0,0 +1,108 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxModelCodec Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxModelCodec, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
    AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    BeforeDecode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxModelCodecinlinevirtual
    BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinlinevirtual
    DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    Encode(mxCodec enc, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxModelCodecinlineprotectedvirtual
    EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    excludecom.mxgraph.mxObjectCodecprotected
    GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
    GetName()com.mxgraph.mxObjectCodecinline
    idrefscom.mxgraph.mxObjectCodecprotected
    IsExcluded(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
    IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
    IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
    mappingcom.mxgraph.mxObjectCodecprotected
    mxModelCodec()com.mxgraph.mxModelCodecinline
    mxModelCodec(Object template)com.mxgraph.mxModelCodecinline
    mxModelCodec(Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxModelCodecinline
    mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
    mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
    ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
    reversecom.mxgraph.mxObjectCodecprotected
    SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
    templatecom.mxgraph.mxObjectCodecprotected
    Templatecom.mxgraph.mxObjectCodec
    WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html new file mode 100644 index 000000000..1984793f1 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.html @@ -0,0 +1,421 @@ + + + + + + +mxGraph: com.mxgraph.mxModelCodec Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxModelCodec Class Reference
    +
    +
    + +

    Codec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. + More...

    +
    +Inheritance diagram for com.mxgraph.mxModelCodec:
    +
    +
    + + +com.mxgraph.mxObjectCodec + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxModelCodec ()
     Constructs a new model codec. More...
     
     mxModelCodec (Object template)
     Constructs a new model codec for the given template. More...
     
     mxModelCodec (Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)
     Constructs a new model codec for the given arguments. More...
     
    override XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object into)
     Reads the cells into the graph model. All cells are children of the root element in the node. More...
     
    - Public Member Functions inherited from com.mxgraph.mxObjectCodec
     mxObjectCodec (Object template)
     Constructs a new codec for the specified template object. More...
     
     mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
     Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
     
    string GetName ()
     Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
     
    virtual bool IsExcluded (Object obj, string attr, Object value, bool write)
     Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude. More...
     
    virtual bool IsReference (Object obj, string attr, Object value, bool write)
     Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
     
    virtual XmlNode Encode (mxCodec enc, Object obj)
     Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references. More...
     
    virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
     Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
     
    virtual XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
     Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode. More...
     
    virtual Object Decode (mxCodec dec, XmlNode node)
     Parses the given node into the object or returns a new object representing the given node. More...
     
    virtual Object Decode (mxCodec dec, XmlNode node, Object into)
     Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules: More...
     
    bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
     
    virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
     Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    override void EncodeObject (mxCodec enc, Object obj, XmlNode node)
     Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec. The sequence is wrapped-up in a node with the name root. More...
     
    - Protected Member Functions inherited from com.mxgraph.mxObjectCodec
    virtual Object CloneTemplate (XmlNode node)
     Returns a new instance of the template object for representing the given node. More...
     
    void EncodeFields (mxCodec enc, Object obj, XmlNode node)
     Encodes the members of the given object into the given node. More...
     
    void EncodeElements (mxCodec enc, Object obj, XmlNode node)
     Encodes the child objects of arrays, dictionaries and enumerables. More...
     
    void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)
     Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node. More...
     
    bool IsPrimitiveValue (Object value)
     Returns true if the given object is a primitive value. More...
     
    +void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
     
    void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as an attribute of the given node. More...
     
    void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as a child node of the given node. More...
     
    virtual Object ConvertValueToXml (Object value)
     Converts true to "1" and false to "0". All other values are ignored. More...
     
    virtual Object ConvertValueFromXml (Type type, Object value)
     Converts XML attribute values to object of the given type. More...
     
    string GetAttributeName (string fieldname)
     Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
     
    string GetFieldName (string attributename)
     Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
     
    Object GetFieldValue (Object obj, string name)
     Returns the value of the field with the specified name in the specified object instance. More...
     
    void SetFieldValue (Object obj, string name, Object value)
     Sets the value of the field with the specified name in the specified object instance. More...
     
    void DecodeNode (mxCodec dec, XmlNode node, Object obj)
     Calls decodeAttributes and decodeChildren for the given node. More...
     
    void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
     Decodes all attributes of the given node using decodeAttribute. More...
     
    void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChild (mxCodec dec, XmlNode child, Object obj)
     Reads the specified child into the given object. More...
     
    Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
     Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
     
    void AddObjectValue (Object obj, String fieldname, Object value, Object template)
     Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
     
    + + + + + + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Protected Attributes inherited from com.mxgraph.mxObjectCodec
    Object template
     Holds the template object associated with this codec. More...
     
    List< string > exclude
     Array containing the variable names that should be ignored by the codec. More...
     
    List< string > idrefs
     Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
     
    Dictionary< string, string > mapping
     Maps from from fieldnames to XML attribute names. More...
     
    Dictionary< string, string > reverse
     Maps from from XML attribute names to fieldnames. More...
     
    - Properties inherited from com.mxgraph.mxObjectCodec
    Object Template [get]
     Returns the template object associated with this codec. More...
     
    +

    Detailed Description

    +

    Codec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxModelCodec.mxModelCodec ()
    +
    +inline
    +
    + +

    Constructs a new model codec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxModelCodec.mxModelCodec (Object template)
    +
    +inline
    +
    + +

    Constructs a new model codec for the given template.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxModelCodec.mxModelCodec (Object template,
    String[] exclude,
    String[] idrefs,
    Dictionary< string, string > mapping 
    )
    +
    +inline
    +
    + +

    Constructs a new model codec for the given arguments.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    override XmlNode com.mxgraph.mxModelCodec.BeforeDecode (mxCodec dec,
    XmlNode node,
    Object into 
    )
    +
    +inlinevirtual
    +
    + +

    Reads the cells into the graph model. All cells are children of the root element in the node.

    + +

    Reimplemented from com.mxgraph.mxObjectCodec.

    + +

    References com.mxgraph.mxCodec.DecodeCell(), and com.mxgraph.mxICell.Parent.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    override void com.mxgraph.mxModelCodec.EncodeObject (mxCodec enc,
    Object obj,
    XmlNode node 
    )
    +
    +inlineprotectedvirtual
    +
    + +

    Encodes the given mxGraphModel by writing a (flat) XML sequence of cell nodes as produced by the mxCellCodec. The sequence is wrapped-up in a node with the name root.

    + +

    Reimplemented from com.mxgraph.mxObjectCodec.

    + +

    References com.mxgraph.mxCodec.Document, and com.mxgraph.mxCodec.EncodeCell().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/io/mxModelCodec.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.png new file mode 100644 index 000000000..d6bc4c417 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxModelCodec.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html new file mode 100644 index 000000000..ec9fc2c05 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec-members.html @@ -0,0 +1,105 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxObjectCodec Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxObjectCodec, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
    AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    BeforeDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinlinevirtual
    DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    Encode(mxCodec enc, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    excludecom.mxgraph.mxObjectCodecprotected
    GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
    GetName()com.mxgraph.mxObjectCodecinline
    idrefscom.mxgraph.mxObjectCodecprotected
    IsExcluded(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
    IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
    IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
    mappingcom.mxgraph.mxObjectCodecprotected
    mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
    mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
    ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
    reversecom.mxgraph.mxObjectCodecprotected
    SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
    Templatecom.mxgraph.mxObjectCodec
    templatecom.mxgraph.mxObjectCodecprotected
    WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html new file mode 100644 index 000000000..62805c73a --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.html @@ -0,0 +1,1918 @@ + + + + + + +mxGraph: com.mxgraph.mxObjectCodec Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxObjectCodec Class Reference
    +
    +
    + +

    Generic codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false. + More...

    +
    +Inheritance diagram for com.mxgraph.mxObjectCodec:
    +
    +
    + + +com.mxgraph.mxCellCodec +com.mxgraph.mxModelCodec +com.mxgraph.mxStylesheetCodec + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxObjectCodec (Object template)
     Constructs a new codec for the specified template object. More...
     
     mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
     Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
     
    string GetName ()
     Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
     
    virtual bool IsExcluded (Object obj, string attr, Object value, bool write)
     Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude. More...
     
    virtual bool IsReference (Object obj, string attr, Object value, bool write)
     Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
     
    virtual XmlNode Encode (mxCodec enc, Object obj)
     Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references. More...
     
    virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
     Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
     
    virtual XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
     Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode. More...
     
    virtual Object Decode (mxCodec dec, XmlNode node)
     Parses the given node into the object or returns a new object representing the given node. More...
     
    virtual Object Decode (mxCodec dec, XmlNode node, Object into)
     Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules: More...
     
    bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
     
    virtual XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object obj)
     Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object. More...
     
    virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
     Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    virtual Object CloneTemplate (XmlNode node)
     Returns a new instance of the template object for representing the given node. More...
     
    virtual void EncodeObject (mxCodec enc, Object obj, XmlNode node)
     Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements. More...
     
    void EncodeFields (mxCodec enc, Object obj, XmlNode node)
     Encodes the members of the given object into the given node. More...
     
    void EncodeElements (mxCodec enc, Object obj, XmlNode node)
     Encodes the child objects of arrays, dictionaries and enumerables. More...
     
    void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)
     Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node. More...
     
    bool IsPrimitiveValue (Object value)
     Returns true if the given object is a primitive value. More...
     
    +void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
     
    void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as an attribute of the given node. More...
     
    void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as a child node of the given node. More...
     
    virtual Object ConvertValueToXml (Object value)
     Converts true to "1" and false to "0". All other values are ignored. More...
     
    virtual Object ConvertValueFromXml (Type type, Object value)
     Converts XML attribute values to object of the given type. More...
     
    string GetAttributeName (string fieldname)
     Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
     
    string GetFieldName (string attributename)
     Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
     
    Object GetFieldValue (Object obj, string name)
     Returns the value of the field with the specified name in the specified object instance. More...
     
    void SetFieldValue (Object obj, string name, Object value)
     Sets the value of the field with the specified name in the specified object instance. More...
     
    void DecodeNode (mxCodec dec, XmlNode node, Object obj)
     Calls decodeAttributes and decodeChildren for the given node. More...
     
    void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
     Decodes all attributes of the given node using decodeAttribute. More...
     
    void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChild (mxCodec dec, XmlNode child, Object obj)
     Reads the specified child into the given object. More...
     
    Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
     Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
     
    void AddObjectValue (Object obj, String fieldname, Object value, Object template)
     Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
     
    + + + + + + + + + + + + + + + + +

    +Protected Attributes

    Object template
     Holds the template object associated with this codec. More...
     
    List< string > exclude
     Array containing the variable names that should be ignored by the codec. More...
     
    List< string > idrefs
     Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
     
    Dictionary< string, string > mapping
     Maps from from fieldnames to XML attribute names. More...
     
    Dictionary< string, string > reverse
     Maps from from XML attribute names to fieldnames. More...
     
    + + + + +

    +Properties

    Object Template [get]
     Returns the template object associated with this codec. More...
     
    +

    Detailed Description

    +

    Generic codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxObjectCodec.mxObjectCodec (Object template)
    +
    +inline
    +
    + +

    Constructs a new codec for the specified template object.

    +
    Parameters
    + + +
    templatePrototypical instance of the object to be encoded/decoded.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxObjectCodec.mxObjectCodec (Object template,
    string[] exclude,
    string[] idrefs,
    Dictionary< string, string > mapping 
    )
    +
    +inline
    +
    + +

    Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes.

    +
    Parameters
    + + + + + +
    templatePrototypical instance of the object to be encoded/decoded.
    excludeOptional array of fieldnames to be ignored.
    idrefsOptional array of fieldnames to be converted to/from references.
    mappingOptional mapping from field- to attributenames.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.AddObjectValue (Object obj,
    String fieldname,
    Object value,
    Object template 
    )
    +
    +inlineprotected
    +
    + +

    Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual Object com.mxgraph.mxObjectCodec.AfterDecode (mxCodec dec,
    XmlNode node,
    Object obj 
    )
    +
    +inlinevirtual
    +
    + +

    Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode.

    +
    Parameters
    + + + + +
    decCodec that controls the decoding process.
    nodeXML node to be decoded.
    objObject that represents the default decoding.
    +
    +
    +
    Returns
    Returns the result of the decoding process.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual XmlNode com.mxgraph.mxObjectCodec.AfterEncode (mxCodec enc,
    Object obj,
    XmlNode node 
    )
    +
    +inlinevirtual
    +
    + +

    Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode.

    +
    Parameters
    + + + + +
    encCodec that controls the encoding process.
    objObject to be encoded.
    nodeXML node that represents the default encoding.
    +
    +
    +
    Returns
    Returns the resulting node of the encoding.
    + +

    Reimplemented in com.mxgraph.mxCellCodec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual XmlNode com.mxgraph.mxObjectCodec.BeforeDecode (mxCodec dec,
    XmlNode node,
    Object obj 
    )
    +
    +inlinevirtual
    +
    + +

    Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object.

    +
    Parameters
    + + + + +
    decCodec that controls the decoding process.
    nodeXML node to be decoded.
    objObject to encode the node into.
    +
    +
    +
    Returns
    Returns the node used for the default decoding.
    + +

    Reimplemented in com.mxgraph.mxCellCodec, and com.mxgraph.mxModelCodec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual Object com.mxgraph.mxObjectCodec.BeforeEncode (mxCodec enc,
    Object obj,
    XmlNode node 
    )
    +
    +inlinevirtual
    +
    + +

    Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node.

    +
    Parameters
    + + + + +
    encCodec that controls the encoding process.
    objObject to be encoded.
    nodeXML node to encode the object into.
    +
    +
    +
    Returns
    Returns the object to be encoded by the default encoding.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual Object com.mxgraph.mxObjectCodec.CloneTemplate (XmlNode node)
    +
    +inlineprotectedvirtual
    +
    + +

    Returns a new instance of the template object for representing the given node.

    +
    Parameters
    + + +
    nodeXML node that the object is going to represent.
    +
    +
    +
    Returns
    Returns a new template instance.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual Object com.mxgraph.mxObjectCodec.ConvertValueFromXml (Type type,
    Object value 
    )
    +
    +inlineprotectedvirtual
    +
    + +

    Converts XML attribute values to object of the given type.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual Object com.mxgraph.mxObjectCodec.ConvertValueToXml (Object value)
    +
    +inlineprotectedvirtual
    +
    + +

    Converts true to "1" and false to "0". All other values are ignored.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual Object com.mxgraph.mxObjectCodec.Decode (mxCodec dec,
    XmlNode node 
    )
    +
    +inlinevirtual
    +
    + +

    Parses the given node into the object or returns a new object representing the given node.

    +
    Parameters
    + + + +
    decCodec that controls the encoding process.
    nodeXML node to be decoded.
    +
    +
    +
    Returns
    Returns the resulting object that represents the given XML node.
    + +

    Referenced by com.mxgraph.mxCellCodec.BeforeDecode(), com.mxgraph.mxCodec.Decode(), and com.mxgraph.mxCodec.DecodeCell().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual Object com.mxgraph.mxObjectCodec.Decode (mxCodec dec,
    XmlNode node,
    Object into 
    )
    +
    +inlinevirtual
    +
    + +

    Parses the given node into the object or returns a new object representing the given node. Dec is a reference to the calling decoder. It is used to decode complex objects and resolve references. If a node has an id attribute then the object cache is checked for the object. If the object is not yet in the cache then it is constructed using the constructor of template and cached in mxCodec.objects. This implementation decodes all attributes and childs of a node according to the following rules:

    +
      +
    • If the variable name is in exclude or if the attribute name is "id" or "as" then it is ignored.
    • +
    • If the variable name is in idrefs then mxCodec.getObject is used to replace the reference with an object.
    • +
    • The variable name is mapped using a reverse mapping.
    • +
    • If the value has a child node, then the codec is used to create a child object with the variable name taken from the "as" attribute.
    • +
    • If the object is an array and the variable name is empty then the value or child object is appended to the array.
    • +
    • If an add child has no value or the object is not an array then the child text content is evaluated using mxUtils.eval. If no object exists for an ID in idrefs a warning is issued using mxLog.warn. Returns the resulting object that represents the given XML node or the configured given object.
    • +
    +
    Parameters
    + + + + +
    decCodec that controls the encoding process.
    nodeXML node to be decoded.
    intoOptional objec to encode the node into.
    +
    +
    +
    Returns
    Returns the resulting object that represents the given XML node or the object given to the method as the into parameter.
    + +

    Reimplemented in com.mxgraph.mxStylesheetCodec.

    + +

    References com.mxgraph.mxCodec.Objects, and com.mxgraph.mxCodec.PutObject().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.DecodeAttribute (mxCodec dec,
    XmlNode attr,
    Object obj 
    )
    +
    +inlineprotected
    +
    + +

    Reads the given attribute into the specified object.

    + +

    References com.mxgraph.mxCodec.GetObject().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.DecodeAttributes (mxCodec dec,
    XmlNode node,
    Object obj 
    )
    +
    +inlineprotected
    +
    + +

    Decodes all attributes of the given node using decodeAttribute.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.DecodeChild (mxCodec dec,
    XmlNode child,
    Object obj 
    )
    +
    +inlineprotected
    +
    + +

    Reads the specified child into the given object.

    + +

    References com.mxgraph.mxCodec.Decode().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.DecodeChildren (mxCodec dec,
    XmlNode node,
    Object obj 
    )
    +
    +inlineprotected
    +
    + +

    Reads the given attribute into the specified object.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.DecodeNode (mxCodec dec,
    XmlNode node,
    Object obj 
    )
    +
    +inlineprotected
    +
    + +

    Calls decodeAttributes and decodeChildren for the given node.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual XmlNode com.mxgraph.mxObjectCodec.Encode (mxCodec enc,
    Object obj 
    )
    +
    +inlinevirtual
    +
    + +

    Encodes the specified object and returns a node representing then given object. Calls beforeEncode after creating the node and afterEncode with the resulting node after processing. Enc is a reference to the calling encoder. It is used to encode complex objects and create references.

    +
    Parameters
    + + + +
    encCodec that controls the encoding process.
    objObject to be encoded.
    +
    +
    +
    Returns
    Returns the resulting XML node that represents the given object.
    + +

    Reimplemented in com.mxgraph.mxStylesheetCodec.

    + +

    References com.mxgraph.mxCodec.Document.

    + +

    Referenced by com.mxgraph.mxCodec.Encode().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.EncodeElements (mxCodec enc,
    Object obj,
    XmlNode node 
    )
    +
    +inlineprotected
    +
    + +

    Encodes the child objects of arrays, dictionaries and enumerables.

    +
    Parameters
    + + + + +
    encCodec that controls the encoding process.
    objObject whose child objects should be encoded.
    nodeXML node that contains the encoded object.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.EncodeFields (mxCodec enc,
    Object obj,
    XmlNode node 
    )
    +
    +inlineprotected
    +
    + +

    Encodes the members of the given object into the given node.

    +
    Parameters
    + + + + +
    encCodec that controls the encoding process.
    objObject whose fields should be encoded.
    nodeXML node that contains the encoded object.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void com.mxgraph.mxObjectCodec.EncodeObject (mxCodec enc,
    Object obj,
    XmlNode node 
    )
    +
    +inlineprotectedvirtual
    +
    + +

    Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements.

    +
    Parameters
    + + + + +
    encCodec that controls the encoding process.
    objObject to be encoded.
    nodeXML node that contains the encoded object.
    +
    +
    + +

    Reimplemented in com.mxgraph.mxModelCodec.

    + +

    References com.mxgraph.mxCodec.GetId(), and com.mxgraph.mxCodec.SetAttribute().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.EncodeValue (mxCodec enc,
    Object obj,
    string fieldname,
    Object value,
    XmlNode node 
    )
    +
    +inlineprotected
    +
    + +

    Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.

    +
    Parameters
    + + + + + + +
    encCodec that controls the encoding process.
    objObject whose member is going to be encoded.
    fieldname
    valueValue of the property to be encoded.
    nodeXML node that contains the encoded object.
    +
    +
    + +

    References com.mxgraph.mxCodec.GetId(), and com.mxgraph.mxCodec.IsEncodeDefaults.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxObjectCodec.GetAttributeName (string fieldname)
    +
    +inlineprotected
    +
    + +

    Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxObjectCodec.GetFieldName (string attributename)
    +
    +inlineprotected
    +
    + +

    Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name.

    +
    Parameters
    + + +
    attributenameThe attribute name to be mapped.
    +
    +
    +
    Returns
    String that represents the mapped field name.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxObjectCodec.GetFieldTemplate (Object obj,
    String fieldname,
    XmlNode child 
    )
    +
    +inlineprotected
    +
    + +

    Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxObjectCodec.GetFieldValue (Object obj,
    string name 
    )
    +
    +inlineprotected
    +
    + +

    Returns the value of the field with the specified name in the specified object instance.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    string com.mxgraph.mxObjectCodec.GetName ()
    +
    +inline
    +
    + +

    Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class.

    + +

    References com.mxgraph.mxCodecRegistry.GetName().

    + +

    Referenced by com.mxgraph.mxCodecRegistry.Register().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual bool com.mxgraph.mxObjectCodec.IsExcluded (Object obj,
    string attr,
    Object value,
    bool write 
    )
    +
    +inlinevirtual
    +
    + +

    Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude.

    +
    Parameters
    + + + + + +
    objObject instance that contains the field.
    attrFieldname of the field.
    valueValue of the field.
    writeBoolean indicating if the field is being encoded or decoded. write is true if the field is being encoded, else it is being decoded.
    +
    +
    +
    Returns
    Returns true if the given attribute should be ignored.
    + +

    Reimplemented in com.mxgraph.mxCellCodec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    bool com.mxgraph.mxObjectCodec.IsPrimitiveValue (Object value)
    +
    +inlineprotected
    +
    + +

    Returns true if the given object is a primitive value.

    +
    Parameters
    + + +
    valueObject that should be checked.
    +
    +
    +
    Returns
    Returns true if the given object is a primitive value.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual bool com.mxgraph.mxObjectCodec.IsReference (Object obj,
    string attr,
    Object value,
    bool write 
    )
    +
    +inlinevirtual
    +
    + +

    Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs.

    +
    Parameters
    + + + + + +
    objObject instance that contains the field.
    attrFieldname of the field.
    valueValue of the field.
    writeBoolean indicating if the field is being encoded or decoded. write is true if the field is being encoded, else it is being decoded.
    +
    +
    +
    Returns
    Returns true if the given attribute should be handled as a reference.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxObjectCodec.ProcessInclude (mxCodec dec,
    XmlNode node,
    Object into 
    )
    +
    +inline
    +
    + +

    +
    Parameters
    + + + + +
    decCodec that controls the encoding/decoding process.
    nodeXML node to be checked.
    intoOptional object to pass-thru to the codec.
    +
    +
    +
    Returns
    Returns true if the given node was processed as an include.
    + +

    References com.mxgraph.mxCodec.Decode(), and com.mxgraph.mxUtils.LoadDocument().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.SetFieldValue (Object obj,
    string name,
    Object value 
    )
    +
    +inlineprotected
    +
    + +

    Sets the value of the field with the specified name in the specified object instance.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.WriteComplexAttribute (mxCodec enc,
    Object obj,
    string attr,
    Object value,
    XmlNode node 
    )
    +
    +inlineprotected
    +
    + +

    Writes the given value as a child node of the given node.

    + +

    References com.mxgraph.mxCodec.Encode(), and com.mxgraph.mxCodec.SetAttribute().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxObjectCodec.WritePrimitiveAttribute (mxCodec enc,
    Object obj,
    string attr,
    Object value,
    XmlNode node 
    )
    +
    +inlineprotected
    +
    + +

    Writes the given value as an attribute of the given node.

    + +

    References com.mxgraph.mxCodec.Document, and com.mxgraph.mxCodec.SetAttribute().

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    List<string> com.mxgraph.mxObjectCodec.exclude
    +
    +protected
    +
    + +

    Array containing the variable names that should be ignored by the codec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    List<string> com.mxgraph.mxObjectCodec.idrefs
    +
    +protected
    +
    + +

    Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, string> com.mxgraph.mxObjectCodec.mapping
    +
    +protected
    +
    + +

    Maps from from fieldnames to XML attribute names.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, string> com.mxgraph.mxObjectCodec.reverse
    +
    +protected
    +
    + +

    Maps from from XML attribute names to fieldnames.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Object com.mxgraph.mxObjectCodec.template
    +
    +protected
    +
    + +

    Holds the template object associated with this codec.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    Object com.mxgraph.mxObjectCodec.Template
    +
    +get
    +
    + +

    Returns the template object associated with this codec.

    +
    Returns
    Returns the template object.
    + +

    Referenced by com.mxgraph.mxCodecRegistry.Register().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/io/mxObjectCodec.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.png new file mode 100644 index 000000000..6fdc1c36e Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxObjectCodec.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html new file mode 100644 index 000000000..def786024 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxPerimeter Member List
    +
    + + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html new file mode 100644 index 000000000..1e8a4bbb0 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPerimeter.html @@ -0,0 +1,179 @@ + + + + + + +mxGraph: com.mxgraph.mxPerimeter Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxPerimeter Class Reference
    +
    +
    + +

    Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER. + More...

    + + + + + + + + + + + + + + +

    +Static Public Attributes

    static mxPerimeterFunction RectanglePerimeter
     Describes a rectangular perimeter for the given bounds. More...
     
    static mxPerimeterFunction EllipsePerimeter
     Describes an elliptic perimeter. More...
     
    static mxPerimeterFunction RhombusPerimeter
     Describes a rhombus (aka diamond) perimeter. More...
     
    static mxPerimeterFunction TrianglePerimeter
     Describes a triangle perimeter. More...
     
    +

    Detailed Description

    +

    Provides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.

    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxPerimeterFunction com.mxgraph.mxPerimeter.EllipsePerimeter
    +
    +static
    +
    + +

    Describes an elliptic perimeter.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPerimeterFunction com.mxgraph.mxPerimeter.RectanglePerimeter
    +
    +static
    +
    + +

    Describes a rectangular perimeter for the given bounds.

    + +

    Referenced by com.mxgraph.mxStylesheet.CreateDefaultVertexStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPerimeterFunction com.mxgraph.mxPerimeter.RhombusPerimeter
    +
    +static
    +
    + +

    Describes a rhombus (aka diamond) perimeter.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxPerimeterFunction com.mxgraph.mxPerimeter.TrianglePerimeter
    +
    +static
    +
    + +

    Describes a triangle perimeter.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxPerimeter.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html new file mode 100644 index 000000000..b5b33f2c8 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint-members.html @@ -0,0 +1,75 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxPoint Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxPoint, including all inherited members.

    + + + + + + + + + + + + +
    Clone()com.mxgraph.mxPointinline
    Equals(Object obj)com.mxgraph.mxPointinline
    GetPoint()com.mxgraph.mxPointinline
    mxPoint()com.mxgraph.mxPointinline
    mxPoint(Point point)com.mxgraph.mxPointinline
    mxPoint(mxPoint point)com.mxgraph.mxPointinline
    mxPoint(double x, double y)com.mxgraph.mxPointinline
    xcom.mxgraph.mxPointprotected
    Xcom.mxgraph.mxPoint
    Ycom.mxgraph.mxPoint
    ycom.mxgraph.mxPointprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html new file mode 100644 index 000000000..171d0bfa0 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.html @@ -0,0 +1,443 @@ + + + + + + +mxGraph: com.mxgraph.mxPoint Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxPoint Class Reference
    +
    +
    + +

    Implements a 2-dimensional point with double precision coordinates. + More...

    +
    +Inheritance diagram for com.mxgraph.mxPoint:
    +
    +
    + + +com.mxgraph.mxRectangle +com.mxgraph.mxCellState +com.mxgraph.mxGeometry + +
    + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxPoint ()
     Constructs a new point at (0, 0). More...
     
     mxPoint (Point point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (mxPoint point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (double x, double y)
     Constructs a new point at (x, y). More...
     
    Point GetPoint ()
     Returns the coordinates as a new point. More...
     
    new Boolean Equals (Object obj)
     Returns true if the given object equals this point. More...
     
    mxPoint Clone ()
     Returns a new instance of the same point. More...
     
    + + + + + + + +

    +Protected Attributes

    double x
     Holds the x-coordinate of the point. Default is 0. More...
     
    double y
     Holds the y-coordinate of the point. Default is 0. More...
     
    + + + + + + + +

    +Properties

    double X [get, set]
     Sets or returns the x-coordinate of the point. More...
     
    double Y [get, set]
     Sets or returns the y-coordinate of the point. More...
     
    +

    Detailed Description

    +

    Implements a 2-dimensional point with double precision coordinates.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxPoint.mxPoint ()
    +
    +inline
    +
    + +

    Constructs a new point at (0, 0).

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxPoint.mxPoint (Point point)
    +
    +inline
    +
    + +

    Constructs a new point at the location of the given point.

    +
    Parameters
    + + +
    pointPoint that specifies the location.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxPoint.mxPoint (mxPoint point)
    +
    +inline
    +
    + +

    Constructs a new point at the location of the given point.

    +
    Parameters
    + + +
    pointPoint that specifies the location.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxPoint.mxPoint (double x,
    double y 
    )
    +
    +inline
    +
    + +

    Constructs a new point at (x, y).

    +
    Parameters
    + + + +
    xX-coordinate of the point to be created.
    yY-coordinate of the point to be created.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    mxPoint com.mxgraph.mxPoint.Clone ()
    +
    +inline
    +
    + +

    Returns a new instance of the same point.

    +
    Returns
    Returns a clone of the point.
    + +

    Referenced by com.mxgraph.mxCellState.Clone(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawMarker(), com.mxgraph.mxGeometry.mxGeometry(), and com.mxgraph.mxUtils.TranslatePoints().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    new Boolean com.mxgraph.mxPoint.Equals (Object obj)
    +
    +inline
    +
    + +

    Returns true if the given object equals this point.

    +
    Returns
    Returns true if obj is equal.
    + +

    References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    Point com.mxgraph.mxPoint.GetPoint ()
    +
    +inline
    +
    + +

    Returns the coordinates as a new point.

    +
    Returns
    Returns a new point for the location.
    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxPoint.x
    +
    +protected
    +
    + +

    Holds the x-coordinate of the point. Default is 0.

    + +

    Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxPoint.y
    +
    +protected
    +
    + +

    Holds the y-coordinate of the point. Default is 0.

    + +

    Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

    + +
    +
    +

    Property Documentation

    + + + + +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxPoint.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.png new file mode 100644 index 000000000..afbc6ee50 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxPoint.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html new file mode 100644 index 000000000..f53e2841d --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle-members.html @@ -0,0 +1,90 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxRectangle Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxRectangle, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Add(mxRectangle rect)com.mxgraph.mxRectangleinline
    Clone()com.mxgraph.mxRectangleinline
    Contains(double x, double y)com.mxgraph.mxRectangleinline
    Equals(Object obj)com.mxgraph.mxRectangleinline
    GetCenterX()com.mxgraph.mxRectangleinline
    GetCenterY()com.mxgraph.mxRectangleinline
    GetPoint()com.mxgraph.mxPointinline
    GetRectangle()com.mxgraph.mxRectangleinline
    Grow(double amount)com.mxgraph.mxRectangleinline
    Heightcom.mxgraph.mxRectangle
    heightcom.mxgraph.mxRectangleprotected
    mxPoint()com.mxgraph.mxPointinline
    mxPoint(Point point)com.mxgraph.mxPointinline
    mxPoint(mxPoint point)com.mxgraph.mxPointinline
    mxPoint(double x, double y)com.mxgraph.mxPointinline
    mxRectangle()com.mxgraph.mxRectangleinline
    mxRectangle(mxRectangle rect)com.mxgraph.mxRectangleinline
    mxRectangle(Rectangle rect)com.mxgraph.mxRectangleinline
    mxRectangle(double x, double y, double width, double height)com.mxgraph.mxRectangleinline
    setRect(double x, double y, double w, double h)com.mxgraph.mxRectangleinline
    widthcom.mxgraph.mxRectangleprotected
    Widthcom.mxgraph.mxRectangle
    xcom.mxgraph.mxPointprotected
    Xcom.mxgraph.mxPoint
    Ycom.mxgraph.mxPoint
    ycom.mxgraph.mxPointprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html new file mode 100644 index 000000000..afc7a0512 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.html @@ -0,0 +1,727 @@ + + + + + + +mxGraph: com.mxgraph.mxRectangle Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxRectangle Class Reference
    +
    +
    + +

    Implements a 2-dimensional rectangle with double precision coordinates. + More...

    +
    +Inheritance diagram for com.mxgraph.mxRectangle:
    +
    +
    + + +com.mxgraph.mxPoint +com.mxgraph.mxCellState +com.mxgraph.mxGeometry + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxRectangle ()
     Constructs a new rectangle at (0, 0) with the width and height set to 0. More...
     
     mxRectangle (mxRectangle rect)
     Constructs a copy of the given rectangle. More...
     
     mxRectangle (Rectangle rect)
     Constructs a copy of the given rectangle. More...
     
     mxRectangle (double x, double y, double width, double height)
     Constructs a rectangle using the given parameters. More...
     
    void setRect (double x, double y, double w, double h)
     Sets this rectangle to the specified values More...
     
    double GetCenterX ()
     Returns the x-coordinate of the center. More...
     
    double GetCenterY ()
     Returns the y-coordinate of the center. More...
     
    void Add (mxRectangle rect)
     Adds the given rectangle to this rectangle. More...
     
    void Grow (double amount)
     Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height. More...
     
    bool Contains (double x, double y)
     Returns true if this rectangle contains the given point (x, y). More...
     
    Rectangle GetRectangle ()
     Returns the bounds as a new rectangle. More...
     
    new Boolean Equals (Object obj)
     Returns true if the given object equals this rectangle. More...
     
    new mxRectangle Clone ()
     Returns a new instance of the same rectangle. More...
     
    - Public Member Functions inherited from com.mxgraph.mxPoint
     mxPoint ()
     Constructs a new point at (0, 0). More...
     
     mxPoint (Point point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (mxPoint point)
     Constructs a new point at the location of the given point. More...
     
     mxPoint (double x, double y)
     Constructs a new point at (x, y). More...
     
    Point GetPoint ()
     Returns the coordinates as a new point. More...
     
    new Boolean Equals (Object obj)
     Returns true if the given object equals this point. More...
     
    mxPoint Clone ()
     Returns a new instance of the same point. More...
     
    + + + + + + + + + + + + + + +

    +Protected Attributes

    double width
     Holds the width. Default is 0. More...
     
    double height
     Holds the height. Default is 0. More...
     
    - Protected Attributes inherited from com.mxgraph.mxPoint
    double x
     Holds the x-coordinate of the point. Default is 0. More...
     
    double y
     Holds the y-coordinate of the point. Default is 0. More...
     
    + + + + + + + + + + + + + + +

    +Properties

    double Width [get, set]
     Sets or returns the width of the rectangle. More...
     
    double Height [get, set]
     Sets or returns the height of the rectangle. More...
     
    - Properties inherited from com.mxgraph.mxPoint
    double X [get, set]
     Sets or returns the x-coordinate of the point. More...
     
    double Y [get, set]
     Sets or returns the y-coordinate of the point. More...
     
    +

    Detailed Description

    +

    Implements a 2-dimensional rectangle with double precision coordinates.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxRectangle.mxRectangle ()
    +
    +inline
    +
    + +

    Constructs a new rectangle at (0, 0) with the width and height set to 0.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxRectangle.mxRectangle (mxRectangle rect)
    +
    +inline
    +
    + +

    Constructs a copy of the given rectangle.

    +
    Parameters
    + + +
    rectRectangle to construct a copy of.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxRectangle.mxRectangle (Rectangle rect)
    +
    +inline
    +
    + +

    Constructs a copy of the given rectangle.

    +
    Parameters
    + + +
    rectRectangle to construct a copy of.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxRectangle.mxRectangle (double x,
    double y,
    double width,
    double height 
    )
    +
    +inline
    +
    + +

    Constructs a rectangle using the given parameters.

    +
    Parameters
    + + + + + +
    xX-coordinate of the new rectangle.
    yY-coordinate of the new rectangle.
    widthWidth of the new rectangle.
    heightHeight of the new rectangle.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + + + +
    +
    + + + + + +
    + + + + + + + +
    new mxRectangle com.mxgraph.mxRectangle.Clone ()
    +
    +inline
    +
    + +

    Returns a new instance of the same rectangle.

    +
    Returns
    Returns a clone of the rectangle.
    + +

    Referenced by com.mxgraph.mxCellState.Clone(), com.mxgraph.mxGraphView.GetBoundingBox(), and com.mxgraph.mxGeometry.mxGeometry().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxRectangle.Contains (double x,
    double y 
    )
    +
    +inline
    +
    + +

    Returns true if this rectangle contains the given point (x, y).

    +
    Parameters
    + + + +
    xX-coordinate of the point.
    yY-coordinate of the point.
    +
    +
    +
    Returns
    Returns true if (x, y) lies within the given area.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    new Boolean com.mxgraph.mxRectangle.Equals (Object obj)
    +
    +inline
    +
    + +

    Returns true if the given object equals this rectangle.

    +
    Returns
    Returns true if obj is equal.
    + +

    References com.mxgraph.mxRectangle.Height, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +

    Referenced by com.mxgraph.mxUtils.GetLabelPaintBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    double com.mxgraph.mxRectangle.GetCenterX ()
    +
    +inline
    +
    + +

    Returns the x-coordinate of the center.

    +
    Returns
    Returns the x-coordinate of the center.
    + +

    Referenced by com.mxgraph.mxGraphView.GetNextPoint(), com.mxgraph.mxGraphView.GetPoint(), com.mxgraph.mxGraphView.GetRoutingCenterX(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    double com.mxgraph.mxRectangle.GetCenterY ()
    +
    +inline
    +
    + +

    Returns the y-coordinate of the center.

    +
    Returns
    Returns the y-coordinate of the center.
    + +

    Referenced by com.mxgraph.mxGraphView.GetNextPoint(), com.mxgraph.mxGraphView.GetPoint(), com.mxgraph.mxGraphView.GetRoutingCenterY(), and com.mxgraph.mxStencil.PaintShape().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    Rectangle com.mxgraph.mxRectangle.GetRectangle ()
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxRectangle.Grow (double amount)
    +
    +inline
    +
    + +

    Grows the rectangle by the given amount, that is, this method subtracts the given amount from the x- and y-coordinates and adds twice the amount to the width and height.

    +
    Parameters
    + + +
    amountAmount by which the rectangle should be grown.
    +
    +
    + +

    Referenced by com.mxgraph.mxCellState.GetPerimeterBounds(), com.mxgraph.mxGraph.Intersects(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxRectangle.setRect (double x,
    double y,
    double w,
    double h 
    )
    +
    +inline
    +
    + +

    Sets this rectangle to the specified values

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxRectangle.height
    +
    +protected
    +
    + +

    Holds the height. Default is 0.

    + +

    Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxRectangle.width
    +
    +protected
    +
    + +

    Holds the width. Default is 0.

    + +

    Referenced by com.mxgraph.mxRectangle.Add(), and com.mxgraph.mxCellState.Clone().

    + +
    +
    +

    Property Documentation

    + + + + +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxRectangle.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.png new file mode 100644 index 000000000..ad7aca242 Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxRectangle.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html new file mode 100644 index 000000000..1f27ea04e --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler-members.html @@ -0,0 +1,80 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxSaxOutputHandler Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxSaxOutputHandler, including all inherited members.

    + + + + + + + + + + + + + + + + + +
    canvascom.mxgraph.mxSaxOutputHandlerprotected
    Canvascom.mxgraph.mxSaxOutputHandler
    ElementHandler(Dictionary< string, string > atts)com.mxgraph.mxSaxOutputHandler
    GetDouble(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    GetDouble(Dictionary< string, string > atts, string key, double defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    GetInt(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    GetInt(Dictionary< string, string > atts, string key, int defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    GetString(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    GetString(Dictionary< string, string > atts, string key, string defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    handlerscom.mxgraph.mxSaxOutputHandlerprotected
    InitHandlers()com.mxgraph.mxSaxOutputHandlerinlineprotected
    IsTrue(Dictionary< string, string > atts, string key) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    IsTrue(Dictionary< string, string > atts, string key, bool defaultValue) (defined in com.mxgraph.mxSaxOutputHandler)com.mxgraph.mxSaxOutputHandlerinlineprotected
    mxSaxOutputHandler(mxICanvas2D canvas)com.mxgraph.mxSaxOutputHandlerinline
    ParseElement(string tagName, Dictionary< string, string > atts)com.mxgraph.mxSaxOutputHandlerinline
    Read(XmlReader reader)com.mxgraph.mxSaxOutputHandlerinline
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html new file mode 100644 index 000000000..edc70b32e --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxSaxOutputHandler.html @@ -0,0 +1,346 @@ + + + + + + +mxGraph: com.mxgraph.mxSaxOutputHandler Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxSaxOutputHandler Class Reference
    +
    +
    + + + + + + + + + + + + + + +

    +Public Member Functions

    delegate void ElementHandler (Dictionary< string, string > atts)
     Defines the requirements for an object that parses a node. More...
     
     mxSaxOutputHandler (mxICanvas2D canvas)
     Constructs a new sax output handler for the given canvas. More...
     
    void Read (XmlReader reader)
     Reads the given display XML data and parses all elements. More...
     
    void ParseElement (string tagName, Dictionary< string, string > atts)
     Parses the given element and paints it onto the canvas. More...
     
    + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    +string GetString (Dictionary< string, string > atts, string key)
     
    +string GetString (Dictionary< string, string > atts, string key, string defaultValue)
     
    +double GetDouble (Dictionary< string, string > atts, string key)
     
    +double GetDouble (Dictionary< string, string > atts, string key, double defaultValue)
     
    +int GetInt (Dictionary< string, string > atts, string key)
     
    +int GetInt (Dictionary< string, string > atts, string key, int defaultValue)
     
    +bool IsTrue (Dictionary< string, string > atts, string key)
     
    +bool IsTrue (Dictionary< string, string > atts, string key, bool defaultValue)
     
    void InitHandlers ()
     
    + + + + + + + +

    +Protected Attributes

    mxICanvas2D canvas
     Holds the current canvas. More...
     
    Dictionary< string, ElementHandlerhandlers = new Dictionary<string, ElementHandler>()
     Holds the handlers for specific XML nodes. More...
     
    + + + + +

    +Properties

    mxICanvas2D Canvas [get, set]
     Sets or returns the current canvas. More...
     
    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxSaxOutputHandler.mxSaxOutputHandler (mxICanvas2D canvas)
    +
    +inline
    +
    + +

    Constructs a new sax output handler for the given canvas.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + + + + +
    delegate void com.mxgraph.mxSaxOutputHandler.ElementHandler (Dictionary< string, string > atts)
    +
    + +

    Defines the requirements for an object that parses a node.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxSaxOutputHandler.InitHandlers ()
    +
    +inlineprotected
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxSaxOutputHandler.ParseElement (string tagName,
    Dictionary< string, string > atts 
    )
    +
    +inline
    +
    + +

    Parses the given element and paints it onto the canvas.

    +
    Parameters
    + + + +
    tagNameName of the node to be parsed.
    attrsAttributes of the node to be parsed.
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    void com.mxgraph.mxSaxOutputHandler.Read (XmlReader reader)
    +
    +inline
    +
    + +

    Reads the given display XML data and parses all elements.

    +
    Parameters
    + + +
    readerReader that represents the display XML data.
    +
    +
    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxICanvas2D com.mxgraph.mxSaxOutputHandler.canvas
    +
    +protected
    +
    + +

    Holds the current canvas.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, ElementHandler> com.mxgraph.mxSaxOutputHandler.handlers = new Dictionary<string, ElementHandler>()
    +
    +protected
    +
    + +

    Holds the handlers for specific XML nodes.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    mxICanvas2D com.mxgraph.mxSaxOutputHandler.Canvas
    +
    +getset
    +
    + +

    Sets or returns the current canvas.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/reader/mxSaxOutputHandler.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html new file mode 100644 index 000000000..c57322826 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil-members.html @@ -0,0 +1,87 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxStencil Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxStencil, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + +
    aspectcom.mxgraph.mxStencilprotected
    bgNodecom.mxgraph.mxStencilprotected
    ComputeAspect(mxCellState state, mxRectangle bounds, string direction)com.mxgraph.mxStencilinlineprotected
    CreateCanvas(mxGdiCanvas gc)com.mxgraph.mxStencilinlineprotected
    desccom.mxgraph.mxStencilprotected
    Descriptioncom.mxgraph.mxStencil
    DrawElement(mxGdiCanvas2D canvas, mxCellState state, XmlElement node, mxRectangle aspect)com.mxgraph.mxStencilinlineprotected
    DrawShadow(mxGdiCanvas2D canvas, mxCellState state, double rotation, bool flipH, bool flipV, mxRectangle bounds, double alpha, bool filled)com.mxgraph.mxStencilinlineprotected
    DrawShape(mxGdiCanvas2D canvas, mxCellState state, mxRectangle bounds, bool background)com.mxgraph.mxStencilinline
    EvaluateAttribute(XmlElement elt, string attribute, mxCellState state)com.mxgraph.mxStencilinline
    fgNodecom.mxgraph.mxStencilprotected
    GetDouble(XmlElement elt, String attribute)com.mxgraph.mxStencilinlineprotected
    GetDouble(XmlElement elt, String attribute, double defaultValue)com.mxgraph.mxStencilinlineprotected
    GetInt(XmlElement elt, string attribute, int defaultValue)com.mxgraph.mxStencilinlineprotected
    GetString(XmlElement elt, string attribute, string defaultValue)com.mxgraph.mxStencilinlineprotected
    h0com.mxgraph.mxStencilprotected
    lastMoveXcom.mxgraph.mxStencilprotected
    lastMoveYcom.mxgraph.mxStencilprotected
    mxStencil(XmlElement description)com.mxgraph.mxStencilinline
    PaintShape(mxGdiCanvas gc, mxCellState state)com.mxgraph.mxStencilinline
    ParseDescription()com.mxgraph.mxStencilinlineprotected
    strokewidthcom.mxgraph.mxStencilprotected
    w0com.mxgraph.mxStencilprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html new file mode 100644 index 000000000..03c7a7625 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencil.html @@ -0,0 +1,1011 @@ + + + + + + +mxGraph: com.mxgraph.mxStencil Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    Implements a stencil for the given XML definition. This class implements the mxGraph stencil schema. + More...

    + + + + + + + + + + + + + +

    +Public Member Functions

     mxStencil (XmlElement description)
     Constructs a new stencil for the given mxGraph shape description. More...
     
    void PaintShape (mxGdiCanvas gc, mxCellState state)
     Paints the stencil for the given state. More...
     
    bool DrawShape (mxGdiCanvas2D canvas, mxCellState state, mxRectangle bounds, bool background)
     
    string EvaluateAttribute (XmlElement elt, string attribute, mxCellState state)
     Gets the attribute for the given name from the given node. If the attribute More...
     
    + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    mxGdiCanvas2D CreateCanvas (mxGdiCanvas gc)
     Creates the canvas for rendering the stencil. More...
     
    void DrawShadow (mxGdiCanvas2D canvas, mxCellState state, double rotation, bool flipH, bool flipV, mxRectangle bounds, double alpha, bool filled)
     Draws the shadow. More...
     
    mxRectangle ComputeAspect (mxCellState state, mxRectangle bounds, string direction)
     Returns a rectangle that contains the offset in x and y and the horizontal More...
     
    void DrawElement (mxGdiCanvas2D canvas, mxCellState state, XmlElement node, mxRectangle aspect)
     
    int GetInt (XmlElement elt, string attribute, int defaultValue)
     
    double GetDouble (XmlElement elt, String attribute)
     
    double GetDouble (XmlElement elt, String attribute, double defaultValue)
     
    string GetString (XmlElement elt, string attribute, string defaultValue)
     Returns the given attribute or the default value. More...
     
    void ParseDescription ()
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Attributes

    XmlElement desc
     Holds the top-level node of the stencil definition. More...
     
    string aspect = null
     Holds the aspect of the shape. Default is "auto". More...
     
    double w0 = 100
     Holds the width of the shape. Default is 100. More...
     
    double h0 = 100
     Holds the height of the shape. Default is 100. More...
     
    XmlElement bgNode = null
     Holds the XML node with the stencil description. More...
     
    XmlElement fgNode = null
     Holds the XML node with the stencil description. More...
     
    string strokewidth = null
     Holds the strokewidth direction from the description. More...
     
    double lastMoveX = 0
     Holds the last x-position of the cursor. More...
     
    double lastMoveY = 0
     Holds the last y-position of the cursor. More...
     
    + + + + +

    +Properties

    XmlElement Description [get, set]
     Sets or returns the description. More...
     
    +

    Detailed Description

    +

    Implements a stencil for the given XML definition. This class implements the mxGraph stencil schema.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxStencil.mxStencil (XmlElement description)
    +
    +inline
    +
    + +

    Constructs a new stencil for the given mxGraph shape description.

    +
    Parameters
    + + +
    description
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    mxRectangle com.mxgraph.mxStencil.ComputeAspect (mxCellState state,
    mxRectangle bounds,
    string direction 
    )
    +
    +inlineprotected
    +
    + +

    Returns a rectangle that contains the offset in x and y and the horizontal

    +

    and vertical scale in width and height used to draw this shape inside the given rectangle.

    +
    Parameters
    + + + + +
    state
    bounds
    direction
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxRectangle.Height, com.mxgraph.mxRectangle.Width, com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    mxGdiCanvas2D com.mxgraph.mxStencil.CreateCanvas (mxGdiCanvas gc)
    +
    +inlineprotected
    +
    + +

    Creates the canvas for rendering the stencil.

    +
    Parameters
    + + +
    gc
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxGdiCanvas.Graphics.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxStencil.DrawElement (mxGdiCanvas2D canvas,
    mxCellState state,
    XmlElement node,
    mxRectangle aspect 
    )
    +
    +inlineprotected
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxStencil.DrawShadow (mxGdiCanvas2D canvas,
    mxCellState state,
    double rotation,
    bool flipH,
    bool flipV,
    mxRectangle bounds,
    double alpha,
    bool filled 
    )
    +
    +inlineprotected
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxStencil.DrawShape (mxGdiCanvas2D canvas,
    mxCellState state,
    mxRectangle bounds,
    bool background 
    )
    +
    +inline
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    string com.mxgraph.mxStencil.EvaluateAttribute (XmlElement elt,
    string attribute,
    mxCellState state 
    )
    +
    +inline
    +
    + +

    Gets the attribute for the given name from the given node. If the attribute

    +

    does not exist then the text content of the node is evaluated and if it is a function it is invoked with <state> as the only argument and the return value is used as the attribute value to be returned.

    +
    Parameters
    + + + + +
    elt
    attribute
    state
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    double com.mxgraph.mxStencil.GetDouble (XmlElement elt,
    String attribute 
    )
    +
    +inlineprotected
    +
    + +

    +

    Returns the given attribute or 0.

    +
    Parameters
    + + + +
    elt
    attribute
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    double com.mxgraph.mxStencil.GetDouble (XmlElement elt,
    String attribute,
    double defaultValue 
    )
    +
    +inlineprotected
    +
    + +

    +

    Returns the given attribute or the default value.

    +
    Parameters
    + + + + +
    elt
    attribute
    defaultValue
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    int com.mxgraph.mxStencil.GetInt (XmlElement elt,
    string attribute,
    int defaultValue 
    )
    +
    +inlineprotected
    +
    + +

    +

    Returns the given attribute or the default value.

    +
    Parameters
    + + + + +
    elt
    attribute
    defaultValue
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    string com.mxgraph.mxStencil.GetString (XmlElement elt,
    string attribute,
    string defaultValue 
    )
    +
    +inlineprotected
    +
    + +

    Returns the given attribute or the default value.

    +
    Parameters
    + + + + +
    elt
    attribute
    defaultValue
    +
    +
    +
    Returns
    + +
    +
    + + + +
    +
    + + + + + +
    + + + + + + + +
    void com.mxgraph.mxStencil.ParseDescription ()
    +
    +inlineprotected
    +
    + +

    +

    Parses the description of this shape.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxStencil.aspect = null
    +
    +protected
    +
    + +

    Holds the aspect of the shape. Default is "auto".

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    XmlElement com.mxgraph.mxStencil.bgNode = null
    +
    +protected
    +
    + +

    Holds the XML node with the stencil description.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    XmlElement com.mxgraph.mxStencil.desc
    +
    +protected
    +
    + +

    Holds the top-level node of the stencil definition.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    XmlElement com.mxgraph.mxStencil.fgNode = null
    +
    +protected
    +
    + +

    Holds the XML node with the stencil description.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxStencil.h0 = 100
    +
    +protected
    +
    + +

    Holds the height of the shape. Default is 100.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxStencil.lastMoveX = 0
    +
    +protected
    +
    + +

    Holds the last x-position of the cursor.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxStencil.lastMoveY = 0
    +
    +protected
    +
    + +

    Holds the last y-position of the cursor.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxStencil.strokewidth = null
    +
    +protected
    +
    + +

    Holds the strokewidth direction from the description.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxStencil.w0 = 100
    +
    +protected
    +
    + +

    Holds the width of the shape. Default is 100.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    XmlElement com.mxgraph.mxStencil.Description
    +
    +getset
    +
    + +

    Sets or returns the description.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/canvas/mxStencil.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html new file mode 100644 index 000000000..bfcd73789 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry-members.html @@ -0,0 +1,67 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxStencilRegistry Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxStencilRegistry, including all inherited members.

    + + + + +
    AddStencil(string name, mxStencil stencil)com.mxgraph.mxStencilRegistryinlinestatic
    GetStencil(string name)com.mxgraph.mxStencilRegistryinlinestatic
    stencils (defined in com.mxgraph.mxStencilRegistry)com.mxgraph.mxStencilRegistryprotectedstatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html new file mode 100644 index 000000000..bc5fe5968 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStencilRegistry.html @@ -0,0 +1,163 @@ + + + + + + +mxGraph: com.mxgraph.mxStencilRegistry Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxStencilRegistry Class Reference
    +
    +
    + + + + + + + + +

    +Static Public Member Functions

    static void AddStencil (string name, mxStencil stencil)
     Adds the given stencil. More...
     
    static mxStencil GetStencil (string name)
     Returns the stencil for the given name. More...
     
    + + + +

    +Static Protected Attributes

    +static Dictionary< string, mxStencilstencils = new Dictionary<string, mxStencil>()
     
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxStencilRegistry.AddStencil (string name,
    mxStencil stencil 
    )
    +
    +inlinestatic
    +
    + +

    Adds the given stencil.

    +
    Parameters
    + + + +
    name
    stencil
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static mxStencil com.mxgraph.mxStencilRegistry.GetStencil (string name)
    +
    +inlinestatic
    +
    + +

    Returns the stencil for the given name.

    +
    Parameters
    + + +
    name
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), and com.mxgraph.mxStencil.DrawElement().

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/canvas/mxStencilRegistry.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html new file mode 100644 index 000000000..bce0e764d --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxStyleRegistry Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxStyleRegistry, including all inherited members.

    + + + + + +
    GetName(Object value)com.mxgraph.mxStyleRegistryinlinestatic
    GetValue(String name)com.mxgraph.mxStyleRegistryinlinestatic
    PutValue(String name, Object value)com.mxgraph.mxStyleRegistryinlinestatic
    valuescom.mxgraph.mxStyleRegistryprotectedstatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html new file mode 100644 index 000000000..e5d46fea5 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStyleRegistry.html @@ -0,0 +1,206 @@ + + + + + + +mxGraph: com.mxgraph.mxStyleRegistry Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxStyleRegistry Class Reference
    +
    +
    + +

    Static class that acts as a global registry for codecs. See mxCodec for an example of using this class. + More...

    + + + + + + + + + + + +

    +Static Public Member Functions

    static void PutValue (String name, Object value)
     Puts the given object into the registry under the given name. More...
     
    static Object GetValue (String name)
     Returns the value associated with the given name. More...
     
    static String GetName (Object value)
     Returns the value associated with the given name. More...
     
    + + + + +

    +Static Protected Attributes

    static Dictionary< string, Object > values = new Dictionary<string, Object>()
     Maps from strings to objects. More...
     
    +

    Detailed Description

    +

    Static class that acts as a global registry for codecs. See mxCodec for an example of using this class.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + +
    static String com.mxgraph.mxStyleRegistry.GetName (Object value)
    +
    +inlinestatic
    +
    + +

    Returns the value associated with the given name.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static Object com.mxgraph.mxStyleRegistry.GetValue (String name)
    +
    +inlinestatic
    +
    + +

    Returns the value associated with the given name.

    + +

    Referenced by com.mxgraph.mxGraphView.GetEdgeStyle(), and com.mxgraph.mxGraphView.GetPerimeterFunction().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxStyleRegistry.PutValue (String name,
    Object value 
    )
    +
    +inlinestatic
    +
    + +

    Puts the given object into the registry under the given name.

    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Object> com.mxgraph.mxStyleRegistry.values = new Dictionary<string, Object>()
    +
    +staticprotected
    +
    + +

    Maps from strings to objects.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxStyleRegistry.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html new file mode 100644 index 000000000..0d78f63f3 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet-members.html @@ -0,0 +1,74 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxStylesheet Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxStylesheet, including all inherited members.

    + + + + + + + + + + + +
    CreateDefaultEdgeStyle()com.mxgraph.mxStylesheetinlineprotected
    CreateDefaultVertexStyle()com.mxgraph.mxStylesheetinlineprotected
    DefaultEdgeStylecom.mxgraph.mxStylesheet
    DefaultVertexStylecom.mxgraph.mxStylesheet
    EMPTY_STYLEcom.mxgraph.mxStylesheetstatic
    GetCellStyle(string name, Dictionary< string, Object > defaultStyle)com.mxgraph.mxStylesheetinline
    mxStylesheet()com.mxgraph.mxStylesheetinline
    PutCellStyle(string name, Dictionary< string, Object > style)com.mxgraph.mxStylesheetinline
    stylescom.mxgraph.mxStylesheetprotected
    Stylescom.mxgraph.mxStylesheet
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html new file mode 100644 index 000000000..f17280dfd --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheet.html @@ -0,0 +1,414 @@ + + + + + + +mxGraph: com.mxgraph.mxStylesheet Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    + +
    + +

    Defines the appearance of the cells in a graph. + More...

    + + + + + + + + + + + +

    +Public Member Functions

     mxStylesheet ()
     Constructs a new stylesheet and assigns default styles. More...
     
    void PutCellStyle (string name, Dictionary< string, Object > style)
     Stores the specified style under the given name. More...
     
    Dictionary< string, Object > GetCellStyle (string name, Dictionary< string, Object > defaultStyle)
     Returns the cell style for the specified cell or the given defaultStyle if no style can be found for the given stylename. More...
     
    + + + + +

    +Static Public Attributes

    static Dictionary< string, Object > EMPTY_STYLE = new Dictionary<string, Object>()
     Shared immutable empty dictionary (for undefined cell styles). More...
     
    + + + + + + + +

    +Protected Member Functions

    Dictionary< string, Object > CreateDefaultVertexStyle ()
     Creates and returns the default vertex style. More...
     
    Dictionary< string, Object > CreateDefaultEdgeStyle ()
     Creates and returns the default edge style. More...
     
    + + + + +

    +Protected Attributes

    Dictionary< string, Dictionary< string, Object > > styles
     Maps from names to styles. More...
     
    + + + + + + + + + + +

    +Properties

    Dictionary< string, Dictionary< string, Object > > Styles [get, set]
     Sets or returns the map that contains the styles. More...
     
    Dictionary< string, Object > DefaultVertexStyle [get, set]
     Sets or returns the default style for vertices. More...
     
    Dictionary< string, Object > DefaultEdgeStyle [get, set]
     Sets or returns the default style for edges. More...
     
    +

    Detailed Description

    +

    Defines the appearance of the cells in a graph.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxStylesheet.mxStylesheet ()
    +
    +inline
    +
    + +

    Constructs a new stylesheet and assigns default styles.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    Dictionary<string, Object> com.mxgraph.mxStylesheet.CreateDefaultEdgeStyle ()
    +
    +inlineprotected
    +
    +
    + + + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    Dictionary<string, Object> com.mxgraph.mxStylesheet.GetCellStyle (string name,
    Dictionary< string, Object > defaultStyle 
    )
    +
    +inline
    +
    + +

    Returns the cell style for the specified cell or the given defaultStyle if no style can be found for the given stylename.

    +
    Parameters
    + + + +
    nameString of the form [(stylename|key=value);] that represents the style.
    defaultStyleDefault style to be returned if no style can be found.
    +
    +
    +
    Returns
    Returns the style for the given formatted cell style.
    + +

    References com.mxgraph.mxConstants.NONE.

    + +

    Referenced by com.mxgraph.mxGraph.GetCellStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxStylesheet.PutCellStyle (string name,
    Dictionary< string, Object > style 
    )
    +
    +inline
    +
    + +

    Stores the specified style under the given name.

    +
    Parameters
    + + + +
    nameName for the style to be stored.
    styleKey, value pairs that define the style.
    +
    +
    + +
    +
    +

    Member Data Documentation

    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Object> com.mxgraph.mxStylesheet.EMPTY_STYLE = new Dictionary<string, Object>()
    +
    +static
    +
    + +

    Shared immutable empty dictionary (for undefined cell styles).

    + +

    Referenced by com.mxgraph.mxGraph.GetCellStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Dictionary<string, Object> > com.mxgraph.mxStylesheet.styles
    +
    +protected
    +
    +Initial value:
    =
    new Dictionary<string, Dictionary<string, Object>>()
    +

    Maps from names to styles.

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Object> com.mxgraph.mxStylesheet.DefaultEdgeStyle
    +
    +getset
    +
    + +

    Sets or returns the default style for edges.

    + +

    Referenced by com.mxgraph.mxGraph.GetCellStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Object> com.mxgraph.mxStylesheet.DefaultVertexStyle
    +
    +getset
    +
    + +

    Sets or returns the default style for vertices.

    + +

    Referenced by com.mxgraph.mxGraph.GetCellStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Dictionary<string, Dictionary<string, Object> > com.mxgraph.mxStylesheet.Styles
    +
    +getset
    +
    + +

    Sets or returns the map that contains the styles.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/view/mxStylesheet.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html new file mode 100644 index 000000000..916cc6ebb --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec-members.html @@ -0,0 +1,109 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxStylesheetCodec Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxStylesheetCodec, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddObjectValue(Object obj, String fieldname, Object value, Object template)com.mxgraph.mxObjectCodecinlineprotected
    AfterDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    AfterEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    BeforeDecode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlinevirtual
    BeforeEncode(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    CloneTemplate(XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueFromXml(Type type, Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    ConvertValueToXml(Object value)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    Decode(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxStylesheetCodecinlinevirtual
    com::mxgraph::mxObjectCodec.Decode(mxCodec dec, XmlNode node)com.mxgraph.mxObjectCodecinlinevirtual
    DecodeAttribute(mxCodec dec, XmlNode attr, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeAttributes(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChild(mxCodec dec, XmlNode child, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeChildren(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    DecodeNode(mxCodec dec, XmlNode node, Object obj)com.mxgraph.mxObjectCodecinlineprotected
    Encode(mxCodec enc, Object obj)com.mxgraph.mxStylesheetCodecinlinevirtual
    EncodeElements(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeFields(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    EncodeObject(mxCodec enc, Object obj, XmlNode node)com.mxgraph.mxObjectCodecinlineprotectedvirtual
    EncodeValue(mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    excludecom.mxgraph.mxObjectCodecprotected
    GetAttributeName(string fieldname)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldName(string attributename)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldTemplate(Object obj, String fieldname, XmlNode child)com.mxgraph.mxObjectCodecinlineprotected
    GetFieldValue(Object obj, string name)com.mxgraph.mxObjectCodecinlineprotected
    GetName()com.mxgraph.mxObjectCodecinline
    getStringValue(KeyValuePair< string, Object > entry)com.mxgraph.mxStylesheetCodecinlineprotected
    idrefscom.mxgraph.mxObjectCodecprotected
    IsExcluded(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
    IsPrimitiveValue(Object value)com.mxgraph.mxObjectCodecinlineprotected
    IsReference(Object obj, string attr, Object value, bool write)com.mxgraph.mxObjectCodecinlinevirtual
    mappingcom.mxgraph.mxObjectCodecprotected
    mxObjectCodec(Object template)com.mxgraph.mxObjectCodecinline
    mxObjectCodec(Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxObjectCodecinline
    mxStylesheetCodec()com.mxgraph.mxStylesheetCodecinline
    mxStylesheetCodec(Object template)com.mxgraph.mxStylesheetCodecinline
    mxStylesheetCodec(Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)com.mxgraph.mxStylesheetCodecinline
    ProcessInclude(mxCodec dec, XmlNode node, Object into)com.mxgraph.mxObjectCodecinline
    reversecom.mxgraph.mxObjectCodecprotected
    SetFieldValue(Object obj, string name, Object value)com.mxgraph.mxObjectCodecinlineprotected
    templatecom.mxgraph.mxObjectCodecprotected
    Templatecom.mxgraph.mxObjectCodec
    WriteAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WriteComplexAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    WritePrimitiveAttribute(mxCodec enc, Object obj, string attr, Object value, XmlNode node)com.mxgraph.mxObjectCodecinlineprotected
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html new file mode 100644 index 000000000..90e15f527 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.html @@ -0,0 +1,444 @@ + + + + + + +mxGraph: com.mxgraph.mxStylesheetCodec Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxStylesheetCodec Class Reference
    +
    +
    + +

    Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry. + More...

    +
    +Inheritance diagram for com.mxgraph.mxStylesheetCodec:
    +
    +
    + + +com.mxgraph.mxObjectCodec + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     mxStylesheetCodec ()
     Constructs a new stylesheet codec. More...
     
     mxStylesheetCodec (Object template)
     Constructs a new stylesheet codec for the given template. More...
     
     mxStylesheetCodec (Object template, String[] exclude, String[] idrefs, Dictionary< string, string > mapping)
     Constructs a new stylesheet codec for the given arguments. More...
     
    override XmlNode Encode (mxCodec enc, Object obj)
     Encode the given mxStylesheet. More...
     
    override Object Decode (mxCodec dec, XmlNode node, Object into)
     Decodes the given mxStylesheet. More...
     
    - Public Member Functions inherited from com.mxgraph.mxObjectCodec
     mxObjectCodec (Object template)
     Constructs a new codec for the specified template object. More...
     
     mxObjectCodec (Object template, string[] exclude, string[] idrefs, Dictionary< string, string > mapping)
     Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes. More...
     
    string GetName ()
     Returns the name used for the nodenames and lookup of the codec when classes are encoded and nodes are decoded. For classes to work with this the codec registry automatically adds an alias for the classname if that is different than what this returns. The default implementation returns the classname of the template class. More...
     
    virtual bool IsExcluded (Object obj, string attr, Object value, bool write)
     Returns true if the given attribute is to be ignored by the codec. This implementation returns true if the given fieldname is in exclude. More...
     
    virtual bool IsReference (Object obj, string attr, Object value, bool write)
     Returns true if the given fieldname is to be treated as a textual reference (ID). This implementation returns true if the given fieldname is in idrefs. More...
     
    virtual Object BeforeEncode (mxCodec enc, Object obj, XmlNode node)
     Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node. More...
     
    virtual XmlNode AfterEncode (mxCodec enc, Object obj, XmlNode node)
     Hook for subclassers to Receive-process the node for the given object after encoding and return the Receive-processed node. This implementation returns the input node. The return value of this method is returned to the encoder from encode. More...
     
    virtual Object Decode (mxCodec dec, XmlNode node)
     Parses the given node into the object or returns a new object representing the given node. More...
     
    bool ProcessInclude (mxCodec dec, XmlNode node, Object into)
     
    virtual XmlNode BeforeDecode (mxCodec dec, XmlNode node, Object obj)
     Hook for subclassers to pre-process the node for the specified object and return the node to be used for further processing by decode. The object is created based on the template in the calling method and is never null. This implementation returns the input node. The return value of this function is used in decode to perform the default decoding into the given object. More...
     
    virtual Object AfterDecode (mxCodec dec, XmlNode node, Object obj)
     Hook for subclassers to Receive-process the object after decoding. This implementation returns the given object without any changes. The return value of this method is returned to the decoder from decode. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    string getStringValue (KeyValuePair< string, Object > entry)
     Returns the string for encoding the given value. More...
     
    - Protected Member Functions inherited from com.mxgraph.mxObjectCodec
    virtual Object CloneTemplate (XmlNode node)
     Returns a new instance of the template object for representing the given node. More...
     
    virtual void EncodeObject (mxCodec enc, Object obj, XmlNode node)
     Encodes the value of each member in then given obj into the given node using encodeFields and encodeElements. More...
     
    void EncodeFields (mxCodec enc, Object obj, XmlNode node)
     Encodes the members of the given object into the given node. More...
     
    void EncodeElements (mxCodec enc, Object obj, XmlNode node)
     Encodes the child objects of arrays, dictionaries and enumerables. More...
     
    void EncodeValue (mxCodec enc, Object obj, string fieldname, Object value, XmlNode node)
     Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node. More...
     
    bool IsPrimitiveValue (Object value)
     Returns true if the given object is a primitive value. More...
     
    +void WriteAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value into node using writePrimitiveAttribute or writeComplexAttribute depending on the type of the value.
     
    void WritePrimitiveAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as an attribute of the given node. More...
     
    void WriteComplexAttribute (mxCodec enc, Object obj, string attr, Object value, XmlNode node)
     Writes the given value as a child node of the given node. More...
     
    virtual Object ConvertValueToXml (Object value)
     Converts true to "1" and false to "0". All other values are ignored. More...
     
    virtual Object ConvertValueFromXml (Type type, Object value)
     Converts XML attribute values to object of the given type. More...
     
    string GetAttributeName (string fieldname)
     Returns the XML node attribute name for the given C# field name. That is, it returns the mapping of the field name. More...
     
    string GetFieldName (string attributename)
     Returns the C# field name for the given XML attribute name. That is, it returns the reverse mapping of the attribute name. More...
     
    Object GetFieldValue (Object obj, string name)
     Returns the value of the field with the specified name in the specified object instance. More...
     
    void SetFieldValue (Object obj, string name, Object value)
     Sets the value of the field with the specified name in the specified object instance. More...
     
    void DecodeNode (mxCodec dec, XmlNode node, Object obj)
     Calls decodeAttributes and decodeChildren for the given node. More...
     
    void DecodeAttributes (mxCodec dec, XmlNode node, Object obj)
     Decodes all attributes of the given node using decodeAttribute. More...
     
    void DecodeAttribute (mxCodec dec, XmlNode attr, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChildren (mxCodec dec, XmlNode node, Object obj)
     Reads the given attribute into the specified object. More...
     
    void DecodeChild (mxCodec dec, XmlNode child, Object obj)
     Reads the specified child into the given object. More...
     
    Object GetFieldTemplate (Object obj, String fieldname, XmlNode child)
     Returns the template instance for the given field. This returns the value of the field, null if the value is an array or an empty collection if the value is a collection. The value is then used to populate the field for a new instance. For strongly typed languages it may be required to override this to return the correct collection instance based on the encoded child. More...
     
    void AddObjectValue (Object obj, String fieldname, Object value, Object template)
     Sets the decoded child node as a value of the given object. If the object is a map, then the value is added with the given fieldname as a key. If the fieldname is not empty, then setFieldValue is called or else, if the object is a collection, the value is added to the collection. For strongly typed languages it may be required to override this with the correct code to add an entry to an object. More...
     
    + + + + + + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Protected Attributes inherited from com.mxgraph.mxObjectCodec
    Object template
     Holds the template object associated with this codec. More...
     
    List< string > exclude
     Array containing the variable names that should be ignored by the codec. More...
     
    List< string > idrefs
     Array containing the variable names that should be turned into or converted from references. See mxCodec.getId and mxCodec.getObject. More...
     
    Dictionary< string, string > mapping
     Maps from from fieldnames to XML attribute names. More...
     
    Dictionary< string, string > reverse
     Maps from from XML attribute names to fieldnames. More...
     
    - Properties inherited from com.mxgraph.mxObjectCodec
    Object Template [get]
     Returns the template object associated with this codec. More...
     
    +

    Detailed Description

    +

    Codec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + +
    + + + + + + + +
    com.mxgraph.mxStylesheetCodec.mxStylesheetCodec ()
    +
    +inline
    +
    + +

    Constructs a new stylesheet codec.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    com.mxgraph.mxStylesheetCodec.mxStylesheetCodec (Object template)
    +
    +inline
    +
    + +

    Constructs a new stylesheet codec for the given template.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    com.mxgraph.mxStylesheetCodec.mxStylesheetCodec (Object template,
    String[] exclude,
    String[] idrefs,
    Dictionary< string, string > mapping 
    )
    +
    +inline
    +
    + +

    Constructs a new stylesheet codec for the given arguments.

    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    override Object com.mxgraph.mxStylesheetCodec.Decode (mxCodec dec,
    XmlNode node,
    Object into 
    )
    +
    +inlinevirtual
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    override XmlNode com.mxgraph.mxStylesheetCodec.Encode (mxCodec enc,
    Object obj 
    )
    +
    +inlinevirtual
    +
    + +

    Encode the given mxStylesheet.

    + +

    Reimplemented from com.mxgraph.mxObjectCodec.

    + +

    References com.mxgraph.mxCodec.Document.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    string com.mxgraph.mxStylesheetCodec.getStringValue (KeyValuePair< string, Object > entry)
    +
    +inlineprotected
    +
    + +

    Returns the string for encoding the given value.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/io/mxStylesheetCodec.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.png b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.png new file mode 100644 index 000000000..d96854c3b Binary files /dev/null and b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxStylesheetCodec.png differ diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html new file mode 100644 index 000000000..0e931ce40 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils-members.html @@ -0,0 +1,117 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxUtils Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxUtils, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AddStylename(String style, String stylename)com.mxgraph.mxUtilsinline
    ArcToCurves(double x0, double y0, double r1, double r2, double angle, double largeArcFlag, double sweepFlag, double x, double y)com.mxgraph.mxUtilsinlinestatic
    CreateDocument()com.mxgraph.mxUtilsinlinestatic
    CreateImage(int width, int height, Color?background)com.mxgraph.mxUtilsinlinestatic
    Eval(string expression)com.mxgraph.mxUtilsinlinestatic
    FillClippedRect(Graphics g, Brush brush, int x, int y, int width, int height)com.mxgraph.mxUtilsinlinestatic
    FindNode(XmlNode node, String attr, String value)com.mxgraph.mxUtilsinlinestatic
    GetBoundingBox(mxRectangle rect, double rotation)com.mxgraph.mxUtilsinlinestatic
    GetColor(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
    GetColor(Dictionary< string, Object > dict, string key, Color?defaultValue)com.mxgraph.mxUtilsinlinestatic
    GetDouble(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
    GetDouble(Dictionary< string, Object > dict, string key, double defaultValue)com.mxgraph.mxUtilsinlinestatic
    GetFloat(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
    GetFloat(Dictionary< string, Object > dict, string key, float defaultValue)com.mxgraph.mxUtilsinlinestatic
    GetFont(Dictionary< string, Object > style)com.mxgraph.mxUtilsinlinestatic
    GetFont(Dictionary< string, Object > style, double scale)com.mxgraph.mxUtilsinlinestatic
    GetInt(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
    GetInt(Dictionary< string, Object > dict, string key, int defaultValue)com.mxgraph.mxUtilsinlinestatic
    GetLabelPaintBounds(String label, Dictionary< string, Object > style, bool isHtml, mxPoint offset, mxRectangle vertexBounds, double scale)com.mxgraph.mxUtilsinlinestatic
    GetLabelSize(string label, Dictionary< string, Object > style, int width)com.mxgraph.mxUtilsinlinestatic
    GetMd5Hash(string text)com.mxgraph.mxUtilsinlinestatic
    GetPrettyXml(XmlNode node)com.mxgraph.mxUtilsinlinestatic
    GetRotatedPoint(mxPoint pt, double cos, double sin)com.mxgraph.mxUtilsinlinestatic
    GetRotatedPoint(mxPoint pt, double cos, double sin, mxPoint c)com.mxgraph.mxUtilsinlinestatic
    GetScaledLabelBounds(double x, double y, mxRectangle size, double outerWidth, double outerHeight, Dictionary< string, Object > style, double scale)com.mxgraph.mxUtilsinlinestatic
    GetSizeForString(String text, Font font)com.mxgraph.mxUtilsinlinestatic
    GetSizeForString(String text, Font font, int width)com.mxgraph.mxUtilsinlinestatic
    GetString(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
    GetString(Dictionary< string, Object > dict, string key, string defaultValue)com.mxgraph.mxUtilsinlinestatic
    GetStringFormat(Dictionary< string, Object > style)com.mxgraph.mxUtilsinlinestatic
    GetStylename(String style)com.mxgraph.mxUtilsinlinestatic
    GetStylenames(String style)com.mxgraph.mxUtilsinlinestatic
    GetXml(XmlNode node)com.mxgraph.mxUtilsinlinestatic
    GetXml(XmlNode node, Formatting formatting)com.mxgraph.mxUtilsinlinestatic
    HtmlEntities(String text)com.mxgraph.mxUtilsinlinestatic
    IndexOfStylename(String style, String stylename)com.mxgraph.mxUtilsinlinestatic
    Intersection(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)com.mxgraph.mxUtilsinlinestatic
    IsNode(Object value, String nodeName)com.mxgraph.mxUtilsinlinestatic
    IsNode(Object value, String nodeName, String attributeName, String attributeValue)com.mxgraph.mxUtilsinlinestatic
    IsTrue(Dictionary< string, Object > dict, string key)com.mxgraph.mxUtilsinlinestatic
    IsTrue(Dictionary< string, Object > dict, string key, bool defaultValue)com.mxgraph.mxUtilsinlinestatic
    LoadDocument(string uri)com.mxgraph.mxUtilsinlinestatic
    LoadImage(String url)com.mxgraph.mxUtilsinlinestatic
    ParseXml(string xml)com.mxgraph.mxUtilsinlinestatic
    ReadFile(string filename)com.mxgraph.mxUtilsinlinestatic
    RemoveAllStylenames(String style)com.mxgraph.mxUtilsinlinestatic
    RemoveStylename(String style, String stylename)com.mxgraph.mxUtilsinline
    SetCellStyleFlags(mxIGraphModel model, Object[] cells, String key, int flag, Boolean value)com.mxgraph.mxUtilsinlinestatic
    SetCellStyles(mxIGraphModel model, Object[] cells, String key, String value)com.mxgraph.mxUtilsinlinestatic
    SetStyle(String style, String key, String value)com.mxgraph.mxUtilsinlinestatic
    SetStyleFlag(String style, String key, int flag, bool?value)com.mxgraph.mxUtilsinlinestatic
    ToRadians(double deg)com.mxgraph.mxUtilsinlinestatic
    TranslatePoints(List< mxPoint > pts, double dx, double dy)com.mxgraph.mxUtilsinlinestatic
    + + + + diff --git a/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html new file mode 100644 index 000000000..5e5082688 --- /dev/null +++ b/dotnet/docs/html/classcom_1_1mxgraph_1_1mxUtils.html @@ -0,0 +1,2710 @@ + + + + + + +mxGraph: com.mxgraph.mxUtils Class Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxUtils Class Reference
    +
    +
    + +

    Contains various helper methods for use with mxGraph. + More...

    + + + + + + + + +

    +Public Member Functions

    String AddStylename (String style, String stylename)
     Adds the specified stylename to the given style if it does not already contain the stylename. More...
     
    String RemoveStylename (String style, String stylename)
     Removes all occurrences of the specified stylename in the given style and returns the updated style. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Static Public Member Functions

    static mxRectangle GetLabelSize (string label, Dictionary< string, Object > style, int width)
     Returns the size of the given label. More...
     
    static mxRectangle GetLabelPaintBounds (String label, Dictionary< string, Object > style, bool isHtml, mxPoint offset, mxRectangle vertexBounds, double scale)
     Returns the paint bounds for the given label. More...
     
    static mxRectangle GetScaledLabelBounds (double x, double y, mxRectangle size, double outerWidth, double outerHeight, Dictionary< string, Object > style, double scale)
     Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label. (For edge labels this width and height is 0.) The scale is used to scale the given size and the spacings in the specified style. More...
     
    static mxRectangle GetSizeForString (String text, Font font)
     Returns the size of the given text. More...
     
    static mxRectangle GetSizeForString (String text, Font font, int width)
     Returns an mxRectangle with the size (width and height in pixels) of the given text. More...
     
    static double ToRadians (double deg)
     Converts the given degree to radians. More...
     
    static double[] ArcToCurves (double x0, double y0, double r1, double r2, double angle, double largeArcFlag, double sweepFlag, double x, double y)
     Converts the given arc to a series of curves. More...
     
    static mxRectangle GetBoundingBox (mxRectangle rect, double rotation)
     Returns the bounding box of the rotated rectangle. More...
     
    static mxPoint GetRotatedPoint (mxPoint pt, double cos, double sin)
     Rotates the given point by the given cos and sin. More...
     
    static mxPoint GetRotatedPoint (mxPoint pt, double cos, double sin, mxPoint c)
     Rotates the given point by the given cos and sin. More...
     
    static void FillClippedRect (Graphics g, Brush brush, int x, int y, int width, int height)
     
    static Image CreateImage (int width, int height, Color?background)
     Creates an image for the given parameters. More...
     
    static List< mxPointTranslatePoints (List< mxPoint > pts, double dx, double dy)
     Creates a new list of new points obtained by translating the points in the given list by the given vector. Elements that are not mxPoints are added to the result as-is. More...
     
    static mxPoint Intersection (double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)
     Returns the intersection of two lines as an mxPoint. More...
     
    static String GetStylename (String style)
     Returns the stylename in a style of the form stylename[;key=value] or an empty string if the given style does not contain a stylename. More...
     
    static String[] GetStylenames (String style)
     Returns the stylenames in a style of the form stylename[;key=value] or an empty array if the given style does not contain any stylenames. More...
     
    static int IndexOfStylename (String style, String stylename)
     Returns the index of the given stylename in the given style. This returns -1 if the given stylename does not occur (as a stylename) in the given style, otherwise it returns the index of the first character. More...
     
    static String RemoveAllStylenames (String style)
     Removes all stylenames from the given style and returns the updated style. More...
     
    static void SetCellStyles (mxIGraphModel model, Object[] cells, String key, String value)
     Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null. More...
     
    static String SetStyle (String style, String key, String value)
     Adds or removes the given key, value pair to the style and returns the new style. If value is null or zero length then the key is removed from the style. More...
     
    static void SetCellStyleFlags (mxIGraphModel model, Object[] cells, String key, int flag, Boolean value)
     Sets or toggles the flag bit for the given key in the cell's styles. If value is null then the flag is toggled. More...
     
    static String SetStyleFlag (String style, String key, int flag, bool?value)
     Sets or removes the given key from the specified style and returns the new style. If value is null then the flag is toggled. More...
     
    static bool IsTrue (Dictionary< string, Object > dict, string key)
     Returns true if the dictionary contains true for the given key or false if no value is defined for the key. More...
     
    static bool IsTrue (Dictionary< string, Object > dict, string key, bool defaultValue)
     Returns true if the dictionary contains true for the given key or the given default value if no value is defined for the key. More...
     
    static int GetInt (Dictionary< string, Object > dict, string key)
     Returns the value for key in dictionary as an int or 0 if no value is defined for the key. More...
     
    static int GetInt (Dictionary< string, Object > dict, string key, int defaultValue)
     Returns the value for key in dictionary as an int or the given default value if no value is defined for the key. More...
     
    static float GetFloat (Dictionary< string, Object > dict, string key)
     Returns the value for key in dictionary as a float or 0 if no value is defined for the key. More...
     
    static float GetFloat (Dictionary< string, Object > dict, string key, float defaultValue)
     Returns the value for key in dictionary as a float or the given default value if no value is defined for the key. More...
     
    static double GetDouble (Dictionary< string, Object > dict, string key)
     Returns the value for key in dictionary as a double or 0 if no value is defined for the key. More...
     
    static double GetDouble (Dictionary< string, Object > dict, string key, double defaultValue)
     Returns the value for key in dictionary as a double or the given default value if no value is defined for the key. More...
     
    static string GetString (Dictionary< string, Object > dict, string key)
     Returns the value for key in dictionary as a string or null if no value is defined for the key. More...
     
    static string GetString (Dictionary< string, Object > dict, string key, string defaultValue)
     Returns the value for key in dictionary as a string or the given default value if no value is defined for the key. More...
     
    static Color GetColor (Dictionary< string, Object > dict, string key)
     Returns the value for key in dictionary as a color or null if no value is defined for the key. More...
     
    static Color GetColor (Dictionary< string, Object > dict, string key, Color?defaultValue)
     Returns the value for key in dictionary as a color or the given default value if no value is defined for the key. More...
     
    static Font GetFont (Dictionary< string, Object > style)
     
    static Font GetFont (Dictionary< string, Object > style, double scale)
     
    static StringFormat GetStringFormat (Dictionary< string, Object > style)
     Creates a new StringFormat object for the given style. More...
     
    static string ReadFile (string filename)
     Reads the given filename into a string. More...
     
    static string GetMd5Hash (string text)
     Returns the Md5 hash for the given text. More...
     
    static bool IsNode (Object value, String nodeName)
     Returns true if the given value is an XML node with the specified nodename. specified. More...
     
    static bool IsNode (Object value, String nodeName, String attributeName, String attributeValue)
     Returns true if the user object is an XML node with the specified type and and the optional attribute has the specified value or is not specified. More...
     
    static Image LoadImage (String url)
     Loads an image from the local filesystem, a data URI or any other URL. More...
     
    static XmlDocument CreateDocument ()
     Returns a new, empty DOM document. More...
     
    static XmlDocument LoadDocument (string uri)
     Returns a new DOM document for the given URI. More...
     
    static XmlDocument ParseXml (string xml)
     Returns a document that represents the given XML string. More...
     
    static XmlNode FindNode (XmlNode node, String attr, String value)
     Returns the first node where attr equals value. This implementation does not use XPath. More...
     
    static Object Eval (string expression)
     Evaluates a Java expression to a class member using mxCodecRegistry. The range of supported expressions is limited to static class members such as mxEdgeStyle.ElbowConnector. More...
     
    static String HtmlEntities (String text)
     Converts the ampersand, quote, prime, less-than and greater-than characters to their corresponding HTML entities in the given string. More...
     
    static string GetXml (XmlNode node)
     Returns a string that represents the given node. More...
     
    static string GetPrettyXml (XmlNode node)
     Returns a pretty-printed XML string for the given node. More...
     
    static string GetXml (XmlNode node, Formatting formatting)
     Returns a pretty-printed XML string for the given node. More...
     
    +

    Detailed Description

    +

    Contains various helper methods for use with mxGraph.

    +

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    String com.mxgraph.mxUtils.AddStylename (String style,
    String stylename 
    )
    +
    +inline
    +
    + +

    Adds the specified stylename to the given style if it does not already contain the stylename.

    +
    Parameters
    + + + +
    style
    stylename
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static double [] com.mxgraph.mxUtils.ArcToCurves (double x0,
    double y0,
    double r1,
    double r2,
    double angle,
    double largeArcFlag,
    double sweepFlag,
    double x,
    double y 
    )
    +
    +inlinestatic
    +
    + +

    Converts the given arc to a series of curves.

    +
    Parameters
    + + + + + + + + + + +
    x0
    y0
    r1
    r2
    angle
    largeArcFlag
    sweepFlag
    x
    y
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxStencil.DrawElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    static XmlDocument com.mxgraph.mxUtils.CreateDocument ()
    +
    +inlinestatic
    +
    + +

    Returns a new, empty DOM document.

    +
    Returns
    Returns a new DOM document.
    + +

    Referenced by com.mxgraph.mxCodec.mxCodec().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static Image com.mxgraph.mxUtils.CreateImage (int width,
    int height,
    Color? background 
    )
    +
    +inlinestatic
    +
    + +

    Creates an image for the given parameters.

    +
    Parameters
    + + + + +
    width
    height
    background
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxImageCanvas.mxImageCanvas().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static Object com.mxgraph.mxUtils.Eval (string expression)
    +
    +inlinestatic
    +
    + +

    Evaluates a Java expression to a class member using mxCodecRegistry. The range of supported expressions is limited to static class members such as mxEdgeStyle.ElbowConnector.

    +
    Parameters
    + + +
    expression
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxCodecRegistry.GetTypeForName().

    + +

    Referenced by com.mxgraph.mxStylesheetCodec.Decode(), com.mxgraph.mxGraphView.GetEdgeStyle(), and com.mxgraph.mxGraphView.GetPerimeterFunction().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxUtils.FillClippedRect (Graphics g,
    Brush brush,
    int x,
    int y,
    int width,
    int height 
    )
    +
    +inlinestatic
    +
    + +

    +
    Parameters
    + + + + + + + +
    g
    brush
    x
    y
    width
    height
    +
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static XmlNode com.mxgraph.mxUtils.FindNode (XmlNode node,
    String attr,
    String value 
    )
    +
    +inlinestatic
    +
    + +

    Returns the first node where attr equals value. This implementation does not use XPath.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static mxRectangle com.mxgraph.mxUtils.GetBoundingBox (mxRectangle rect,
    double rotation 
    )
    +
    +inlinestatic
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Color com.mxgraph.mxUtils.GetColor (Dictionary< string, Object > dict,
    string key 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as a color or null if no value is defined for the key.

    +
    Parameters
    + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    +
    +
    +
    Returns
    Returns the color value for key in dict.
    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGdiCanvas.DrawText().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static Color com.mxgraph.mxUtils.GetColor (Dictionary< string, Object > dict,
    string key,
    Color? defaultValue 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as a color or the given default value if no value is defined for the key.

    +
    Parameters
    + + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    defaultValueDefault value to return if the key is undefined.
    +
    +
    +
    Returns
    Returns the color value for key in dict.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static double com.mxgraph.mxUtils.GetDouble (Dictionary< string, Object > dict,
    string key 
    )
    +
    +inlinestatic
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static double com.mxgraph.mxUtils.GetDouble (Dictionary< string, Object > dict,
    string key,
    double defaultValue 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as a double or the given default value if no value is defined for the key.

    +
    Parameters
    + + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    defaultValueDefault value to return if the key is undefined.
    +
    +
    +
    Returns
    Returns the double value for key in dict.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static float com.mxgraph.mxUtils.GetFloat (Dictionary< string, Object > dict,
    string key 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as a float or 0 if no value is defined for the key.

    +
    Parameters
    + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    +
    +
    +
    Returns
    Returns the float value for key in dict.
    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawGlassEffect(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxGdiCanvas.DrawText(), com.mxgraph.mxGraphView.GetRoutingCenterX(), and com.mxgraph.mxGraphView.GetRoutingCenterY().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static float com.mxgraph.mxUtils.GetFloat (Dictionary< string, Object > dict,
    string key,
    float defaultValue 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as a float or the given default value if no value is defined for the key.

    +
    Parameters
    + + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    defaultValueDefault value to return if the key is undefined.
    +
    +
    +
    Returns
    Returns the float value for key in dict.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static Font com.mxgraph.mxUtils.GetFont (Dictionary< string, Object > style)
    +
    +inlinestatic
    +
    + +

    +
    Parameters
    + + +
    style
    +
    +
    +
    Returns
    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawText().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static Font com.mxgraph.mxUtils.GetFont (Dictionary< string, Object > style,
    double scale 
    )
    +
    +inlinestatic
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static int com.mxgraph.mxUtils.GetInt (Dictionary< string, Object > dict,
    string key 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as an int or 0 if no value is defined for the key.

    +
    Parameters
    + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    +
    +
    +
    Returns
    Returns the integer value for key in dict.
    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawShape(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static int com.mxgraph.mxUtils.GetInt (Dictionary< string, Object > dict,
    string key,
    int defaultValue 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as an int or the given default value if no value is defined for the key.

    +
    Parameters
    + + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    defaultValueDefault value to return if the key is undefined.
    +
    +
    +
    Returns
    Returns the integer value for key in dict.
    + +
    +
    + + + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static mxRectangle com.mxgraph.mxUtils.GetLabelSize (string label,
    Dictionary< string, Object > style,
    int width 
    )
    +
    +inlinestatic
    +
    + +

    Returns the size of the given label.

    + +

    Referenced by com.mxgraph.mxUtils.GetLabelPaintBounds().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static string com.mxgraph.mxUtils.GetMd5Hash (string text)
    +
    +inlinestatic
    +
    + +

    Returns the Md5 hash for the given text.

    +
    Parameters
    + + +
    textString whose Md5 hash should be returned.
    +
    +
    +
    Returns
    Returns the Md5 hash for the given text.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static string com.mxgraph.mxUtils.GetPrettyXml (XmlNode node)
    +
    +inlinestatic
    +
    + +

    Returns a pretty-printed XML string for the given node.

    +
    Parameters
    + + +
    nodeNode to return the XML for.
    +
    +
    +
    Returns
    Returns a formatted XML string.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static mxPoint com.mxgraph.mxUtils.GetRotatedPoint (mxPoint pt,
    double cos,
    double sin 
    )
    +
    +inlinestatic
    +
    + +

    Rotates the given point by the given cos and sin.

    + +

    Referenced by com.mxgraph.mxStencil.DrawShadow().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static mxPoint com.mxgraph.mxUtils.GetRotatedPoint (mxPoint pt,
    double cos,
    double sin,
    mxPoint c 
    )
    +
    +inlinestatic
    +
    + +

    Rotates the given point by the given cos and sin.

    + +

    References com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static mxRectangle com.mxgraph.mxUtils.GetScaledLabelBounds (double x,
    double y,
    mxRectangle size,
    double outerWidth,
    double outerHeight,
    Dictionary< string, Object > style,
    double scale 
    )
    +
    +inlinestatic
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static mxRectangle com.mxgraph.mxUtils.GetSizeForString (String text,
    Font font 
    )
    +
    +inlinestatic
    +
    + +

    Returns the size of the given text.

    +
    Parameters
    + + + +
    textString whose size should be returned.
    fontSpecifies the font that should be used.
    +
    +
    +
    Returns
    Returns the size of the given text.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static mxRectangle com.mxgraph.mxUtils.GetSizeForString (String text,
    Font font,
    int width 
    )
    +
    +inlinestatic
    +
    + +

    Returns an mxRectangle with the size (width and height in pixels) of the given text.

    +
    Parameters
    + + + + +
    textString whose size should be returned.
    fontSpecifies the font that should be used.
    widthSpecifies the width of the text block for word wrapping.
    +
    +
    +
    Returns
    Returns the size of the given text.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static string com.mxgraph.mxUtils.GetString (Dictionary< string, Object > dict,
    string key 
    )
    +
    +inlinestatic
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static string com.mxgraph.mxUtils.GetString (Dictionary< string, Object > dict,
    string key,
    string defaultValue 
    )
    +
    +inlinestatic
    +
    + +

    Returns the value for key in dictionary as a string or the given default value if no value is defined for the key.

    +
    Parameters
    + + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    defaultValueDefault value to return if the key is undefined.
    +
    +
    +
    Returns
    Returns the string value for key in dict.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static StringFormat com.mxgraph.mxUtils.GetStringFormat (Dictionary< string, Object > style)
    +
    +inlinestatic
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static String com.mxgraph.mxUtils.GetStylename (String style)
    +
    +inlinestatic
    +
    + +

    Returns the stylename in a style of the form stylename[;key=value] or an empty string if the given style does not contain a stylename.

    +
    Parameters
    + + +
    styleString of the form stylename[;key=value].
    +
    +
    +
    Returns
    Returns the stylename from the given formatted string.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static String [] com.mxgraph.mxUtils.GetStylenames (String style)
    +
    +inlinestatic
    +
    + +

    Returns the stylenames in a style of the form stylename[;key=value] or an empty array if the given style does not contain any stylenames.

    +
    Parameters
    + + +
    styleString of the form stylename[;stylename][;key=value].
    +
    +
    +
    Returns
    Returns the stylename from the given formatted string.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static string com.mxgraph.mxUtils.GetXml (XmlNode node)
    +
    +inlinestatic
    +
    + +

    Returns a string that represents the given node.

    +
    Parameters
    + + +
    nodeNode to return the XML for.
    +
    +
    +
    Returns
    Returns an XML string.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static string com.mxgraph.mxUtils.GetXml (XmlNode node,
    Formatting formatting 
    )
    +
    +inlinestatic
    +
    + +

    Returns a pretty-printed XML string for the given node.

    +
    Parameters
    + + + +
    nodeNode to return the XML for.
    formattingFormatting of the string to be returned.
    +
    +
    +
    Returns
    Returns a formatted XML string.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static String com.mxgraph.mxUtils.HtmlEntities (String text)
    +
    +inlinestatic
    +
    + +

    Converts the ampersand, quote, prime, less-than and greater-than characters to their corresponding HTML entities in the given string.

    +
    Parameters
    + + +
    text
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static int com.mxgraph.mxUtils.IndexOfStylename (String style,
    String stylename 
    )
    +
    +inlinestatic
    +
    + +

    Returns the index of the given stylename in the given style. This returns -1 if the given stylename does not occur (as a stylename) in the given style, otherwise it returns the index of the first character.

    +
    Parameters
    + + + +
    style
    stylename
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static mxPoint com.mxgraph.mxUtils.Intersection (double x0,
    double y0,
    double x1,
    double y1,
    double x2,
    double y2,
    double x3,
    double y3 
    )
    +
    +inlinestatic
    +
    + +

    Returns the intersection of two lines as an mxPoint.

    +
    Parameters
    + + + + + + + + + +
    x0X-coordinate of the first line's startpoint.
    y0Y-coordinate of the first line's startpoint.
    x1X-coordinate of the first line's endpoint.
    y1Y-coordinate of the first line's endpoint.
    x2X-coordinate of the second line's startpoint.
    y2Y-coordinate of the second line's startpoint.
    x3X-coordinate of the second line's endpoint.
    y3Y-coordinate of the second line's endpoint.
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool com.mxgraph.mxUtils.IsNode (Object value,
    String nodeName 
    )
    +
    +inlinestatic
    +
    + +

    Returns true if the given value is an XML node with the specified nodename. specified.

    +
    Parameters
    + + + +
    valueObject that represents the value to be tested.
    nodeNameString that specifies the node name.
    +
    +
    +
    Returns
    Returns true if the node name of the user object is equal to the given type.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static bool com.mxgraph.mxUtils.IsNode (Object value,
    String nodeName,
    String attributeName,
    String attributeValue 
    )
    +
    +inlinestatic
    +
    + +

    Returns true if the user object is an XML node with the specified type and and the optional attribute has the specified value or is not specified.

    +
    Parameters
    + + + + + +
    valueObject that represents the value to be tested.
    nodeNameString that specifies the node name.
    attributeNameOptional attribute name to check.
    attributeValueOptional attribute value to check.
    +
    +
    +
    Returns
    Returns true if the cell matches the given conditions.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    static bool com.mxgraph.mxUtils.IsTrue (Dictionary< string, Object > dict,
    string key 
    )
    +
    +inlinestatic
    +
    + +

    Returns true if the dictionary contains true for the given key or false if no value is defined for the key.

    +
    Parameters
    + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    +
    +
    +
    Returns
    Returns the boolean value for key in dict.
    + +

    Referenced by com.mxgraph.mxGdiCanvas.DrawCell(), com.mxgraph.mxGdiCanvas.DrawLine(), com.mxgraph.mxGdiCanvas.DrawShape(), com.mxgraph.mxGdiCanvas.DrawText(), com.mxgraph.mxGraph.GetConnectionConstraint(), com.mxgraph.mxGraphView.GetEdgeStyle(), com.mxgraph.mxGraph.GetLabel(), com.mxgraph.mxUtils.GetLabelPaintBounds(), com.mxgraph.mxGraph.HitsSwimlaneContent(), com.mxgraph.mxGraph.IsOrthogonal(), com.mxgraph.mxStencil.PaintShape(), com.mxgraph.mxGraphViewReader.ParseState(), and com.mxgraph.mxGraphView.UpdateBoundingBox().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static bool com.mxgraph.mxUtils.IsTrue (Dictionary< string, Object > dict,
    string key,
    bool defaultValue 
    )
    +
    +inlinestatic
    +
    + +

    Returns true if the dictionary contains true for the given key or the given default value if no value is defined for the key.

    +
    Parameters
    + + + + +
    dictDictionary that contains the key, value pairs.
    keyKey whose value should be returned.
    defaultValueDefault value to return if the key is undefined.
    +
    +
    +
    Returns
    Returns the boolean value for key in dict.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static XmlDocument com.mxgraph.mxUtils.LoadDocument (string uri)
    +
    +inlinestatic
    +
    + +

    Returns a new DOM document for the given URI.

    +
    Parameters
    + + +
    uriURI to parse into the document.
    +
    +
    +
    Returns
    Returns a new DOM document for the given URI.
    + +

    Referenced by com.mxgraph.mxObjectCodec.ProcessInclude().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static Image com.mxgraph.mxUtils.LoadImage (String url)
    +
    +inlinestatic
    +
    + +

    Loads an image from the local filesystem, a data URI or any other URL.

    + +

    Referenced by com.mxgraph.mxGdiCanvas.LoadImage(), and com.mxgraph.mxGdiCanvas2D.LoadImage().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static XmlDocument com.mxgraph.mxUtils.ParseXml (string xml)
    +
    +inlinestatic
    +
    + +

    Returns a document that represents the given XML string.

    +
    Parameters
    + + +
    xmlString that contains the XML markup.
    +
    +
    +
    Returns
    Returns an XML document.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static string com.mxgraph.mxUtils.ReadFile (string filename)
    +
    +inlinestatic
    +
    + +

    Reads the given filename into a string.

    +
    Parameters
    + + +
    filenameName of the file to be read.
    +
    +
    +
    Returns
    Returns a string representing the file contents.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static String com.mxgraph.mxUtils.RemoveAllStylenames (String style)
    +
    +inlinestatic
    +
    + +

    Removes all stylenames from the given style and returns the updated style.

    +
    Parameters
    + + +
    style
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    String com.mxgraph.mxUtils.RemoveStylename (String style,
    String stylename 
    )
    +
    +inline
    +
    + +

    Removes all occurrences of the specified stylename in the given style and returns the updated style.

    +
    Parameters
    + + + +
    style
    stylename
    +
    +
    +
    Returns
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxUtils.SetCellStyleFlags (mxIGraphModel model,
    Object[] cells,
    String key,
    int flag,
    Boolean value 
    )
    +
    +inlinestatic
    +
    + +

    Sets or toggles the flag bit for the given key in the cell's styles. If value is null then the flag is toggled.

    +
    Parameters
    + + + + + + +
    modelModel that contains the cells.
    cellsArray of cells to change the style for.
    keyKey of the style to be changed.
    flagInteger for the bit to be changed.
    valueOptional boolean value for the flag.
    +
    +
    + +

    References com.mxgraph.mxIGraphModel.BeginUpdate(), com.mxgraph.mxIGraphModel.EndUpdate(), com.mxgraph.mxIGraphModel.GetStyle(), and com.mxgraph.mxIGraphModel.SetStyle().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static void com.mxgraph.mxUtils.SetCellStyles (mxIGraphModel model,
    Object[] cells,
    String key,
    String value 
    )
    +
    +inlinestatic
    +
    + +

    Assigns the value for the given key in the styles of the given cells, or removes the key from the styles if the value is null.

    +
    Parameters
    + + + + + +
    modelModel to execute the transaction in.
    cellsArray of cells to be updated.
    keyKey of the style to be changed.
    valueNew value for the given key.
    +
    +
    + +

    References com.mxgraph.mxIGraphModel.BeginUpdate(), com.mxgraph.mxIGraphModel.EndUpdate(), com.mxgraph.mxIGraphModel.GetStyle(), and com.mxgraph.mxIGraphModel.SetStyle().

    + +

    Referenced by com.mxgraph.mxGraph.SetCellStyles().

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static String com.mxgraph.mxUtils.SetStyle (String style,
    String key,
    String value 
    )
    +
    +inlinestatic
    +
    + +

    Adds or removes the given key, value pair to the style and returns the new style. If value is null or zero length then the key is removed from the style.

    +
    Parameters
    + + + + +
    styleString of the form stylename[;key=value].
    keyKey of the style to be changed.
    valueNew value for the given key.
    +
    +
    +
    Returns
    Returns the new style.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    static String com.mxgraph.mxUtils.SetStyleFlag (String style,
    String key,
    int flag,
    bool? value 
    )
    +
    +inlinestatic
    +
    + +

    Sets or removes the given key from the specified style and returns the new style. If value is null then the flag is toggled.

    +
    Parameters
    + + + + + +
    styleString of the form stylename[;key=value].
    keyKey of the style to be changed.
    flagInteger for the bit to be changed.
    valueOptional boolean value for the given flag.
    +
    +
    +
    Returns
    Returns the new style.
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    static double com.mxgraph.mxUtils.ToRadians (double deg)
    +
    +inlinestatic
    +
    + +

    Converts the given degree to radians.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    static List<mxPoint> com.mxgraph.mxUtils.TranslatePoints (List< mxPointpts,
    double dx,
    double dy 
    )
    +
    +inlinestatic
    +
    + +

    Creates a new list of new points obtained by translating the points in the given list by the given vector. Elements that are not mxPoints are added to the result as-is.

    +
    Parameters
    + + + + +
    pts
    dx
    dy
    +
    +
    +
    Returns
    + +

    References com.mxgraph.mxPoint.Clone(), com.mxgraph.mxPoint.X, and com.mxgraph.mxPoint.Y.

    + +
    +
    +
    The documentation for this class was generated from the following file:
      +
    • src/utils/mxUtils.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/classes.html b/dotnet/docs/html/classes.html new file mode 100644 index 000000000..455768b79 --- /dev/null +++ b/dotnet/docs/html/classes.html @@ -0,0 +1,75 @@ + + + + + + +mxGraph: Class Index + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    Class Index
    +
    + + + + + diff --git a/dotnet/docs/html/closed.png b/dotnet/docs/html/closed.png new file mode 100644 index 000000000..98cc2c909 Binary files /dev/null and b/dotnet/docs/html/closed.png differ diff --git a/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html b/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html new file mode 100644 index 000000000..2436278d7 --- /dev/null +++ b/dotnet/docs/html/dir_313caf1132e152dd9b58bea13a4052ca.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src/utils Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    utils Directory Reference
    +
    +
    + + +

    +Files

    +
    + + + + diff --git a/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html b/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html new file mode 100644 index 000000000..6be144dc9 --- /dev/null +++ b/dotnet/docs/html/dir_5dd65160827af56e6353642206b80129.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src/model Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    model Directory Reference
    +
    +
    + + +

    +Files

    +
    + + + + diff --git a/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 000000000..5bb851ac6 --- /dev/null +++ b/dotnet/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    src Directory Reference
    +
    +
    + + +

    +Directories

    +
    + + + + diff --git a/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html b/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html new file mode 100644 index 000000000..8151ea2e3 --- /dev/null +++ b/dotnet/docs/html/dir_af89b2be539cdaaafaad341d1e56977e.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src/reader Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    reader Directory Reference
    +
    +
    + + +

    +Files

    +
    + + + + diff --git a/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html b/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html new file mode 100644 index 000000000..a6eec71dd --- /dev/null +++ b/dotnet/docs/html/dir_b39b5091e8d1d2be4b7fc59d57749634.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src/view Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    view Directory Reference
    +
    +
    + + +

    +Files

    +
    + + + + diff --git a/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html b/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html new file mode 100644 index 000000000..361734dd3 --- /dev/null +++ b/dotnet/docs/html/dir_c184e51c84f2c3f0345bbc8a0d75d3e1.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src/io Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    io Directory Reference
    +
    +
    + + +

    +Files

    +
    + + + + diff --git a/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html b/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html new file mode 100644 index 000000000..4b3b02a18 --- /dev/null +++ b/dotnet/docs/html/dir_eb63608ab2ddc08e14808990907a274d.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src/canvas Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    canvas Directory Reference
    +
    +
    + + +

    +Files

    +
    + + + + diff --git a/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html b/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html new file mode 100644 index 000000000..8c01d9684 --- /dev/null +++ b/dotnet/docs/html/dir_f2b3bec0b800804983017014eef9ca7d.html @@ -0,0 +1,58 @@ + + + + + + +mxGraph: src/layout Directory Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    layout Directory Reference
    +
    +
    + + +

    +Files

    +
    + + + + diff --git a/dotnet/docs/html/doc.png b/dotnet/docs/html/doc.png new file mode 100644 index 000000000..17edabff9 Binary files /dev/null and b/dotnet/docs/html/doc.png differ diff --git a/dotnet/docs/html/doxygen.css b/dotnet/docs/html/doxygen.css new file mode 100644 index 000000000..1425ec530 --- /dev/null +++ b/dotnet/docs/html/doxygen.css @@ -0,0 +1,1475 @@ +/* The standard CSS for doxygen 1.8.11 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 4px 6px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/dotnet/docs/html/doxygen.png b/dotnet/docs/html/doxygen.png new file mode 100644 index 000000000..3ff17d807 Binary files /dev/null and b/dotnet/docs/html/doxygen.png differ diff --git a/dotnet/docs/html/folderclosed.png b/dotnet/docs/html/folderclosed.png new file mode 100644 index 000000000..bb8ab35ed Binary files /dev/null and b/dotnet/docs/html/folderclosed.png differ diff --git a/dotnet/docs/html/folderopen.png b/dotnet/docs/html/folderopen.png new file mode 100644 index 000000000..d6c7f676a Binary files /dev/null and b/dotnet/docs/html/folderopen.png differ diff --git a/dotnet/docs/html/functions.html b/dotnet/docs/html/functions.html new file mode 100644 index 000000000..db98b138b --- /dev/null +++ b/dotnet/docs/html/functions.html @@ -0,0 +1,214 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - a -

    +
    + + + + diff --git a/dotnet/docs/html/functions_b.html b/dotnet/docs/html/functions_b.html new file mode 100644 index 000000000..426886545 --- /dev/null +++ b/dotnet/docs/html/functions_b.html @@ -0,0 +1,131 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - b -

    +
    + + + + diff --git a/dotnet/docs/html/functions_c.html b/dotnet/docs/html/functions_c.html new file mode 100644 index 000000000..7a342a538 --- /dev/null +++ b/dotnet/docs/html/functions_c.html @@ -0,0 +1,278 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - c -

    +
    + + + + diff --git a/dotnet/docs/html/functions_d.html b/dotnet/docs/html/functions_d.html new file mode 100644 index 000000000..cf0113e63 --- /dev/null +++ b/dotnet/docs/html/functions_d.html @@ -0,0 +1,278 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - d -

    +
    + + + + diff --git a/dotnet/docs/html/functions_e.html b/dotnet/docs/html/functions_e.html new file mode 100644 index 000000000..66a42faa3 --- /dev/null +++ b/dotnet/docs/html/functions_e.html @@ -0,0 +1,200 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - e -

    +
    + + + + diff --git a/dotnet/docs/html/functions_evnt.html b/dotnet/docs/html/functions_evnt.html new file mode 100644 index 000000000..5b1c88828 --- /dev/null +++ b/dotnet/docs/html/functions_evnt.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Class Members - Events + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    + + + + diff --git a/dotnet/docs/html/functions_f.html b/dotnet/docs/html/functions_f.html new file mode 100644 index 000000000..4277ab09e --- /dev/null +++ b/dotnet/docs/html/functions_f.html @@ -0,0 +1,166 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - f -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func.html b/dotnet/docs/html/functions_func.html new file mode 100644 index 000000000..7530f6148 --- /dev/null +++ b/dotnet/docs/html/functions_func.html @@ -0,0 +1,128 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - a -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_b.html b/dotnet/docs/html/functions_func_b.html new file mode 100644 index 000000000..b62ce67e2 --- /dev/null +++ b/dotnet/docs/html/functions_func_b.html @@ -0,0 +1,105 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    + + + + + diff --git a/dotnet/docs/html/functions_func_c.html b/dotnet/docs/html/functions_func_c.html new file mode 100644 index 000000000..4c83f867d --- /dev/null +++ b/dotnet/docs/html/functions_func_c.html @@ -0,0 +1,211 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - c -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_d.html b/dotnet/docs/html/functions_func_d.html new file mode 100644 index 000000000..83091e5bd --- /dev/null +++ b/dotnet/docs/html/functions_func_d.html @@ -0,0 +1,194 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - d -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_e.html b/dotnet/docs/html/functions_func_e.html new file mode 100644 index 000000000..31a8d5b59 --- /dev/null +++ b/dotnet/docs/html/functions_func_e.html @@ -0,0 +1,139 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    + + + + + diff --git a/dotnet/docs/html/functions_func_f.html b/dotnet/docs/html/functions_func_f.html new file mode 100644 index 000000000..ba5e08ecc --- /dev/null +++ b/dotnet/docs/html/functions_func_f.html @@ -0,0 +1,106 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - f -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_g.html b/dotnet/docs/html/functions_func_g.html new file mode 100644 index 000000000..cedcd7f5c --- /dev/null +++ b/dotnet/docs/html/functions_func_g.html @@ -0,0 +1,420 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - g -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_h.html b/dotnet/docs/html/functions_func_h.html new file mode 100644 index 000000000..d81b43a7b --- /dev/null +++ b/dotnet/docs/html/functions_func_h.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - h -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_i.html b/dotnet/docs/html/functions_func_i.html new file mode 100644 index 000000000..6027b5c1a --- /dev/null +++ b/dotnet/docs/html/functions_func_i.html @@ -0,0 +1,190 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - i -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_l.html b/dotnet/docs/html/functions_func_l.html new file mode 100644 index 000000000..9db9c5573 --- /dev/null +++ b/dotnet/docs/html/functions_func_l.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - l -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_m.html b/dotnet/docs/html/functions_func_m.html new file mode 100644 index 000000000..f3ee8efce --- /dev/null +++ b/dotnet/docs/html/functions_func_m.html @@ -0,0 +1,172 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - m -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_p.html b/dotnet/docs/html/functions_func_p.html new file mode 100644 index 000000000..8ce9a70a8 --- /dev/null +++ b/dotnet/docs/html/functions_func_p.html @@ -0,0 +1,135 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - p -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_q.html b/dotnet/docs/html/functions_func_q.html new file mode 100644 index 000000000..6eef4318c --- /dev/null +++ b/dotnet/docs/html/functions_func_q.html @@ -0,0 +1,93 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - q -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_r.html b/dotnet/docs/html/functions_func_r.html new file mode 100644 index 000000000..022499912 --- /dev/null +++ b/dotnet/docs/html/functions_func_r.html @@ -0,0 +1,160 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - r -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_s.html b/dotnet/docs/html/functions_func_s.html new file mode 100644 index 000000000..7e897879b --- /dev/null +++ b/dotnet/docs/html/functions_func_s.html @@ -0,0 +1,168 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    + + + + + diff --git a/dotnet/docs/html/functions_func_t.html b/dotnet/docs/html/functions_func_t.html new file mode 100644 index 000000000..868757442 --- /dev/null +++ b/dotnet/docs/html/functions_func_t.html @@ -0,0 +1,107 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - t -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_u.html b/dotnet/docs/html/functions_func_u.html new file mode 100644 index 000000000..603ce1646 --- /dev/null +++ b/dotnet/docs/html/functions_func_u.html @@ -0,0 +1,137 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - u -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_v.html b/dotnet/docs/html/functions_func_v.html new file mode 100644 index 000000000..14947c2ac --- /dev/null +++ b/dotnet/docs/html/functions_func_v.html @@ -0,0 +1,98 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - v -

    +
    + + + + diff --git a/dotnet/docs/html/functions_func_w.html b/dotnet/docs/html/functions_func_w.html new file mode 100644 index 000000000..8f9f1dadf --- /dev/null +++ b/dotnet/docs/html/functions_func_w.html @@ -0,0 +1,98 @@ + + + + + + +mxGraph: Class Members - Functions + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - w -

    +
    + + + + diff --git a/dotnet/docs/html/functions_g.html b/dotnet/docs/html/functions_g.html new file mode 100644 index 000000000..6a943a9ce --- /dev/null +++ b/dotnet/docs/html/functions_g.html @@ -0,0 +1,476 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - g -

    +
    + + + + diff --git a/dotnet/docs/html/functions_h.html b/dotnet/docs/html/functions_h.html new file mode 100644 index 000000000..ad2a63d50 --- /dev/null +++ b/dotnet/docs/html/functions_h.html @@ -0,0 +1,114 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - h -

    +
    + + + + diff --git a/dotnet/docs/html/functions_i.html b/dotnet/docs/html/functions_i.html new file mode 100644 index 000000000..c5a0523c2 --- /dev/null +++ b/dotnet/docs/html/functions_i.html @@ -0,0 +1,266 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - i -

    +
    + + + + diff --git a/dotnet/docs/html/functions_l.html b/dotnet/docs/html/functions_l.html new file mode 100644 index 000000000..7c4f280f3 --- /dev/null +++ b/dotnet/docs/html/functions_l.html @@ -0,0 +1,167 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - l -

    +
    + + + + diff --git a/dotnet/docs/html/functions_m.html b/dotnet/docs/html/functions_m.html new file mode 100644 index 000000000..ccc1a02eb --- /dev/null +++ b/dotnet/docs/html/functions_m.html @@ -0,0 +1,213 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - m -

    +
    + + + + diff --git a/dotnet/docs/html/functions_n.html b/dotnet/docs/html/functions_n.html new file mode 100644 index 000000000..4f949f9c0 --- /dev/null +++ b/dotnet/docs/html/functions_n.html @@ -0,0 +1,114 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - n -

    +
    + + + + diff --git a/dotnet/docs/html/functions_o.html b/dotnet/docs/html/functions_o.html new file mode 100644 index 000000000..1fa7d34ba --- /dev/null +++ b/dotnet/docs/html/functions_o.html @@ -0,0 +1,111 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - o -

    +
    + + + + diff --git a/dotnet/docs/html/functions_p.html b/dotnet/docs/html/functions_p.html new file mode 100644 index 000000000..c0a502b36 --- /dev/null +++ b/dotnet/docs/html/functions_p.html @@ -0,0 +1,184 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - p -

    +
    + + + + diff --git a/dotnet/docs/html/functions_prop.html b/dotnet/docs/html/functions_prop.html new file mode 100644 index 000000000..d1dae491a --- /dev/null +++ b/dotnet/docs/html/functions_prop.html @@ -0,0 +1,483 @@ + + + + + + +mxGraph: Class Members - Properties + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - a -

    + + +

    - b -

    + + +

    - c -

    + + +

    - d -

    + + +

    - e -

    + + +

    - f -

    + + +

    - g -

    + + +

    - h -

    + + +

    - i -

    + + +

    - l -

    + + +

    - m -

    + + +

    - o -

    + + +

    - p -

    + + +

    - r -

    + + +

    - s -

    + + +

    - t -

    + + +

    - v -

    + + +

    - w -

    + + +

    - x -

    + + +

    - y -

    +
    + + + + diff --git a/dotnet/docs/html/functions_q.html b/dotnet/docs/html/functions_q.html new file mode 100644 index 000000000..1d28e37aa --- /dev/null +++ b/dotnet/docs/html/functions_q.html @@ -0,0 +1,97 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - q -

    +
    + + + + diff --git a/dotnet/docs/html/functions_r.html b/dotnet/docs/html/functions_r.html new file mode 100644 index 000000000..4581ccdd6 --- /dev/null +++ b/dotnet/docs/html/functions_r.html @@ -0,0 +1,197 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - r -

    +
    + + + + diff --git a/dotnet/docs/html/functions_s.html b/dotnet/docs/html/functions_s.html new file mode 100644 index 000000000..1d39771f8 --- /dev/null +++ b/dotnet/docs/html/functions_s.html @@ -0,0 +1,566 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - s -

    +
    + + + + diff --git a/dotnet/docs/html/functions_t.html b/dotnet/docs/html/functions_t.html new file mode 100644 index 000000000..b3002f2f9 --- /dev/null +++ b/dotnet/docs/html/functions_t.html @@ -0,0 +1,162 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - t -

    +
    + + + + diff --git a/dotnet/docs/html/functions_u.html b/dotnet/docs/html/functions_u.html new file mode 100644 index 000000000..d2c6dde49 --- /dev/null +++ b/dotnet/docs/html/functions_u.html @@ -0,0 +1,144 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - u -

    +
    + + + + diff --git a/dotnet/docs/html/functions_v.html b/dotnet/docs/html/functions_v.html new file mode 100644 index 000000000..27e7bf872 --- /dev/null +++ b/dotnet/docs/html/functions_v.html @@ -0,0 +1,139 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - v -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars.html b/dotnet/docs/html/functions_vars.html new file mode 100644 index 000000000..3eec00898 --- /dev/null +++ b/dotnet/docs/html/functions_vars.html @@ -0,0 +1,156 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - a -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_b.html b/dotnet/docs/html/functions_vars_b.html new file mode 100644 index 000000000..bfdfe343b --- /dev/null +++ b/dotnet/docs/html/functions_vars_b.html @@ -0,0 +1,105 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    + + + + + diff --git a/dotnet/docs/html/functions_vars_c.html b/dotnet/docs/html/functions_vars_c.html new file mode 100644 index 000000000..2339bde54 --- /dev/null +++ b/dotnet/docs/html/functions_vars_c.html @@ -0,0 +1,130 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    + + + + + diff --git a/dotnet/docs/html/functions_vars_d.html b/dotnet/docs/html/functions_vars_d.html new file mode 100644 index 000000000..1546c5559 --- /dev/null +++ b/dotnet/docs/html/functions_vars_d.html @@ -0,0 +1,146 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - d -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_e.html b/dotnet/docs/html/functions_vars_e.html new file mode 100644 index 000000000..5a9cdc869 --- /dev/null +++ b/dotnet/docs/html/functions_vars_e.html @@ -0,0 +1,146 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - e -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_f.html b/dotnet/docs/html/functions_vars_f.html new file mode 100644 index 000000000..9ea0bdb75 --- /dev/null +++ b/dotnet/docs/html/functions_vars_f.html @@ -0,0 +1,113 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - f -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_g.html b/dotnet/docs/html/functions_vars_g.html new file mode 100644 index 000000000..7f18ed01b --- /dev/null +++ b/dotnet/docs/html/functions_vars_g.html @@ -0,0 +1,117 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - g -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_h.html b/dotnet/docs/html/functions_vars_h.html new file mode 100644 index 000000000..d3b83d30f --- /dev/null +++ b/dotnet/docs/html/functions_vars_h.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - h -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_i.html b/dotnet/docs/html/functions_vars_i.html new file mode 100644 index 000000000..a4b68e83c --- /dev/null +++ b/dotnet/docs/html/functions_vars_i.html @@ -0,0 +1,128 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - i -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_l.html b/dotnet/docs/html/functions_vars_l.html new file mode 100644 index 000000000..94d42b615 --- /dev/null +++ b/dotnet/docs/html/functions_vars_l.html @@ -0,0 +1,134 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - l -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_m.html b/dotnet/docs/html/functions_vars_m.html new file mode 100644 index 000000000..dd694a685 --- /dev/null +++ b/dotnet/docs/html/functions_vars_m.html @@ -0,0 +1,116 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - m -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_n.html b/dotnet/docs/html/functions_vars_n.html new file mode 100644 index 000000000..a9b3a2520 --- /dev/null +++ b/dotnet/docs/html/functions_vars_n.html @@ -0,0 +1,113 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - n -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_o.html b/dotnet/docs/html/functions_vars_o.html new file mode 100644 index 000000000..221adeebb --- /dev/null +++ b/dotnet/docs/html/functions_vars_o.html @@ -0,0 +1,101 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - o -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_p.html b/dotnet/docs/html/functions_vars_p.html new file mode 100644 index 000000000..a7d5d3297 --- /dev/null +++ b/dotnet/docs/html/functions_vars_p.html @@ -0,0 +1,125 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - p -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_r.html b/dotnet/docs/html/functions_vars_r.html new file mode 100644 index 000000000..af160b47a --- /dev/null +++ b/dotnet/docs/html/functions_vars_r.html @@ -0,0 +1,119 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - r -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_s.html b/dotnet/docs/html/functions_vars_s.html new file mode 100644 index 000000000..e76a1b7bd --- /dev/null +++ b/dotnet/docs/html/functions_vars_s.html @@ -0,0 +1,428 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - s -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_t.html b/dotnet/docs/html/functions_vars_t.html new file mode 100644 index 000000000..8c4d25da6 --- /dev/null +++ b/dotnet/docs/html/functions_vars_t.html @@ -0,0 +1,123 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - t -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_u.html b/dotnet/docs/html/functions_vars_u.html new file mode 100644 index 000000000..1d338e1b9 --- /dev/null +++ b/dotnet/docs/html/functions_vars_u.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - u -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_v.html b/dotnet/docs/html/functions_vars_v.html new file mode 100644 index 000000000..10306b788 --- /dev/null +++ b/dotnet/docs/html/functions_vars_v.html @@ -0,0 +1,114 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - v -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_w.html b/dotnet/docs/html/functions_vars_w.html new file mode 100644 index 000000000..9d81933de --- /dev/null +++ b/dotnet/docs/html/functions_vars_w.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - w -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_x.html b/dotnet/docs/html/functions_vars_x.html new file mode 100644 index 000000000..db041142f --- /dev/null +++ b/dotnet/docs/html/functions_vars_x.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - x -

    +
    + + + + diff --git a/dotnet/docs/html/functions_vars_y.html b/dotnet/docs/html/functions_vars_y.html new file mode 100644 index 000000000..c398094fc --- /dev/null +++ b/dotnet/docs/html/functions_vars_y.html @@ -0,0 +1,95 @@ + + + + + + +mxGraph: Class Members - Variables + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +  + +

    - y -

    +
    + + + + diff --git a/dotnet/docs/html/functions_w.html b/dotnet/docs/html/functions_w.html new file mode 100644 index 000000000..4c79cce6f --- /dev/null +++ b/dotnet/docs/html/functions_w.html @@ -0,0 +1,117 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - w -

    +
    + + + + diff --git a/dotnet/docs/html/functions_x.html b/dotnet/docs/html/functions_x.html new file mode 100644 index 000000000..028a3da66 --- /dev/null +++ b/dotnet/docs/html/functions_x.html @@ -0,0 +1,99 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - x -

    +
    + + + + diff --git a/dotnet/docs/html/functions_y.html b/dotnet/docs/html/functions_y.html new file mode 100644 index 000000000..a60d2003d --- /dev/null +++ b/dotnet/docs/html/functions_y.html @@ -0,0 +1,99 @@ + + + + + + +mxGraph: Class Members + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + + +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    + +

    - y -

    +
    + + + + diff --git a/dotnet/docs/html/hierarchy.html b/dotnet/docs/html/hierarchy.html new file mode 100644 index 000000000..5c24a82d5 --- /dev/null +++ b/dotnet/docs/html/hierarchy.html @@ -0,0 +1,104 @@ + + + + + + +mxGraph: Class Hierarchy + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + +
    +
    +
    +
    Class Hierarchy
    +
    +
    +
    This inheritance list is sorted roughly, but not completely, alphabetically:
    +
    [detail level 123]
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     Ccom.mxgraph.mxCellRenderer.CanvasFactoryDefines the requirements for a class that can create canvases.
     Ccom.mxgraph.mxCellRenderer.ImageCanvasFactoryFIXME: Use anonymous class in CreateImage with invocation parameters in factory method code.
     CICloneable
     Ccom.mxgraph.mxGdiCanvas2D.CanvasState
     Ccom.mxgraph.mxCellPathImplements a mechanism for temporary cell Ids.
     Ccom.mxgraph.mxCellRendererClass that can draw an independent array of cells.
     Ccom.mxgraph.mxCodecXML codec for .NET object graphs. In order to resolve forward references when reading files the XML document that contains the data must be passed to the constructor. Here is an example for parsing an existing XML document into a graph model:
     Ccom.mxgraph.mxCodecRegistryStatic class that acts as a global registry for codecs. See mxCodec for an example of using this class.
     Ccom.mxgraph.mxConnectionConstraintDefines an object that contains the constraints about how to connect one side of an edge to its terminal.
     Ccom.mxgraph.mxConstantsDefines various global constants.
     Ccom.mxgraph.mxEdgeStyleProvides various edge styles to be used as the values for mxConstants.STYLE_EDGE in a cell style.
     Ccom.mxgraph.mxGraphImplements a graph object that allows to create diagrams from a graph model and stylesheet.
     Ccom.mxgraph.mxGraphViewImplements a view for the graph. This class is in charge of computing the absolute coordinates for the relative child geometries, the points for perimeters and edge styles and keeping them cached in mxCellStates for faster retrieval. The states are updated whenever the model or the view state (translate, scale) changes. The scale and translate are honoured in the bounds.
     Ccom.mxgraph.mxGraphViewReaderAn abstract converter that renders display XML data onto a canvas.
     Ccom.mxgraph.mxGraphViewImageReaderA converter that renders display XML data onto a GDI canvas.
     Ccom.mxgraph.mxICanvasDefines the requirements for a canvas that paints the vertices and edges of a graph.
     Ccom.mxgraph.mxBasicCanvasBasic implementation of a canvas that draws a graph.
     Ccom.mxgraph.mxGdiCanvasImplementation of a canvas that uses GDI for painting.
     Ccom.mxgraph.mxImageCanvasImplements a canvas that draws onto an image.
     Ccom.mxgraph.mxICanvas2DDefines the requirements for a canvas that paints the vertices and edges of a graph.
     Ccom.mxgraph.mxGdiCanvas2DUsed for exporting images. To render to an image from a given XML string, graph size and and background color, the following code is used:
     Ccom.mxgraph.mxICellDefines the requirements for a cell that can be used in an mxGraphModel.
     Ccom.mxgraph.mxCellCells are the elements of the graph model. They represent the state of the groups, vertices and edges in a graph.
     Ccom.mxgraph.mxIGraphLayoutDefines the requirements for an object that implements a graph layout.
     Ccom.mxgraph.mxFastOrganicLayoutFast organic layout algorithm.
     Ccom.mxgraph.mxIGraphModelDefines the requirements for a graph model to be used with mxGraph.
     Ccom.mxgraph.mxGraphModelImplements a graph model. The graph model acts as a wrapper around the cells which are in charge of storing the actual graph datastructure. The model acts as a transactional wrapper with event notification for all changes, whereas the cells contain the atomic operations for updating the actual datastructure.
     Ccom.mxgraph.mxImageBundleMaps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, eg. "data:image/gif,XYZ", where XYZ is the base64 encoded image data
     Ccom.mxgraph.mxObjectCodecGeneric codec for C# objects. See below for a detailed description of the encoding/decoding scheme. Note: Since booleans are numbers in JavaScript, all boolean values are encoded into 1 for true and 0 for false.
     Ccom.mxgraph.mxCellCodecCodec for mxCells. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
     Ccom.mxgraph.mxModelCodecCodec for mxGraphModels. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
     Ccom.mxgraph.mxStylesheetCodecCodec for mxStylesheets. This class is created and registered dynamically at load time and used implicitely via mxCodec and the mxCodecRegistry.
     Ccom.mxgraph.mxPerimeterProvides various perimeter functions to be used in a style as the value of mxConstants.STYLE_PERIMETER.
     Ccom.mxgraph.mxPointImplements a 2-dimensional point with double precision coordinates.
     Ccom.mxgraph.mxRectangleImplements a 2-dimensional rectangle with double precision coordinates.
     Ccom.mxgraph.mxCellStateRepresents the current state of a cell in a given graph view.
     Ccom.mxgraph.mxGeometryRepresents the geometry of a cell. For vertices, the geometry consists of the x- and y-location, as well as the width and height. For edges, the edge either defines the source- and target-terminal, or the geometry defines the respective terminal points.
     Ccom.mxgraph.mxSaxOutputHandler
     Ccom.mxgraph.mxStencilImplements a stencil for the given XML definition. This class implements the mxGraph stencil schema.
     Ccom.mxgraph.mxStencilRegistry
     Ccom.mxgraph.mxStyleRegistryStatic class that acts as a global registry for codecs. See mxCodec for an example of using this class.
     Ccom.mxgraph.mxStylesheetDefines the appearance of the cells in a graph.
     Ccom.mxgraph.mxUtilsContains various helper methods for use with mxGraph.
    +
    +
    + + + + diff --git a/dotnet/docs/html/index.html b/dotnet/docs/html/index.html new file mode 100644 index 000000000..0017c6dbd --- /dev/null +++ b/dotnet/docs/html/index.html @@ -0,0 +1,50 @@ + + + + + + +mxGraph: Main Page + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + +
    +
    +
    +
    mxGraph Documentation
    +
    +
    +
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html new file mode 100644 index 000000000..fac4b8bf1 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas-members.html @@ -0,0 +1,68 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxICanvas Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxICanvas, including all inherited members.

    + + + + + +
    DrawCell(mxCellState state)com.mxgraph.mxICanvas
    DrawLabel(string text, mxCellState state, bool html)com.mxgraph.mxICanvas
    Scalecom.mxgraph.mxICanvas
    Translatecom.mxgraph.mxICanvas
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html new file mode 100644 index 000000000..c99b5eb19 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.html @@ -0,0 +1,229 @@ + + + + + + +mxGraph: com.mxgraph.mxICanvas Interface Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxICanvas Interface Reference
    +
    +
    + +

    Defines the requirements for a canvas that paints the vertices and edges of a graph. + More...

    +
    +Inheritance diagram for com.mxgraph.mxICanvas:
    +
    +
    + + +com.mxgraph.mxBasicCanvas +com.mxgraph.mxImageCanvas +com.mxgraph.mxGdiCanvas + +
    + + + + + + + + +

    +Public Member Functions

    Object DrawCell (mxCellState state)
     Draws the given cell. More...
     
    Object DrawLabel (string text, mxCellState state, bool html)
     Draws the given label. More...
     
    + + + + + + + +

    +Properties

    Point Translate [get, set]
     Sets or returns the user object of the cell. More...
     
    double Scale [get, set]
     Sets or returns the user object of the cell. More...
     
    +

    Detailed Description

    +

    Defines the requirements for a canvas that paints the vertices and edges of a graph.

    +

    Member Function Documentation

    + +
    +
    + + + + + + + + +
    Object com.mxgraph.mxICanvas.DrawCell (mxCellState state)
    +
    + +

    Draws the given cell.

    +
    Parameters
    + + +
    stateState of the cell to be painted.
    +
    +
    +
    Returns
    Object that represents the vertex.
    + +

    Implemented in com.mxgraph.mxImageCanvas, com.mxgraph.mxGdiCanvas, and com.mxgraph.mxBasicCanvas.

    + +

    Referenced by com.mxgraph.mxGraph.DrawState(), and com.mxgraph.mxGraphViewReader.ParseElement().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxICanvas.DrawLabel (string text,
    mxCellState state,
    bool html 
    )
    +
    + +

    Draws the given label.

    +
    Parameters
    + + + + +
    textString that represents the label.
    stateState of the cell whose label is to be painted.
    htmlSpecifies if the label contains HTML markup.
    +
    +
    +
    Returns
    Object that represents the label.
    + +

    Implemented in com.mxgraph.mxGdiCanvas, com.mxgraph.mxImageCanvas, and com.mxgraph.mxBasicCanvas.

    + +

    Referenced by com.mxgraph.mxGraph.DrawState(), and com.mxgraph.mxGraphViewReader.ParseElement().

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas.Scale
    +
    +getset
    +
    + +

    Sets or returns the user object of the cell.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells(), and com.mxgraph.mxGraphViewReader.ParseElement().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Point com.mxgraph.mxICanvas.Translate
    +
    +getset
    +
    + +

    Sets or returns the user object of the cell.

    + +

    Referenced by com.mxgraph.mxCellRenderer.DrawCells(), and com.mxgraph.mxGraph.DrawState().

    + +
    +
    +
    The documentation for this interface was generated from the following file:
      +
    • src/canvas/mxICanvas.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.png new file mode 100644 index 000000000..8a03b1008 Binary files /dev/null and b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas.png differ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html new file mode 100644 index 000000000..7ec429f79 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D-members.html @@ -0,0 +1,105 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxICanvas2D Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxICanvas2D, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Alphacom.mxgraph.mxICanvas2D
    Begin()com.mxgraph.mxICanvas2D
    Close()com.mxgraph.mxICanvas2D
    CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)com.mxgraph.mxICanvas2D
    Dashedcom.mxgraph.mxICanvas2D
    DashPatterncom.mxgraph.mxICanvas2D
    Ellipse(double x, double y, double w, double h)com.mxgraph.mxICanvas2D
    Fill()com.mxgraph.mxICanvas2D
    FillAlphacom.mxgraph.mxICanvas2D
    FillAndStroke()com.mxgraph.mxICanvas2D
    FillColorcom.mxgraph.mxICanvas2D
    FontBackgroundColorcom.mxgraph.mxICanvas2D
    FontBorderColorcom.mxgraph.mxICanvas2D
    FontColorcom.mxgraph.mxICanvas2D
    FontFamilycom.mxgraph.mxICanvas2D
    FontSizecom.mxgraph.mxICanvas2D
    FontStylecom.mxgraph.mxICanvas2D
    Image(double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)com.mxgraph.mxICanvas2D
    LineCapcom.mxgraph.mxICanvas2D
    LineJoincom.mxgraph.mxICanvas2D
    LineTo(double x, double y)com.mxgraph.mxICanvas2D
    MiterLimitcom.mxgraph.mxICanvas2D
    MoveTo(double x, double y)com.mxgraph.mxICanvas2D
    QuadTo(double x1, double y1, double x2, double y2)com.mxgraph.mxICanvas2D
    Rect(double x, double y, double w, double h)com.mxgraph.mxICanvas2D
    Restore()com.mxgraph.mxICanvas2D
    Rotate(double theta, bool flipH, bool flipV, double cx, double cy)com.mxgraph.mxICanvas2D
    Roundrect(double x, double y, double w, double h, double dx, double dy)com.mxgraph.mxICanvas2D
    Save()com.mxgraph.mxICanvas2D
    Scale(double value)com.mxgraph.mxICanvas2D
    SetGradient(string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)com.mxgraph.mxICanvas2D
    SetShadowOffset(double dx, double dy)com.mxgraph.mxICanvas2D
    Shadowcom.mxgraph.mxICanvas2D
    ShadowAlphacom.mxgraph.mxICanvas2D
    ShadowColorcom.mxgraph.mxICanvas2D
    Stroke()com.mxgraph.mxICanvas2D
    StrokeAlphacom.mxgraph.mxICanvas2D
    StrokeColorcom.mxgraph.mxICanvas2D
    StrokeWidthcom.mxgraph.mxICanvas2D
    Text(double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir)com.mxgraph.mxICanvas2D
    Translate(double dx, double dy)com.mxgraph.mxICanvas2D
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html new file mode 100644 index 000000000..d01123310 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.html @@ -0,0 +1,1544 @@ + + + + + + +mxGraph: com.mxgraph.mxICanvas2D Interface Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxICanvas2D Interface Reference
    +
    +
    + +

    Defines the requirements for a canvas that paints the vertices and edges of a graph. + More...

    +
    +Inheritance diagram for com.mxgraph.mxICanvas2D:
    +
    +
    + + +com.mxgraph.mxGdiCanvas2D + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    void Save ()
     Saves the current state of the canvas. More...
     
    void Restore ()
     Restores the previous state of the canvas. More...
     
    void Scale (double value)
     Uniformaly scales the canvas by the given amount. More...
     
    void Translate (double dx, double dy)
     Translates the canvas by the given amount. More...
     
    void Rotate (double theta, bool flipH, bool flipV, double cx, double cy)
     Rotates the canvas by the given angle around the given center. This method may add rendering overhead and should be used with care. More...
     
    void SetGradient (string color1, string color2, double x, double y, double w, double h, string direction, double alpha1, double alpha2)
     Prepares the canvas to draw a gradient. More...
     
    void SetShadowOffset (double dx, double dy)
     Prepares the canvas to draw a gradient. More...
     
    void Rect (double x, double y, double w, double h)
     Next fill or stroke should draw a rectangle. More...
     
    void Roundrect (double x, double y, double w, double h, double dx, double dy)
     Next fill or stroke should draw a round rectangle. More...
     
    void Ellipse (double x, double y, double w, double h)
     Next fill or stroke should draw an ellipse. More...
     
    void Image (double x, double y, double w, double h, string src, bool aspect, bool flipH, bool flipV)
     Draws the given image. More...
     
    void Text (double x, double y, double w, double h, string str, string align, string valign, bool wrap, string format, string overflow, bool clip, double rotation, string dir)
     Draws the given string. Possible values for format are empty string for More...
     
    void Begin ()
     Begins a new path. More...
     
    void MoveTo (double x, double y)
     Moves to the given path. More...
     
    void LineTo (double x, double y)
     Draws a line to the given path. More...
     
    void QuadTo (double x1, double y1, double x2, double y2)
     Draws a quadratic curve to the given point. More...
     
    void CurveTo (double x1, double y1, double x2, double y2, double x3, double y3)
     Draws a bezier curve to the given point. More...
     
    void Close ()
     Closes the current path. More...
     
    void Stroke ()
     Paints the outline of the current path. More...
     
    void Fill ()
     Fills the current path. More...
     
    void FillAndStroke ()
     Fills and paints the outline of the current path. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    double StrokeWidth [set]
     Sets the stroke width. This should default to 1 if unset. More...
     
    string StrokeColor [set]
     Sets the stroke color. This should default to mxConstants.NONE if unset. More...
     
    bool Dashed [set]
     Sets the dashed state. This should default to false if unset. More...
     
    string DashPattern [set]
     Sets the dash pattern. This should default to "3 3" if unset. More...
     
    string LineCap [set]
     Sets the linecap. This should default to "flat" if unset. More...
     
    string LineJoin [set]
     Sets the linejoin. This should default to "miter" if unset. More...
     
    double MiterLimit [set]
     Sets the miterlimit. This should default to 10 if unset. More...
     
    double FontSize [set]
     Default value mxConstants.DEFAULT_FONTSIZE. More...
     
    string FontColor [set]
     Default value "#000000". More...
     
    string FontFamily [set]
     Default value mxConstants#DEFAULT_FONTFAMILY. More...
     
    int FontStyle [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    string FontBackgroundColor [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    string FontBorderColor [set]
     Default value 0. See mxConstants#STYLE_FONTSTYLE. More...
     
    double Alpha [set]
     Default value 1. This method may add rendering overhead and should be used with care. More...
     
    double FillAlpha [set]
     Default value 1. More...
     
    double StrokeAlpha [set]
     Default value 1. More...
     
    string FillColor [set]
     Default value mxConstants#NONE. More...
     
    bool Shadow [set]
     Default value mxConstants#NONE. More...
     
    string ShadowColor [set]
     Default value mxConstants#NONE. More...
     
    double ShadowAlpha [set]
     Default value 1. This method may add rendering overhead and should be used with care. More...
     
    +

    Detailed Description

    +

    Defines the requirements for a canvas that paints the vertices and edges of a graph.

    +

    Member Function Documentation

    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICanvas2D.Begin ()
    +
    + +

    Begins a new path.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICanvas2D.Close ()
    +
    + +

    Closes the current path.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.CurveTo (double x1,
    double y1,
    double x2,
    double y2,
    double x3,
    double y3 
    )
    +
    + +

    Draws a bezier curve to the given point.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Ellipse (double x,
    double y,
    double w,
    double h 
    )
    +
    + +

    Next fill or stroke should draw an ellipse.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICanvas2D.Fill ()
    +
    + +

    Fills the current path.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICanvas2D.FillAndStroke ()
    +
    + +

    Fills and paints the outline of the current path.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Image (double x,
    double y,
    double w,
    double h,
    string src,
    bool aspect,
    bool flipH,
    bool flipV 
    )
    +
    + +

    Draws the given image.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.LineTo (double x,
    double y 
    )
    +
    + +

    Draws a line to the given path.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.MoveTo (double x,
    double y 
    )
    +
    + +

    Moves to the given path.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.QuadTo (double x1,
    double y1,
    double x2,
    double y2 
    )
    +
    + +

    Draws a quadratic curve to the given point.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Rect (double x,
    double y,
    double w,
    double h 
    )
    +
    + +

    Next fill or stroke should draw a rectangle.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICanvas2D.Restore ()
    +
    + +

    Restores the previous state of the canvas.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Rotate (double theta,
    bool flipH,
    bool flipV,
    double cx,
    double cy 
    )
    +
    + +

    Rotates the canvas by the given angle around the given center. This method may add rendering overhead and should be used with care.

    +
    Parameters
    + + + + + + +
    thetaRotation angle in degrees (0 - 360).
    flipHSpecifies if drawing should be flipped horizontally.
    flipVSpecifies if drawing should be flipped vertically.
    cxX-coordinate of the center point.
    cyY-coordinate of the center point.
    +
    +
    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Roundrect (double x,
    double y,
    double w,
    double h,
    double dx,
    double dy 
    )
    +
    + +

    Next fill or stroke should draw a round rectangle.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICanvas2D.Save ()
    +
    + +

    Saves the current state of the canvas.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Scale (double value)
    +
    + +

    Uniformaly scales the canvas by the given amount.

    +
    Parameters
    + + +
    valueThe new scale value.
    +
    +
    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.SetGradient (string color1,
    string color2,
    double x,
    double y,
    double w,
    double h,
    string direction,
    double alpha1,
    double alpha2 
    )
    +
    + +

    Prepares the canvas to draw a gradient.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.SetShadowOffset (double dx,
    double dy 
    )
    +
    + +

    Prepares the canvas to draw a gradient.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICanvas2D.Stroke ()
    +
    + +

    Paints the outline of the current path.

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Text (double x,
    double y,
    double w,
    double h,
    string str,
    string align,
    string valign,
    bool wrap,
    string format,
    string overflow,
    bool clip,
    double rotation,
    string dir 
    )
    +
    + +

    Draws the given string. Possible values for format are empty string for

    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxICanvas2D.Translate (double dx,
    double dy 
    )
    +
    + +

    Translates the canvas by the given amount.

    +
    Parameters
    + + + +
    dxX-coordinate of the translation.
    dyY-coordinate of the translation.
    +
    +
    + +

    Implemented in com.mxgraph.mxGdiCanvas2D.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas2D.Alpha
    +
    +set
    +
    + +

    Default value 1. This method may add rendering overhead and should be used with care.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxICanvas2D.Dashed
    +
    +set
    +
    + +

    Sets the dashed state. This should default to false if unset.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.DashPattern
    +
    +set
    +
    + +

    Sets the dash pattern. This should default to "3 3" if unset.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas2D.FillAlpha
    +
    +set
    +
    + +

    Default value 1.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.FillColor
    +
    +set
    +
    + +

    Default value mxConstants#NONE.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.FontBackgroundColor
    +
    +set
    +
    + +

    Default value 0. See mxConstants#STYLE_FONTSTYLE.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.FontBorderColor
    +
    +set
    +
    + +

    Default value 0. See mxConstants#STYLE_FONTSTYLE.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.FontColor
    +
    +set
    +
    + +

    Default value "#000000".

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.FontFamily
    +
    +set
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas2D.FontSize
    +
    +set
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    int com.mxgraph.mxICanvas2D.FontStyle
    +
    +set
    +
    + +

    Default value 0. See mxConstants#STYLE_FONTSTYLE.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.LineCap
    +
    +set
    +
    + +

    Sets the linecap. This should default to "flat" if unset.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.LineJoin
    +
    +set
    +
    + +

    Sets the linejoin. This should default to "miter" if unset.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas2D.MiterLimit
    +
    +set
    +
    + +

    Sets the miterlimit. This should default to 10 if unset.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxICanvas2D.Shadow
    +
    +set
    +
    + +

    Default value mxConstants#NONE.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas2D.ShadowAlpha
    +
    +set
    +
    + +

    Default value 1. This method may add rendering overhead and should be used with care.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.ShadowColor
    +
    +set
    +
    + +

    Default value mxConstants#NONE.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas2D.StrokeAlpha
    +
    +set
    +
    + +

    Default value 1.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICanvas2D.StrokeColor
    +
    +set
    +
    + +

    Sets the stroke color. This should default to mxConstants.NONE if unset.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    double com.mxgraph.mxICanvas2D.StrokeWidth
    +
    +set
    +
    + +

    Sets the stroke width. This should default to 1 if unset.

    + +

    Referenced by com.mxgraph.mxSaxOutputHandler.InitHandlers().

    + +
    +
    +
    The documentation for this interface was generated from the following file:
      +
    • src/canvas/mxICanvas2D.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.png new file mode 100644 index 000000000..16e6f2af1 Binary files /dev/null and b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICanvas2D.png differ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html new file mode 100644 index 000000000..6a3482715 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell-members.html @@ -0,0 +1,91 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxICell Member List
    +
    + + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html new file mode 100644 index 000000000..a0a49541a --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.html @@ -0,0 +1,893 @@ + + + + + + +mxGraph: com.mxgraph.mxICell Interface Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxICell Interface Reference
    +
    +
    + +

    Defines the requirements for a cell that can be used in an mxGraphModel. + More...

    +
    +Inheritance diagram for com.mxgraph.mxICell:
    +
    +
    + + +com.mxgraph.mxCell + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    mxICell GetTerminal (bool source)
     Returns the source or target terminal of the cell. More...
     
    mxICell SetTerminal (mxICell terminal, bool source)
     Sets the source or target terminal. More...
     
    int ChildCount ()
     Returns the number of child cells. More...
     
    int GetIndex (mxICell child)
     Returns the index of the specified child in the child array. More...
     
    mxICell GetChildAt (int index)
     Returns the child at the specified index. More...
     
    mxICell Insert (mxICell child)
     Appends the specified child into the child array and updates the parent reference of the child. More...
     
    mxICell Insert (mxICell child, int index)
     Inserts the specified child into the child array at the specified index and updates the parent reference of the child. More...
     
    mxICell Remove (int index)
     Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child. More...
     
    mxICell Remove (mxICell child)
     Removes the given child from the child array. Will remove the parent reference of the child. More...
     
    void RemoveFromParent ()
     Removes the cell from its parent. More...
     
    int EdgeCount ()
     Returns the number of edges in the edge array. More...
     
    int GetEdgeIndex (mxICell edge)
     Returns the index of the specified edge in the edge array. More...
     
    mxICell GetEdgeAt (int index)
     Returns the edge at the specified index in the edge array. More...
     
    mxICell InsertEdge (mxICell edge, bool isOutgoing)
     Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge. More...
     
    mxICell RemoveEdge (mxICell edge, bool isOutgoing)
     Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge. More...
     
    void RemoveFromTerminal (bool isSource)
     Removes the edge from its source or target terminal. More...
     
    Object Clone ()
     Returns a clone of this cell. More...
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Properties

    string Id [get, set]
     Sets or returns the Id of the cell. More...
     
    Object Value [get, set]
     Sets or returns the user object of the cell. More...
     
    mxGeometry Geometry [get, set]
     Sets or returns the geometry of the cell. More...
     
    string Style [get, set]
     Sets or returns the string that describes the style. More...
     
    bool Vertex [get]
     Returns true if the cell is a vertex. More...
     
    bool Edge [get]
     Returns true if the cell is an edge. More...
     
    bool Connectable [get]
     Returns true if the cell is connectable. More...
     
    bool Visible [get, set]
     Sets or returns the visible state of the cell. More...
     
    bool Collapsed [get, set]
     Sets or returns the collapsed state of the cell. More...
     
    mxICell Parent [get, set]
     Sets or returns the parent of the cell. More...
     
    +

    Detailed Description

    +

    Defines the requirements for a cell that can be used in an mxGraphModel.

    +

    Member Function Documentation

    + +
    +
    + + + + + + + +
    int com.mxgraph.mxICell.ChildCount ()
    +
    + +

    Returns the number of child cells.

    +
    Returns
    Returns the number of child cells.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxGraphModel.CellAdded(), com.mxgraph.mxGraphModel.CellRemoved(), com.mxgraph.mxCodec.EncodeCell(), and com.mxgraph.mxGraphModel.MergeChildrenImpl().

    + +
    +
    + +
    +
    + + + + + + + +
    Object com.mxgraph.mxICell.Clone ()
    +
    + +

    Returns a clone of this cell.

    +
    Returns
    Returns a clone of this cell.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxGraphModel.MergeChildrenImpl().

    + +
    +
    + +
    +
    + + + + + + + +
    int com.mxgraph.mxICell.EdgeCount ()
    +
    + +

    Returns the number of edges in the edge array.

    +
    Returns
    Returns the number of edges.
    + +

    Implemented in com.mxgraph.mxCell.

    + +
    +
    + +
    +
    + + + + + + + + +
    mxICell com.mxgraph.mxICell.GetChildAt (int index)
    +
    + +

    Returns the child at the specified index.

    +
    Parameters
    + + +
    indexInteger that specifies the child to be returned.
    +
    +
    +
    Returns
    Returns the child at the specified index.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxGraphModel.CellAdded(), com.mxgraph.mxGraphModel.CellRemoved(), com.mxgraph.mxCodec.EncodeCell(), com.mxgraph.mxGraphModel.MergeChildrenImpl(), and com.mxgraph.mxCellPath.Resolve().

    + +
    +
    + +
    +
    + + + + + + + + +
    mxICell com.mxgraph.mxICell.GetEdgeAt (int index)
    +
    + +

    Returns the edge at the specified index in the edge array.

    +
    Parameters
    + + +
    indexInteger that specifies the index of the edge to be returned.
    +
    +
    +
    Returns
    Returns the edge at the specified index.
    + +

    Implemented in com.mxgraph.mxCell.

    + +
    +
    + +
    +
    + + + + + + + + +
    int com.mxgraph.mxICell.GetEdgeIndex (mxICell edge)
    +
    + +

    Returns the index of the specified edge in the edge array.

    +
    Parameters
    + + +
    edgeCell whose index should be returned.
    +
    +
    +
    Returns
    Returns the index of the given edge.
    + +

    Implemented in com.mxgraph.mxCell.

    + +
    +
    + +
    +
    + + + + + + + + +
    int com.mxgraph.mxICell.GetIndex (mxICell child)
    +
    + +

    Returns the index of the specified child in the child array.

    +
    Parameters
    + + +
    childChild whose index should be returned.
    +
    +
    +
    Returns
    Returns the index of the specified child.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxCellPath.Create().

    + +
    +
    + +
    +
    + + + + + + + + +
    mxICell com.mxgraph.mxICell.GetTerminal (bool source)
    +
    + +

    Returns the source or target terminal of the cell.

    +
    Parameters
    + + +
    sourceBoolean that specifies if the source terminal should be returned.
    +
    +
    +
    Returns
    Returns the source or target terminal.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxCell.InsertEdge(), com.mxgraph.mxCodec.InsertIntoGraph(), com.mxgraph.mxCell.RemoveEdge(), and com.mxgraph.mxGraphModel.SetTerminal().

    + +
    +
    + +
    +
    + + + + + + + + +
    mxICell com.mxgraph.mxICell.Insert (mxICell child)
    +
    + +

    Appends the specified child into the child array and updates the parent reference of the child.

    +
    Parameters
    + + +
    childCell to be appended to the child array.
    +
    +
    +
    Returns
    Returns the appended child.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxGraphModel.CloneCell(), com.mxgraph.mxCell.Insert(), com.mxgraph.mxCodec.InsertIntoGraph(), and com.mxgraph.mxGraphModel.MergeChildrenImpl().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxICell.Insert (mxICell child,
    int index 
    )
    +
    + +

    Inserts the specified child into the child array at the specified index and updates the parent reference of the child.

    +
    Parameters
    + + + +
    childCell to be inserted into the child array.
    indexInteger that specifies the index at which the child should be inserted into the child array.
    +
    +
    +
    Returns
    Returns the inserted child.
    + +

    Implemented in com.mxgraph.mxCell.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxICell.InsertEdge (mxICell edge,
    bool isOutgoing 
    )
    +
    + +

    Inserts the specified edge into the edge array and returns the edge. Will update the respective terminal reference of the edge.

    +
    Parameters
    + + + +
    edgeCell to be inserted into the edge array.
    isOutgoingBoolean that specifies if the edge is outgoing.
    +
    +
    +
    Returns
    Returns the inserted edge.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxCodec.InsertIntoGraph(), and com.mxgraph.mxGraphModel.RestoreClone().

    + +
    +
    + +
    +
    + + + + + + + + +
    mxICell com.mxgraph.mxICell.Remove (int index)
    +
    + +

    Removes the child at the specified index from the child array and returns the child that was removed. Will remove the parent reference of the child.

    +
    Parameters
    + + +
    indexInteger that specifies the index of the child to be removed.
    +
    +
    +
    Returns
    Returns the child that was removed.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxCell.Remove(), com.mxgraph.mxCell.RemoveEdge(), and com.mxgraph.mxCell.RemoveFromParent().

    + +
    +
    + +
    +
    + + + + + + + + +
    mxICell com.mxgraph.mxICell.Remove (mxICell child)
    +
    + +

    Removes the given child from the child array. Will remove the parent reference of the child.

    +
    Parameters
    + + +
    child
    +
    +
    +
    Returns
    Returns the child that was removed.
    + +

    Implemented in com.mxgraph.mxCell.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxICell.RemoveEdge (mxICell edge,
    bool isOutgoing 
    )
    +
    + +

    Removes the specified edge from the edge array and returns the edge. Will remove the respective terminal reference from the edge.

    +
    Parameters
    + + + +
    edgeCell to be removed from the edge array.
    isOutgoingBoolean that specifies if the edge is outgoing.
    +
    +
    +
    Returns
    Returns the edge that was removed.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxCell.RemoveFromTerminal(), and com.mxgraph.mxGraphModel.SetTerminal().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxICell.RemoveFromParent ()
    +
    + +

    Removes the cell from its parent.

    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxCell.Insert(), and com.mxgraph.mxGraphModel.Remove().

    + +
    +
    + +
    +
    + + + + + + + + +
    void com.mxgraph.mxICell.RemoveFromTerminal (bool isSource)
    +
    + +

    Removes the edge from its source or target terminal.

    +
    Parameters
    + + +
    isSourceBoolean that specifies if the edge should be removed from its source or target terminal.
    +
    +
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxGraphModel.CellRemoved(), and com.mxgraph.mxCell.InsertEdge().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    mxICell com.mxgraph.mxICell.SetTerminal (mxICell terminal,
    bool source 
    )
    +
    + +

    Sets the source or target terminal.

    +
    Parameters
    + + + +
    terminalCell that represents the new source or target terminal.
    sourceBoolean that specifies if the source or target terminal should be set.
    +
    +
    +
    Returns
    Returns the new terminal.
    + +

    Implemented in com.mxgraph.mxCell.

    + +

    Referenced by com.mxgraph.mxCell.InsertEdge(), com.mxgraph.mxCodec.InsertIntoGraph(), and com.mxgraph.mxCell.RemoveEdge().

    + +
    +
    +

    Property Documentation

    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxICell.Collapsed
    +
    +getset
    +
    + +

    Sets or returns the collapsed state of the cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxICell.Connectable
    +
    +get
    +
    + +

    Returns true if the cell is connectable.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxICell.Edge
    +
    +get
    +
    + +

    Returns true if the cell is an edge.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxGeometry com.mxgraph.mxICell.Geometry
    +
    +getset
    +
    + +

    Sets or returns the geometry of the cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICell.Id
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    mxICell com.mxgraph.mxICell.Parent
    +
    +getset
    +
    +
    + +
    +
    + + + + + +
    + + + + +
    string com.mxgraph.mxICell.Style
    +
    +getset
    +
    + +

    Sets or returns the string that describes the style.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    Object com.mxgraph.mxICell.Value
    +
    +getset
    +
    + +

    Sets or returns the user object of the cell.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxICell.Vertex
    +
    +get
    +
    + +

    Returns true if the cell is a vertex.

    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    bool com.mxgraph.mxICell.Visible
    +
    +getset
    +
    + +

    Sets or returns the visible state of the cell.

    + +
    +
    +
    The documentation for this interface was generated from the following file:
      +
    • src/model/mxICell.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.png new file mode 100644 index 000000000..729f9643c Binary files /dev/null and b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxICell.png differ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html new file mode 100644 index 000000000..cc044bed4 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout-members.html @@ -0,0 +1,66 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxIGraphLayout Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxIGraphLayout, including all inherited members.

    + + + +
    execute(Object parent)com.mxgraph.mxIGraphLayout
    move(Object cell, double x, double y)com.mxgraph.mxIGraphLayout
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html new file mode 100644 index 000000000..c75a7d134 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.html @@ -0,0 +1,162 @@ + + + + + + +mxGraph: com.mxgraph.mxIGraphLayout Interface Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxIGraphLayout Interface Reference
    +
    +
    + +

    Defines the requirements for an object that implements a graph layout. + More...

    +
    +Inheritance diagram for com.mxgraph.mxIGraphLayout:
    +
    +
    + + +com.mxgraph.mxFastOrganicLayout + +
    + + + + + + + + +

    +Public Member Functions

    void execute (Object parent)
     Executes the layout for the children of the specified parent. More...
     
    void move (Object cell, double x, double y)
     Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible. More...
     
    +

    Detailed Description

    +

    Defines the requirements for an object that implements a graph layout.

    +

    Member Function Documentation

    + +
    +
    + + + + + + + + +
    void com.mxgraph.mxIGraphLayout.execute (Object parent)
    +
    + +

    Executes the layout for the children of the specified parent.

    +
    Parameters
    + + +
    parentParent cell that contains the children to be layed out.
    +
    +
    + +

    Implemented in com.mxgraph.mxFastOrganicLayout.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void com.mxgraph.mxIGraphLayout.move (Object cell,
    double x,
    double y 
    )
    +
    + +

    Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible.

    +
    Parameters
    + + + + +
    cellCell which is being moved.
    xX-coordinate of the new cell location.
    yY-coordinate of the new cell location.
    +
    +
    + +

    Implemented in com.mxgraph.mxFastOrganicLayout.

    + +
    +
    +
    The documentation for this interface was generated from the following file:
      +
    • src/layout/mxIGraphLayout.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.png new file mode 100644 index 000000000..571ab5f7d Binary files /dev/null and b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphLayout.png differ diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html new file mode 100644 index 000000000..f0bd50b29 --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel-members.html @@ -0,0 +1,93 @@ + + + + + + +mxGraph: Member List + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    +
    +
    com.mxgraph.mxIGraphModel Member List
    +
    +
    + +

    This is the complete list of members for com.mxgraph.mxIGraphModel, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Add(Object parent, Object child, int index)com.mxgraph.mxIGraphModel
    BeginUpdate()com.mxgraph.mxIGraphModel
    CloneCells(Object[] cells, bool includeChildren)com.mxgraph.mxIGraphModel
    Contains(Object cell)com.mxgraph.mxIGraphModel
    EndUpdate()com.mxgraph.mxIGraphModel
    GetChildAt(Object parent, int index)com.mxgraph.mxIGraphModel
    GetChildCount(Object cell)com.mxgraph.mxIGraphModel
    GetEdgeAt(Object cell, int index)com.mxgraph.mxIGraphModel
    GetEdgeCount(Object cell)com.mxgraph.mxIGraphModel
    GetGeometry(Object cell)com.mxgraph.mxIGraphModel
    GetParent(Object child)com.mxgraph.mxIGraphModel
    GetStyle(Object cell)com.mxgraph.mxIGraphModel
    GetTerminal(Object edge, bool source)com.mxgraph.mxIGraphModel
    GetValue(Object cell)com.mxgraph.mxIGraphModel
    GraphModelChangecom.mxgraph.mxIGraphModel
    IsAncestor(Object parent, Object child)com.mxgraph.mxIGraphModel
    IsCollapsed(Object cell)com.mxgraph.mxIGraphModel
    IsConnectable(Object cell)com.mxgraph.mxIGraphModel
    IsEdge(Object cell)com.mxgraph.mxIGraphModel
    IsVertex(Object cell)com.mxgraph.mxIGraphModel
    IsVisible(Object cell)com.mxgraph.mxIGraphModel
    Remove(Object parent)com.mxgraph.mxIGraphModel
    Rootcom.mxgraph.mxIGraphModel
    SetCollapsed(Object cell, bool collapsed)com.mxgraph.mxIGraphModel
    SetGeometry(Object cell, mxGeometry geometry)com.mxgraph.mxIGraphModel
    SetStyle(Object cell, string style)com.mxgraph.mxIGraphModel
    SetTerminal(Object edge, Object terminal, bool source)com.mxgraph.mxIGraphModel
    SetValue(Object cell, Object value)com.mxgraph.mxIGraphModel
    SetVisible(Object cell, bool visible)com.mxgraph.mxIGraphModel
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html new file mode 100644 index 000000000..2e091bf1d --- /dev/null +++ b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.html @@ -0,0 +1,1116 @@ + + + + + + +mxGraph: com.mxgraph.mxIGraphModel Interface Reference + + + + + + +
    +
    + + + + + + +
    +
    mxGraph +
    +
    +
    + + + + + +
    +
    + +
    +
    com.mxgraph.mxIGraphModel Interface Reference
    +
    +
    + +

    Defines the requirements for a graph model to be used with mxGraph. + More...

    +
    +Inheritance diagram for com.mxgraph.mxIGraphModel:
    +
    +
    + + +com.mxgraph.mxGraphModel + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    Object[] CloneCells (Object[] cells, bool includeChildren)
     Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array. More...
     
    bool IsAncestor (Object parent, Object child)
     Returns true if the given parent is an ancestor of child. More...
     
    bool Contains (Object cell)
     Returns true if the model contains the given cell. More...
     
    Object GetParent (Object child)
     Returns the parent of the given cell. More...
     
    Object Add (Object parent, Object child, int index)
     Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children. More...
     
    Object Remove (Object parent)
     Removes the specified cell from the model. This operation will remove the cell and all of its children from the model. More...
     
    int GetChildCount (Object cell)
     Returns the number of children in the given cell. More...
     
    Object GetChildAt (Object parent, int index)
     Returns the child of the given parent at the given index. More...
     
    Object GetTerminal (Object edge, bool source)
     Returns the source or target terminal of the given edge depending on the value of the boolean parameter. More...
     
    Object SetTerminal (Object edge, Object terminal, bool source)
     Sets the source or target terminal of the given edge using. More...
     
    int GetEdgeCount (Object cell)
     Returns the number of distinct edges connected to the given cell. More...
     
    Object GetEdgeAt (Object cell, int index)
     Returns the edge of cell at the given index. More...
     
    bool IsVertex (Object cell)
     Returns true if the given cell is a vertex. More...
     
    bool IsEdge (Object cell)
     Returns true if the given cell is an edge. More...
     
    bool IsConnectable (Object cell)
     Returns true if the given cell is connectable. More...
     
    Object GetValue (Object cell)
     Returns the user object of the given cell. More...
     
    Object SetValue (Object cell, Object value)
     Sets the user object of then given cell. More...
     
    mxGeometry GetGeometry (Object cell)
     Returns the geometry of the given cell. More...
     
    mxGeometry SetGeometry (Object cell, mxGeometry geometry)
     Sets the geometry of the given cell. More...
     
    string GetStyle (Object cell)
     Returns the style of the given cell. More...
     
    string SetStyle (Object cell, string style)
     Sets the style of the given cell. More...
     
    bool IsCollapsed (Object cell)
     Returns true if the given cell is collapsed. More...
     
    bool SetCollapsed (Object cell, bool collapsed)
     Sets the collapsed state of the given cell. More...
     
    bool IsVisible (Object cell)
     Returns true if the given cell is visible. More...
     
    bool SetVisible (Object cell, bool visible)
     Sets the visible state of the given cell. More...
     
    void BeginUpdate ()
     Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by use of endUpdate. More...
     
    void EndUpdate ()
     Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0. More...
     
    + + + + +

    +Properties

    Object Root [get, set]
     Holds the root cell. More...
     
    + + + + +

    +Events

    mxGraphModelChangeEventHandler GraphModelChange
     Called when the graph model has changed. More...
     
    +

    Detailed Description

    +

    Defines the requirements for a graph model to be used with mxGraph.

    +

    Member Function Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.Add (Object parent,
    Object child,
    int index 
    )
    +
    + +

    Adds the specified child to the parent at the given index. If no index is specified then the child is appended to the parent's array of children.

    +
    Parameters
    + + + + +
    parentCell that specifies the parent to contain the child.
    childCell that specifies the child to be inserted.
    indexInteger that specifies the index of the child.
    +
    +
    +
    Returns
    Returns the inserted child.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.InsertEdge(), and com.mxgraph.mxGraph.InsertVertex().

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxIGraphModel.BeginUpdate ()
    +
    + +

    Increments the updateLevel by one. The event notification is queued until updateLevel reaches 0 by use of endUpdate.

    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxGraph.InsertEdge(), com.mxgraph.mxUtils.SetCellStyleFlags(), com.mxgraph.mxUtils.SetCellStyles(), and com.mxgraph.mxGraphModel.SetTerminals().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    Object [] com.mxgraph.mxIGraphModel.CloneCells (Object[] cells,
    bool includeChildren 
    )
    +
    + +

    Returns an array of clones for the given array of cells. Depending on the value of includeChildren, a deep clone is created for each cell. Connections are restored based if the corresponding cell is contained in the passed in array.

    +
    Parameters
    + + + +
    cellsArray of cells to be cloned.
    includeChildrenBoolean indicating if the cells should be cloned with all descendants.
    +
    +
    +
    Returns
    Returns a cloned array of cells.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +
    +
    + +
    +
    + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.Contains (Object cell)
    +
    + +

    Returns true if the model contains the given cell.

    +
    Parameters
    + + +
    cellCell to be checked.
    +
    +
    +
    Returns
    Returns true if the cell is in the model.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +
    +
    + +
    +
    + + + + + + + +
    void com.mxgraph.mxIGraphModel.EndUpdate ()
    +
    + +

    Decrements the updateLevel by one and fires a notification event if the updateLevel reaches 0.

    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute(), com.mxgraph.mxGraph.InsertEdge(), com.mxgraph.mxUtils.SetCellStyleFlags(), com.mxgraph.mxUtils.SetCellStyles(), and com.mxgraph.mxGraphModel.SetTerminals().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.GetChildAt (Object parent,
    int index 
    )
    +
    +
    + +
    +
    + + + + + + + + +
    int com.mxgraph.mxIGraphModel.GetChildCount (Object cell)
    +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.GetEdgeAt (Object cell,
    int index 
    )
    +
    + +

    Returns the edge of cell at the given index.

    +
    Parameters
    + + + +
    cellCell that specifies the vertex.
    indexInteger that specifies the index of the edge to return.
    +
    +
    +
    Returns
    Returns the edge at the given index.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.GetCellBounds(), com.mxgraph.mxGraphModel.GetDirectedEdgeCount(), com.mxgraph.mxGraphModel.GetEdges(), and com.mxgraph.mxGraphModel.GetEdgesBetween().

    + +
    +
    + +
    +
    + + + + + + + + +
    int com.mxgraph.mxIGraphModel.GetEdgeCount (Object cell)
    +
    + +

    Returns the number of distinct edges connected to the given cell.

    +
    Parameters
    + + +
    cellCell that represents the vertex.
    +
    +
    +
    Returns
    Returns the number of edges connected to cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.GetCellBounds(), com.mxgraph.mxGraphModel.GetDirectedEdgeCount(), com.mxgraph.mxGraphModel.GetEdges(), com.mxgraph.mxGraphModel.GetEdgesBetween(), and com.mxgraph.mxFastOrganicLayout.IsCellIgnored().

    + +
    +
    + +
    +
    + + + + + + + + +
    mxGeometry com.mxgraph.mxIGraphModel.GetGeometry (Object cell)
    +
    + +

    Returns the geometry of the given cell.

    +
    Parameters
    + + +
    cellCell whose geometry should be returned.
    +
    +
    +
    Returns
    Returns the geometry of the given cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute(), and com.mxgraph.mxGraph.GetCellGeometry().

    + +
    +
    + +
    +
    + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.GetParent (Object child)
    +
    + +

    Returns the parent of the given cell.

    +
    Parameters
    + + +
    childCell whose parent should be returned.
    +
    +
    +
    Returns
    Returns the parent of the given cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraphView.GetVisibleTerminal(), com.mxgraph.mxGraph.IsValidAncestor(), com.mxgraph.mxGraphView.UpdateCellState(), and com.mxgraph.mxGraphView.ValidateCellState().

    + +
    +
    + +
    +
    + + + + + + + + +
    string com.mxgraph.mxIGraphModel.GetStyle (Object cell)
    +
    + +

    Returns the style of the given cell.

    +
    Parameters
    + + +
    cellCell whose style should be returned.
    +
    +
    +
    Returns
    Returns the style of the given cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.GetCellStyle(), com.mxgraph.mxUtils.SetCellStyleFlags(), and com.mxgraph.mxUtils.SetCellStyles().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.GetTerminal (Object edge,
    bool source 
    )
    +
    + +

    Returns the source or target terminal of the given edge depending on the value of the boolean parameter.

    +
    Parameters
    + + + +
    edgeCell that specifies the edge.
    sourceBoolean indicating which end of the edge should be returned.
    +
    +
    +
    Returns
    Returns the source or target of the given edge.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraphModel.GetDirectedEdgeCount(), com.mxgraph.mxGraphModel.GetEdges(), com.mxgraph.mxGraphModel.GetEdgesBetween(), com.mxgraph.mxGraphModel.GetOpposites(), com.mxgraph.mxGraphView.GetVisibleTerminal(), and com.mxgraph.mxGraphView.UpdateEdgeState().

    + +
    +
    + +
    +
    + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.GetValue (Object cell)
    +
    + +

    Returns the user object of the given cell.

    +
    Parameters
    + + +
    cellCell whose user object should be returned.
    +
    +
    +
    Returns
    Returns the user object of the given cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.ConvertValueToString().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.IsAncestor (Object parent,
    Object child 
    )
    +
    + +

    Returns true if the given parent is an ancestor of child.

    +
    Parameters
    + + + +
    parentCell that specifies the parent.
    childCell that specifies the child.
    +
    +
    +
    Returns
    Returns true if child is an ancestor of parent.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.IsValidAncestor().

    + +
    +
    + +
    +
    + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.IsCollapsed (Object cell)
    +
    + +

    Returns true if the given cell is collapsed.

    +
    Parameters
    + + +
    cellCell whose collapsed state should be returned.
    +
    +
    +
    Returns
    Returns the collapsed state of the given cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.IsCellCollapsed().

    + +
    +
    + +
    +
    + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.IsConnectable (Object cell)
    +
    + +

    Returns true if the given cell is connectable.

    +
    Parameters
    + + +
    cellCell whose connectable state should be returned.
    +
    +
    +
    Returns
    Returns the connectable state of the given cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.IsCellConnectable().

    + +
    +
    + +
    +
    + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.IsEdge (Object cell)
    +
    + +

    Returns true if the given cell is an edge.

    +
    Parameters
    + + +
    cellCell that represents the possible edge.
    +
    +
    +
    Returns
    Returns true if the given cell is an edge.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.DrawState(), com.mxgraph.mxGraphView.GetBounds(), com.mxgraph.mxGraph.GetCellStyle(), com.mxgraph.mxGraphModel.getChildCells(), com.mxgraph.mxGraphView.UpdateBoundingBox(), com.mxgraph.mxGraphView.UpdateCellState(), com.mxgraph.mxGraphView.UpdateLabelBounds(), and com.mxgraph.mxGraphView.ValidateCellState().

    + +
    +
    + +
    +
    + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.IsVertex (Object cell)
    +
    + +

    Returns true if the given cell is a vertex.

    +
    Parameters
    + + +
    cellCell that represents the possible vertex.
    +
    +
    +
    Returns
    Returns true if the given cell is a vertex.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.DrawState(), com.mxgraph.mxGraph.FindTreeRoots(), com.mxgraph.mxGraphView.GetBounds(), com.mxgraph.mxGraphModel.getChildCells(), com.mxgraph.mxFastOrganicLayout.IsCellIgnored(), com.mxgraph.mxGraphView.UpdateCellState(), and com.mxgraph.mxGraphView.ValidateCellState().

    + +
    +
    + +
    +
    + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.IsVisible (Object cell)
    +
    + +

    Returns true if the given cell is visible.

    +
    Parameters
    + + +
    cellCell whose visible state should be returned.
    +
    +
    +
    Returns
    Returns the visible state of the given cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.IsCellVisible().

    + +
    +
    + +
    +
    + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.Remove (Object parent)
    +
    + +

    Removes the specified cell from the model. This operation will remove the cell and all of its children from the model.

    +
    Parameters
    + + +
    parentCell that should be removed.
    +
    +
    +
    Returns
    Returns the removed cell.
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.SetCollapsed (Object cell,
    bool collapsed 
    )
    +
    + +

    Sets the collapsed state of the given cell.

    +
    Parameters
    + + + +
    cellCell whose collapsed state should be changed.
    collapsedBoolean that specifies the new collpased state.
    +
    +
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    mxGeometry com.mxgraph.mxIGraphModel.SetGeometry (Object cell,
    mxGeometry geometry 
    )
    +
    + +

    Sets the geometry of the given cell.

    +
    Parameters
    + + + +
    cellCell whose geometry should be changed.
    geometryObject that defines the new geometry.
    +
    +
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxFastOrganicLayout.execute().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    string com.mxgraph.mxIGraphModel.SetStyle (Object cell,
    string style 
    )
    +
    + +

    Sets the style of the given cell.

    +
    Parameters
    + + + +
    cellCell whose style should be changed.
    styleString of the form stylename[;key=value] to specify the new cell style.
    +
    +
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxUtils.SetCellStyleFlags(), and com.mxgraph.mxUtils.SetCellStyles().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.SetTerminal (Object edge,
    Object terminal,
    bool source 
    )
    +
    + +

    Sets the source or target terminal of the given edge using.

    +
    Parameters
    + + + + +
    edgeCell that specifies the edge.
    terminalCell that specifies the new terminal.
    sourceBoolean indicating if the terminal is the new source or target terminal of the edge.
    +
    +
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +

    Referenced by com.mxgraph.mxGraph.InsertEdge(), and com.mxgraph.mxGraphModel.SetTerminals().

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    Object com.mxgraph.mxIGraphModel.SetValue (Object cell,
    Object value 
    )
    +
    + +

    Sets the user object of then given cell.

    +
    Parameters
    + + + +
    cellCell whose user object should be changed.
    valueObject that defines the new user object.
    +
    +
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool com.mxgraph.mxIGraphModel.SetVisible (Object cell,
    bool visible 
    )
    +
    + +

    Sets the visible state of the given cell.

    +
    Parameters
    + + + +
    cellCell whose visible state should be changed.
    visibleBoolean that specifies the new visible state.
    +
    +
    + +

    Implemented in com.mxgraph.mxGraphModel.

    + +
    +
    +

    Property Documentation

    + + +

    Event Documentation

    + +
    +
    + + + + +
    mxGraphModelChangeEventHandler com.mxgraph.mxIGraphModel.GraphModelChange
    +
    + +

    Called when the graph model has changed.

    + +
    +
    +
    The documentation for this interface was generated from the following file:
      +
    • src/model/mxIGraphModel.cs
    • +
    +
    + + + + diff --git a/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.png b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.png new file mode 100644 index 000000000..41cd4bb05 Binary files /dev/null and b/dotnet/docs/html/interfacecom_1_1mxgraph_1_1mxIGraphModel.png differ diff --git a/dotnet/docs/html/jquery.js b/dotnet/docs/html/jquery.js new file mode 100644 index 000000000..d52a1c775 --- /dev/null +++ b/dotnet/docs/html/jquery.js @@ -0,0 +1,68 @@ +/* + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
    a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
    ";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
    t
    ";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
    ";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/* + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

    ";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
    ","
    "]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
    ").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/* + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/* + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/* + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
    ');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/* + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('