From aa4e1c9cb3d19edeaf2faf678f05314a853d07aa Mon Sep 17 00:00:00 2001 From: mcyph <20507948+mcyph@users.noreply.github.com> Date: Sun, 21 Mar 2021 10:45:44 +1100 Subject: [PATCH] moved examples to src/examples with goal of converting from html to js/react --- examples/helloworld.html | 73 ---------------- src/examples/HelloWorld.js | 78 ++++++++++++++++++ {examples => src/examples}/anchors.html | 0 {examples => src/examples}/animation.html | 0 {examples => src/examples}/autolayout.html | 0 {examples => src/examples}/boundary.html | 0 {examples => src/examples}/clipboard.html | 0 {examples => src/examples}/codec.html | 0 {examples => src/examples}/collapse.html | 0 {examples => src/examples}/constituent.html | 0 {examples => src/examples}/contexticons.html | 0 {examples => src/examples}/control.html | 0 {examples => src/examples}/dragsource.html | 0 {examples => src/examples}/drop.html | 0 .../examples}/dynamicloading.html | 0 {examples => src/examples}/dynamicstyle.html | 0 .../examples}/dynamictoolbar.html | 0 {examples => src/examples}/edgetolerance.html | 0 {examples => src/examples}/editing.html | 0 .../editors/config/diagrameditor.xml | 0 .../editors/config/editor-commons.xml | 0 .../editors/config/keyhandler-commons.xml | 0 .../editors/config/keyhandler-minimal.xml | 0 .../examples}/editors/config/layouteditor.xml | 0 .../editors/config/processeditor.xml | 0 .../editors/config/wfeditor-commons.xml | 0 .../editors/config/wfgraph-commons.xml | 0 .../editors/config/wftoolbar-commons.xml | 0 .../editors/config/workfloweditor.xml | 0 .../examples}/editors/css/process.css | 0 .../examples}/editors/css/wordpress.css | 0 .../examples}/editors/diagrameditor.html | 0 .../examples}/editors/diagrams/empty.xml | 0 .../examples}/editors/diagrams/swimlanes.xml | 0 .../editors/diagrams/travel-booking.xml | 0 .../examples}/editors/diagrams/withdrawal.xml | 0 .../examples}/editors/grapheditor.html | 0 .../examples}/editors/help/index-all.html | 0 .../examples}/editors/help/index.html | 0 .../examples}/editors/images/actor.gif | Bin .../examples}/editors/images/alignbottom.gif | Bin .../examples}/editors/images/aligncenter.gif | Bin .../examples}/editors/images/alignleft.gif | Bin .../examples}/editors/images/alignmiddle.gif | Bin .../examples}/editors/images/alignright.gif | Bin .../examples}/editors/images/aligntop.gif | Bin .../examples}/editors/images/arrow.gif | Bin .../examples}/editors/images/bell.png | Bin .../examples}/editors/images/bg.gif | Bin .../examples}/editors/images/block_end.gif | Bin .../examples}/editors/images/block_start.gif | Bin .../examples}/editors/images/bold.gif | Bin .../examples}/editors/images/bottom.gif | Bin .../examples}/editors/images/box.png | Bin .../examples}/editors/images/camera.gif | Bin .../examples}/editors/images/center.gif | Bin .../examples}/editors/images/classic_end.gif | Bin .../editors/images/classic_start.gif | Bin .../examples}/editors/images/cloud.gif | Bin .../examples}/editors/images/cmp-bg.gif | Bin .../examples}/editors/images/collapse.gif | Bin .../examples}/editors/images/connect.gif | Bin .../examples}/editors/images/connector.gif | Bin .../examples}/editors/images/console.gif | Bin .../examples}/editors/images/copy.gif | Bin .../examples}/editors/images/cube_green.png | Bin .../examples}/editors/images/cut.gif | Bin .../examples}/editors/images/cylinder.gif | Bin .../examples}/editors/images/delete.gif | Bin .../examples}/editors/images/diagram.gif | Bin .../examples}/editors/images/diamond_end.gif | Bin .../editors/images/diamond_start.gif | Bin .../editors/images/doubleellipse.gif | Bin .../examples}/editors/images/down.gif | Bin .../examples}/editors/images/draw/drawbg.jpg | Bin .../editors/images/draw/drawbgcolor.jpg | Bin .../editors/images/draw/drawfooter.jpg | Bin .../editors/images/draw/drawheader.jpg | Bin .../examples}/editors/images/draw/mxlogo.jpg | Bin .../examples}/editors/images/dude3.png | Bin .../examples}/editors/images/earth.png | Bin .../examples}/editors/images/ellipse.gif | Bin .../examples}/editors/images/entity.gif | Bin .../examples}/editors/images/expand.gif | Bin .../examples}/editors/images/fillcolor.gif | Bin .../examples}/editors/images/fit.gif | Bin .../examples}/editors/images/font.gif | Bin .../examples}/editors/images/fontcolor.gif | Bin .../examples}/editors/images/gear.gif | Bin .../examples}/editors/images/gear.png | Bin .../examples}/editors/images/grid.gif | Bin .../examples}/editors/images/group.gif | Bin .../examples}/editors/images/help.gif | Bin .../examples}/editors/images/hexagon.gif | Bin .../examples}/editors/images/hline.gif | Bin .../examples}/editors/images/house.gif | Bin .../examples}/editors/images/house.png | Bin .../examples}/editors/images/image.gif | Bin .../examples}/editors/images/italic.gif | Bin .../examples}/editors/images/left.gif | Bin .../examples}/editors/images/linecolor.gif | Bin .../examples}/editors/images/link.gif | Bin .../examples}/editors/images/loading.gif | Bin .../examples}/editors/images/middle.gif | Bin .../examples}/editors/images/new.gif | Bin .../examples}/editors/images/open.gif | Bin .../examples}/editors/images/open_end.gif | Bin .../examples}/editors/images/open_start.gif | Bin .../examples}/editors/images/outline.gif | Bin .../examples}/editors/images/oval_end.gif | Bin .../examples}/editors/images/oval_start.gif | Bin .../editors/images/overlays/check.png | Bin .../editors/images/overlays/error.png | Bin .../editors/images/overlays/flash.png | Bin .../editors/images/overlays/forbidden.png | Bin .../editors/images/overlays/help.png | Bin .../editors/images/overlays/house.png | Bin .../editors/images/overlays/information.png | Bin .../editors/images/overlays/lightbulb_on.png | Bin .../editors/images/overlays/pencil.png | Bin .../editors/images/overlays/printer.png | Bin .../editors/images/overlays/user3.png | Bin .../editors/images/overlays/users3.png | Bin .../editors/images/overlays/workplace.png | Bin .../examples}/editors/images/package.png | Bin .../examples}/editors/images/pan.gif | Bin .../examples}/editors/images/paste.gif | Bin .../examples}/editors/images/plain.gif | Bin .../examples}/editors/images/preferences.gif | Bin .../examples}/editors/images/press.gif | Bin .../examples}/editors/images/preview.gif | Bin .../examples}/editors/images/print.gif | Bin .../examples}/editors/images/printer.png | Bin .../examples}/editors/images/properties.gif | Bin .../examples}/editors/images/rectangle.gif | Bin .../examples}/editors/images/redo.gif | Bin .../examples}/editors/images/refresh.gif | Bin .../examples}/editors/images/rhombus.gif | Bin .../examples}/editors/images/right.gif | Bin .../examples}/editors/images/rounded.gif | Bin .../examples}/editors/images/save.gif | Bin .../examples}/editors/images/saveas.gif | Bin .../examples}/editors/images/script.gif | Bin .../examples}/editors/images/select.gif | Bin .../examples}/editors/images/server.png | Bin .../examples}/editors/images/straight.gif | Bin .../examples}/editors/images/swimlane.gif | Bin .../editors/images/symbols/cancel_end.png | Bin .../images/symbols/cancel_intermediate.png | Bin .../editors/images/symbols/error.png | Bin .../editors/images/symbols/event.png | Bin .../editors/images/symbols/event_end.png | Bin .../images/symbols/event_intermediate.png | Bin .../examples}/editors/images/symbols/fork.png | Bin .../editors/images/symbols/inclusive.png | Bin .../examples}/editors/images/symbols/link.png | Bin .../editors/images/symbols/merge.png | Bin .../editors/images/symbols/message.png | Bin .../editors/images/symbols/message_end.png | Bin .../images/symbols/message_intermediate.png | Bin .../editors/images/symbols/multiple.png | Bin .../examples}/editors/images/symbols/rule.png | Bin .../images/symbols/small_cancel_end.gif | Bin .../symbols/small_cancel_intermediate.gif | Bin .../editors/images/symbols/small_error.gif | Bin .../editors/images/symbols/small_event.gif | Bin .../images/symbols/small_event_end.gif | Bin .../symbols/small_event_intermediate.gif | Bin .../editors/images/symbols/small_fork.gif | Bin .../images/symbols/small_inclusive.gif | Bin .../editors/images/symbols/small_link.gif | Bin .../editors/images/symbols/small_merge.gif | Bin .../editors/images/symbols/small_message.gif | Bin .../images/symbols/small_message_end.gif | Bin .../symbols/small_message_intermediate.gif | Bin .../editors/images/symbols/small_multiple.gif | Bin .../editors/images/symbols/small_rule.gif | Bin .../images/symbols/small_terminate.gif | Bin .../editors/images/symbols/small_timer.gif | Bin .../editors/images/symbols/terminate.png | Bin .../editors/images/symbols/timer.png | Bin .../examples}/editors/images/tasks.gif | Bin .../examples}/editors/images/text.gif | Bin .../examples}/editors/images/toback.gif | Bin .../examples}/editors/images/tofront.gif | Bin .../examples}/editors/images/toolbar.gif | Bin .../examples}/editors/images/top.gif | Bin .../examples}/editors/images/tree.gif | Bin .../examples}/editors/images/triangle.gif | Bin .../examples}/editors/images/underline.gif | Bin .../examples}/editors/images/undo.gif | Bin .../examples}/editors/images/ungroup.gif | Bin .../examples}/editors/images/up.gif | Bin .../examples}/editors/images/vertical.gif | Bin .../examples}/editors/images/workplace.png | Bin .../examples}/editors/images/wrench.png | Bin .../examples}/editors/images/zoom.gif | Bin .../examples}/editors/images/zoomactual.gif | Bin .../examples}/editors/images/zoomin.gif | Bin .../examples}/editors/images/zoomout.gif | Bin {examples => src/examples}/editors/js/app.js | 0 .../examples}/editors/layouteditor.html | 0 .../examples}/editors/processeditor.html | 0 .../examples}/editors/resources/app.txt | 0 .../examples}/editors/resources/app_de.txt | 0 .../examples}/editors/resources/app_zh.txt | 0 .../examples}/editors/workfloweditor.html | 0 {examples => src/examples}/events.html | 0 {examples => src/examples}/extendcanvas.html | 0 {examples => src/examples}/fileio.html | 0 {examples => src/examples}/fileio.txt | 0 {examples => src/examples}/fileio.xml | 0 {examples => src/examples}/fixedicon.html | 0 {examples => src/examples}/fixedpoints.html | 0 {examples => src/examples}/folding.html | 0 {examples => src/examples}/grapheditor/README | 0 .../com/mxgraph/examples/web/GraphEditor.java | 0 .../com/mxgraph/examples/web/OpenServlet.java | 0 .../grapheditor/www/deflate/base64.js | 0 .../grapheditor/www/deflate/pako.min.js | 0 .../grapheditor/www/images/checkmark.gif | Bin .../grapheditor/www/images/clear.gif | Bin .../grapheditor/www/images/close.png | Bin .../grapheditor/www/images/collapsed.gif | Bin .../grapheditor/www/images/dropdown.gif | Bin .../grapheditor/www/images/dropdown.png | Bin .../examples}/grapheditor/www/images/edit.gif | Bin .../grapheditor/www/images/expanded.gif | Bin .../examples}/grapheditor/www/images/grid.gif | Bin .../grapheditor/www/images/handle-fixed.png | Bin .../grapheditor/www/images/handle-main.png | Bin .../grapheditor/www/images/handle-rotate.png | Bin .../www/images/handle-secondary.png | Bin .../www/images/handle-terminal.png | Bin .../examples}/grapheditor/www/images/help.png | Bin .../grapheditor/www/images/locked.png | Bin .../examples}/grapheditor/www/images/logo.png | Bin .../examples}/grapheditor/www/images/move.png | Bin .../grapheditor/www/images/nocolor.png | Bin .../grapheditor/www/images/refresh.png | Bin .../grapheditor/www/images/round-drop.png | Bin .../grapheditor/www/images/search.png | Bin .../grapheditor/www/images/transparent.gif | Bin .../grapheditor/www/images/triangle-down.png | Bin .../grapheditor/www/images/triangle-left.png | Bin .../grapheditor/www/images/triangle-right.png | Bin .../grapheditor/www/images/triangle-up.png | Bin .../grapheditor/www/images/unlocked.png | Bin .../examples}/grapheditor/www/index.html | 0 .../examples}/grapheditor/www/js/Actions.js | 0 .../examples}/grapheditor/www/js/Dialogs.js | 0 .../examples}/grapheditor/www/js/Editor.js | 0 .../examples}/grapheditor/www/js/EditorUi.js | 0 .../examples}/grapheditor/www/js/Format.js | 0 .../examples}/grapheditor/www/js/Graph.js | 0 .../examples}/grapheditor/www/js/Init.js | 0 .../examples}/grapheditor/www/js/Menus.js | 0 .../examples}/grapheditor/www/js/Shapes.js | 0 .../examples}/grapheditor/www/js/Sidebar.js | 0 .../examples}/grapheditor/www/js/Toolbar.js | 0 .../grapheditor/www/jscolor/arrow.gif | Bin .../grapheditor/www/jscolor/cross.gif | Bin .../examples}/grapheditor/www/jscolor/hs.png | Bin .../examples}/grapheditor/www/jscolor/hv.png | Bin .../grapheditor/www/jscolor/jscolor.js | 0 .../examples}/grapheditor/www/open.html | 0 .../grapheditor/www/resources/grapheditor.txt | 0 .../www/resources/grapheditor_de.txt | 0 .../www/resources/grapheditor_se.txt | 0 .../grapheditor/www/resources/help.html | 0 .../grapheditor/www/resources/help_de.html | 0 .../grapheditor/www/resources/help_se.html | 0 .../www/sanitizer/sanitizer.min.js | 0 .../grapheditor/www/stencils/arrows.xml | 0 .../grapheditor/www/stencils/basic.xml | 0 .../grapheditor/www/stencils/bpmn.xml | 0 .../stencils/clipart/Credit_Card_128x128.png | Bin .../www/stencils/clipart/Database_128x128.png | Bin .../www/stencils/clipart/Doctor1_128x128.png | Bin .../stencils/clipart/Earth_globe_128x128.png | Bin .../www/stencils/clipart/Email_128x128.png | Bin .../stencils/clipart/Empty_Folder_128x128.png | Bin .../stencils/clipart/Firewall_02_128x128.png | Bin .../stencils/clipart/Full_Folder_128x128.png | Bin .../www/stencils/clipart/Gear_128x128.png | Bin .../www/stencils/clipart/Graph_128x128.png | Bin .../www/stencils/clipart/Laptop_128x128.png | Bin .../www/stencils/clipart/Lock_128x128.png | Bin .../www/stencils/clipart/MacBook_128x128.png | Bin .../clipart/Monitor_Tower_128x128.png | Bin .../stencils/clipart/Piggy_Bank_128x128.png | Bin .../www/stencils/clipart/Pilot1_128x128.png | Bin .../www/stencils/clipart/Printer_128x128.png | Bin .../stencils/clipart/Router_Icon_128x128.png | Bin .../www/stencils/clipart/Safe_128x128.png | Bin .../stencils/clipart/Security1_128x128.png | Bin .../stencils/clipart/Server_Tower_128x128.png | Bin .../clipart/Shopping_Cart_128x128.png | Bin .../www/stencils/clipart/Software_128x128.png | Bin .../www/stencils/clipart/Soldier1_128x128.png | Bin .../www/stencils/clipart/Suit1_128x128.png | Bin .../www/stencils/clipart/Suit2_128x128.png | Bin .../www/stencils/clipart/Suit3_128x128.png | Bin .../www/stencils/clipart/Tech1_128x128.png | Bin .../stencils/clipart/Telesales1_128x128.png | Bin .../clipart/Virtual_Machine_128x128.png | Bin .../www/stencils/clipart/Virus_128x128.png | Bin .../clipart/Wireless_Router_N_128x128.png | Bin .../www/stencils/clipart/Worker1_128x128.png | Bin .../stencils/clipart/Workstation_128x128.png | Bin .../www/stencils/clipart/iMac_128x128.png | Bin .../www/stencils/clipart/iPad_128x128.png | Bin .../grapheditor/www/stencils/flowchart.xml | 0 .../grapheditor/www/styles/default.xml | 0 .../examples}/grapheditor/www/styles/down.gif | Bin .../grapheditor/www/styles/grapheditor.css | 0 .../examples}/grapheditor/www/styles/help.css | 0 .../grapheditor/www/styles/sprites.png | Bin .../grapheditor/www/styles/thumb_horz.png | Bin .../grapheditor/www/styles/thumb_vertical.png | Bin .../examples}/grapheditor/www/styles/up.gif | Bin .../examples}/grapheditor/www/viewer.html | 0 {examples => src/examples}/graphlayout.html | 0 {examples => src/examples}/grid.html | 0 {examples => src/examples}/groups.html | 0 {examples => src/examples}/guides.html | 0 {examples => src/examples}/handles.html | 0 {examples => src/examples}/helloport.html | 0 .../examples}/hierarchicallayout.html | 0 {examples => src/examples}/hovericons.html | 0 {examples => src/examples}/hoverstyle.html | 0 {examples => src/examples}/htmllabel.html | 0 {examples => src/examples}/ie9svg.html | 0 {examples => src/examples}/images.html | 0 {examples => src/examples}/images/add.png | Bin {examples => src/examples}/images/camera.png | Bin {examples => src/examples}/images/check.png | Bin {examples => src/examples}/images/close.png | Bin .../examples}/images/connector.gif | Bin {examples => src/examples}/images/copy.png | Bin {examples => src/examples}/images/cut.png | Bin {examples => src/examples}/images/delete2.png | Bin {examples => src/examples}/images/dot.gif | Bin {examples => src/examples}/images/export1.png | Bin .../examples}/images/fit_to_size.png | Bin .../examples}/images/gradient_background.jpg | Bin .../examples}/images/green-dot.gif | Bin {examples => src/examples}/images/group.png | Bin .../examples}/images/handle-connect.png | Bin .../examples}/images/handle-main.png | Bin .../examples}/images/icons48/column.png | Bin .../examples}/images/icons48/earth.png | Bin .../examples}/images/icons48/gear.png | Bin .../examples}/images/icons48/keys.png | Bin .../examples}/images/icons48/mail_new.png | Bin .../examples}/images/icons48/server.png | Bin .../examples}/images/icons48/table.png | Bin {examples => src/examples}/images/key.png | Bin {examples => src/examples}/images/loading.gif | Bin .../examples}/images/navigate_minus.png | Bin .../examples}/images/navigate_plus.png | Bin {examples => src/examples}/images/paste.png | Bin {examples => src/examples}/images/plus.png | Bin {examples => src/examples}/images/press32.png | Bin {examples => src/examples}/images/print32.png | Bin {examples => src/examples}/images/printer.png | Bin {examples => src/examples}/images/redo.png | Bin .../examples}/images/sidebar_bg.gif | Bin {examples => src/examples}/images/spacer.gif | Bin .../examples}/images/toolbar_bg.gif | Bin {examples => src/examples}/images/undo.png | Bin .../examples}/images/view_1_1.png | Bin .../examples}/images/view_1_132.png | Bin .../examples}/images/view_next.png | Bin .../examples}/images/view_previous.png | Bin .../examples}/images/wires-grid.gif | Bin {examples => src/examples}/images/zoom_in.png | Bin .../examples}/images/zoom_in32.png | Bin .../examples}/images/zoom_out.png | Bin .../examples}/images/zoom_out32.png | Bin {examples => src/examples}/indicators.html | 0 {examples => src/examples}/jquery.html | 0 {examples => src/examples}/jsondata.html | 0 {examples => src/examples}/labelposition.html | 0 {examples => src/examples}/labels.html | 0 {examples => src/examples}/layers.html | 0 {examples => src/examples}/lod.html | 0 .../map-background/images/layers-2x.png | Bin .../map-background/images/layers.png | Bin .../map-background/images/marker-icon-2x.png | Bin .../map-background/images/marker-icon.png | Bin .../map-background/images/marker-shadow.png | Bin .../examples}/map-background/leaflet-src.js | 0 .../examples}/map-background/leaflet.css | 0 .../examples}/map-background/leaflet.js | 0 .../map-background/map-background.html | 0 {examples => src/examples}/map.html | 0 {examples => src/examples}/markers.html | 0 {examples => src/examples}/menustyle.html | 0 {examples => src/examples}/merge.html | 0 {examples => src/examples}/monitor.html | 0 {examples => src/examples}/morph.html | 0 {examples => src/examples}/offpage.html | 0 {examples => src/examples}/orgchart.html | 0 {examples => src/examples}/orthogonal.html | 0 {examples => src/examples}/overlays.html | 0 {examples => src/examples}/pagebreaks.html | 0 {examples => src/examples}/perimeter.html | 0 {examples => src/examples}/permissions.html | 0 {examples => src/examples}/portrefs.html | 0 {examples => src/examples}/ports.html | 0 .../examples}/radialtreelayout.html | 0 {examples => src/examples}/resources.html | 0 {examples => src/examples}/schema.html | 0 {examples => src/examples}/scrollbars.html | 0 {examples => src/examples}/secondlabel.html | 0 {examples => src/examples}/serverview.html | 0 {examples => src/examples}/shape.html | 0 {examples => src/examples}/showregion.html | 0 {examples => src/examples}/standardsmode.html | 0 {examples => src/examples}/stencils.html | 0 {examples => src/examples}/stencils.xml | 0 {examples => src/examples}/stylesheet.html | 0 {examples => src/examples}/swimlanes.html | 0 {examples => src/examples}/template.html | 0 {examples => src/examples}/thread.html | 0 {examples => src/examples}/toolbar.html | 0 {examples => src/examples}/touch.html | 0 {examples => src/examples}/tree.html | 0 {examples => src/examples}/uiconfig.html | 0 {examples => src/examples}/uiconfig.xml | 0 {examples => src/examples}/userobject.html | 0 {examples => src/examples}/validation.html | 0 {examples => src/examples}/visibility.html | 0 .../examples}/webpack/anchors.html | 0 .../examples}/webpack/src/anchors.js | 0 {examples => src/examples}/windows.html | 0 {examples => src/examples}/wires.html | 0 {examples => src/examples}/wrapping.html | 0 src/js/view/mxGraph.js | 26 +++++- 440 files changed, 102 insertions(+), 75 deletions(-) delete mode 100644 examples/helloworld.html create mode 100644 src/examples/HelloWorld.js rename {examples => src/examples}/anchors.html (100%) rename {examples => src/examples}/animation.html (100%) rename {examples => src/examples}/autolayout.html (100%) rename {examples => src/examples}/boundary.html (100%) rename {examples => src/examples}/clipboard.html (100%) rename {examples => src/examples}/codec.html (100%) rename {examples => src/examples}/collapse.html (100%) rename {examples => src/examples}/constituent.html (100%) rename {examples => src/examples}/contexticons.html (100%) rename {examples => src/examples}/control.html (100%) rename {examples => src/examples}/dragsource.html (100%) rename {examples => src/examples}/drop.html (100%) rename {examples => src/examples}/dynamicloading.html (100%) rename {examples => src/examples}/dynamicstyle.html (100%) rename {examples => src/examples}/dynamictoolbar.html (100%) rename {examples => src/examples}/edgetolerance.html (100%) rename {examples => src/examples}/editing.html (100%) rename {examples => src/examples}/editors/config/diagrameditor.xml (100%) rename {examples => src/examples}/editors/config/editor-commons.xml (100%) rename {examples => src/examples}/editors/config/keyhandler-commons.xml (100%) rename {examples => src/examples}/editors/config/keyhandler-minimal.xml (100%) rename {examples => src/examples}/editors/config/layouteditor.xml (100%) rename {examples => src/examples}/editors/config/processeditor.xml (100%) rename {examples => src/examples}/editors/config/wfeditor-commons.xml (100%) rename {examples => src/examples}/editors/config/wfgraph-commons.xml (100%) rename {examples => src/examples}/editors/config/wftoolbar-commons.xml (100%) rename {examples => src/examples}/editors/config/workfloweditor.xml (100%) rename {examples => src/examples}/editors/css/process.css (100%) rename {examples => src/examples}/editors/css/wordpress.css (100%) rename {examples => src/examples}/editors/diagrameditor.html (100%) rename {examples => src/examples}/editors/diagrams/empty.xml (100%) rename {examples => src/examples}/editors/diagrams/swimlanes.xml (100%) rename {examples => src/examples}/editors/diagrams/travel-booking.xml (100%) rename {examples => src/examples}/editors/diagrams/withdrawal.xml (100%) rename {examples => src/examples}/editors/grapheditor.html (100%) rename {examples => src/examples}/editors/help/index-all.html (100%) rename {examples => src/examples}/editors/help/index.html (100%) rename {examples => src/examples}/editors/images/actor.gif (100%) rename {examples => src/examples}/editors/images/alignbottom.gif (100%) rename {examples => src/examples}/editors/images/aligncenter.gif (100%) rename {examples => src/examples}/editors/images/alignleft.gif (100%) rename {examples => src/examples}/editors/images/alignmiddle.gif (100%) rename {examples => src/examples}/editors/images/alignright.gif (100%) rename {examples => src/examples}/editors/images/aligntop.gif (100%) rename {examples => src/examples}/editors/images/arrow.gif (100%) rename {examples => src/examples}/editors/images/bell.png (100%) rename {examples => src/examples}/editors/images/bg.gif (100%) rename {examples => src/examples}/editors/images/block_end.gif (100%) rename {examples => src/examples}/editors/images/block_start.gif (100%) rename {examples => src/examples}/editors/images/bold.gif (100%) rename {examples => src/examples}/editors/images/bottom.gif (100%) rename {examples => src/examples}/editors/images/box.png (100%) rename {examples => src/examples}/editors/images/camera.gif (100%) rename {examples => src/examples}/editors/images/center.gif (100%) rename {examples => src/examples}/editors/images/classic_end.gif (100%) rename {examples => src/examples}/editors/images/classic_start.gif (100%) rename {examples => src/examples}/editors/images/cloud.gif (100%) rename {examples => src/examples}/editors/images/cmp-bg.gif (100%) rename {examples => src/examples}/editors/images/collapse.gif (100%) rename {examples => src/examples}/editors/images/connect.gif (100%) rename {examples => src/examples}/editors/images/connector.gif (100%) rename {examples => src/examples}/editors/images/console.gif (100%) rename {examples => src/examples}/editors/images/copy.gif (100%) rename {examples => src/examples}/editors/images/cube_green.png (100%) rename {examples => src/examples}/editors/images/cut.gif (100%) rename {examples => src/examples}/editors/images/cylinder.gif (100%) rename {examples => src/examples}/editors/images/delete.gif (100%) rename {examples => src/examples}/editors/images/diagram.gif (100%) rename {examples => src/examples}/editors/images/diamond_end.gif (100%) rename {examples => src/examples}/editors/images/diamond_start.gif (100%) rename {examples => src/examples}/editors/images/doubleellipse.gif (100%) rename {examples => src/examples}/editors/images/down.gif (100%) rename {examples => src/examples}/editors/images/draw/drawbg.jpg (100%) rename {examples => src/examples}/editors/images/draw/drawbgcolor.jpg (100%) rename {examples => src/examples}/editors/images/draw/drawfooter.jpg (100%) rename {examples => src/examples}/editors/images/draw/drawheader.jpg (100%) rename {examples => src/examples}/editors/images/draw/mxlogo.jpg (100%) rename {examples => src/examples}/editors/images/dude3.png (100%) rename {examples => src/examples}/editors/images/earth.png (100%) rename {examples => src/examples}/editors/images/ellipse.gif (100%) rename {examples => src/examples}/editors/images/entity.gif (100%) rename {examples => src/examples}/editors/images/expand.gif (100%) rename {examples => src/examples}/editors/images/fillcolor.gif (100%) rename {examples => src/examples}/editors/images/fit.gif (100%) rename {examples => src/examples}/editors/images/font.gif (100%) rename {examples => src/examples}/editors/images/fontcolor.gif (100%) rename {examples => src/examples}/editors/images/gear.gif (100%) rename {examples => src/examples}/editors/images/gear.png (100%) rename {examples => src/examples}/editors/images/grid.gif (100%) rename {examples => src/examples}/editors/images/group.gif (100%) rename {examples => src/examples}/editors/images/help.gif (100%) rename {examples => src/examples}/editors/images/hexagon.gif (100%) rename {examples => src/examples}/editors/images/hline.gif (100%) rename {examples => src/examples}/editors/images/house.gif (100%) rename {examples => src/examples}/editors/images/house.png (100%) rename {examples => src/examples}/editors/images/image.gif (100%) rename {examples => src/examples}/editors/images/italic.gif (100%) rename {examples => src/examples}/editors/images/left.gif (100%) rename {examples => src/examples}/editors/images/linecolor.gif (100%) rename {examples => src/examples}/editors/images/link.gif (100%) rename {examples => src/examples}/editors/images/loading.gif (100%) rename {examples => src/examples}/editors/images/middle.gif (100%) rename {examples => src/examples}/editors/images/new.gif (100%) rename {examples => src/examples}/editors/images/open.gif (100%) rename {examples => src/examples}/editors/images/open_end.gif (100%) rename {examples => src/examples}/editors/images/open_start.gif (100%) rename {examples => src/examples}/editors/images/outline.gif (100%) rename {examples => src/examples}/editors/images/oval_end.gif (100%) rename {examples => src/examples}/editors/images/oval_start.gif (100%) rename {examples => src/examples}/editors/images/overlays/check.png (100%) rename {examples => src/examples}/editors/images/overlays/error.png (100%) rename {examples => src/examples}/editors/images/overlays/flash.png (100%) rename {examples => src/examples}/editors/images/overlays/forbidden.png (100%) rename {examples => src/examples}/editors/images/overlays/help.png (100%) rename {examples => src/examples}/editors/images/overlays/house.png (100%) rename {examples => src/examples}/editors/images/overlays/information.png (100%) rename {examples => src/examples}/editors/images/overlays/lightbulb_on.png (100%) rename {examples => src/examples}/editors/images/overlays/pencil.png (100%) rename {examples => src/examples}/editors/images/overlays/printer.png (100%) rename {examples => src/examples}/editors/images/overlays/user3.png (100%) rename {examples => src/examples}/editors/images/overlays/users3.png (100%) rename {examples => src/examples}/editors/images/overlays/workplace.png (100%) rename {examples => src/examples}/editors/images/package.png (100%) rename {examples => src/examples}/editors/images/pan.gif (100%) rename {examples => src/examples}/editors/images/paste.gif (100%) rename {examples => src/examples}/editors/images/plain.gif (100%) rename {examples => src/examples}/editors/images/preferences.gif (100%) rename {examples => src/examples}/editors/images/press.gif (100%) rename {examples => src/examples}/editors/images/preview.gif (100%) rename {examples => src/examples}/editors/images/print.gif (100%) rename {examples => src/examples}/editors/images/printer.png (100%) rename {examples => src/examples}/editors/images/properties.gif (100%) rename {examples => src/examples}/editors/images/rectangle.gif (100%) rename {examples => src/examples}/editors/images/redo.gif (100%) rename {examples => src/examples}/editors/images/refresh.gif (100%) rename {examples => src/examples}/editors/images/rhombus.gif (100%) rename {examples => src/examples}/editors/images/right.gif (100%) rename {examples => src/examples}/editors/images/rounded.gif (100%) rename {examples => src/examples}/editors/images/save.gif (100%) rename {examples => src/examples}/editors/images/saveas.gif (100%) rename {examples => src/examples}/editors/images/script.gif (100%) rename {examples => src/examples}/editors/images/select.gif (100%) rename {examples => src/examples}/editors/images/server.png (100%) rename {examples => src/examples}/editors/images/straight.gif (100%) rename {examples => src/examples}/editors/images/swimlane.gif (100%) rename {examples => src/examples}/editors/images/symbols/cancel_end.png (100%) rename {examples => src/examples}/editors/images/symbols/cancel_intermediate.png (100%) rename {examples => src/examples}/editors/images/symbols/error.png (100%) rename {examples => src/examples}/editors/images/symbols/event.png (100%) rename {examples => src/examples}/editors/images/symbols/event_end.png (100%) rename {examples => src/examples}/editors/images/symbols/event_intermediate.png (100%) rename {examples => src/examples}/editors/images/symbols/fork.png (100%) rename {examples => src/examples}/editors/images/symbols/inclusive.png (100%) rename {examples => src/examples}/editors/images/symbols/link.png (100%) rename {examples => src/examples}/editors/images/symbols/merge.png (100%) rename {examples => src/examples}/editors/images/symbols/message.png (100%) rename {examples => src/examples}/editors/images/symbols/message_end.png (100%) rename {examples => src/examples}/editors/images/symbols/message_intermediate.png (100%) rename {examples => src/examples}/editors/images/symbols/multiple.png (100%) rename {examples => src/examples}/editors/images/symbols/rule.png (100%) rename {examples => src/examples}/editors/images/symbols/small_cancel_end.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_cancel_intermediate.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_error.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_event.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_event_end.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_event_intermediate.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_fork.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_inclusive.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_link.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_merge.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_message.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_message_end.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_message_intermediate.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_multiple.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_rule.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_terminate.gif (100%) rename {examples => src/examples}/editors/images/symbols/small_timer.gif (100%) rename {examples => src/examples}/editors/images/symbols/terminate.png (100%) rename {examples => src/examples}/editors/images/symbols/timer.png (100%) rename {examples => src/examples}/editors/images/tasks.gif (100%) rename {examples => src/examples}/editors/images/text.gif (100%) rename {examples => src/examples}/editors/images/toback.gif (100%) rename {examples => src/examples}/editors/images/tofront.gif (100%) rename {examples => src/examples}/editors/images/toolbar.gif (100%) rename {examples => src/examples}/editors/images/top.gif (100%) rename {examples => src/examples}/editors/images/tree.gif (100%) rename {examples => src/examples}/editors/images/triangle.gif (100%) rename {examples => src/examples}/editors/images/underline.gif (100%) rename {examples => src/examples}/editors/images/undo.gif (100%) rename {examples => src/examples}/editors/images/ungroup.gif (100%) rename {examples => src/examples}/editors/images/up.gif (100%) rename {examples => src/examples}/editors/images/vertical.gif (100%) rename {examples => src/examples}/editors/images/workplace.png (100%) rename {examples => src/examples}/editors/images/wrench.png (100%) rename {examples => src/examples}/editors/images/zoom.gif (100%) rename {examples => src/examples}/editors/images/zoomactual.gif (100%) rename {examples => src/examples}/editors/images/zoomin.gif (100%) rename {examples => src/examples}/editors/images/zoomout.gif (100%) rename {examples => src/examples}/editors/js/app.js (100%) rename {examples => src/examples}/editors/layouteditor.html (100%) rename {examples => src/examples}/editors/processeditor.html (100%) rename {examples => src/examples}/editors/resources/app.txt (100%) rename {examples => src/examples}/editors/resources/app_de.txt (100%) rename {examples => src/examples}/editors/resources/app_zh.txt (100%) rename {examples => src/examples}/editors/workfloweditor.html (100%) rename {examples => src/examples}/events.html (100%) rename {examples => src/examples}/extendcanvas.html (100%) rename {examples => src/examples}/fileio.html (100%) rename {examples => src/examples}/fileio.txt (100%) rename {examples => src/examples}/fileio.xml (100%) rename {examples => src/examples}/fixedicon.html (100%) rename {examples => src/examples}/fixedpoints.html (100%) rename {examples => src/examples}/folding.html (100%) rename {examples => src/examples}/grapheditor/README (100%) rename {examples => src/examples}/grapheditor/java/src/com/mxgraph/examples/web/GraphEditor.java (100%) rename {examples => src/examples}/grapheditor/java/src/com/mxgraph/examples/web/OpenServlet.java (100%) rename {examples => src/examples}/grapheditor/www/deflate/base64.js (100%) rename {examples => src/examples}/grapheditor/www/deflate/pako.min.js (100%) rename {examples => src/examples}/grapheditor/www/images/checkmark.gif (100%) rename {examples => src/examples}/grapheditor/www/images/clear.gif (100%) rename {examples => src/examples}/grapheditor/www/images/close.png (100%) rename {examples => src/examples}/grapheditor/www/images/collapsed.gif (100%) rename {examples => src/examples}/grapheditor/www/images/dropdown.gif (100%) rename {examples => src/examples}/grapheditor/www/images/dropdown.png (100%) rename {examples => src/examples}/grapheditor/www/images/edit.gif (100%) rename {examples => src/examples}/grapheditor/www/images/expanded.gif (100%) rename {examples => src/examples}/grapheditor/www/images/grid.gif (100%) rename {examples => src/examples}/grapheditor/www/images/handle-fixed.png (100%) rename {examples => src/examples}/grapheditor/www/images/handle-main.png (100%) rename {examples => src/examples}/grapheditor/www/images/handle-rotate.png (100%) rename {examples => src/examples}/grapheditor/www/images/handle-secondary.png (100%) rename {examples => src/examples}/grapheditor/www/images/handle-terminal.png (100%) rename {examples => src/examples}/grapheditor/www/images/help.png (100%) rename {examples => src/examples}/grapheditor/www/images/locked.png (100%) rename {examples => src/examples}/grapheditor/www/images/logo.png (100%) rename {examples => src/examples}/grapheditor/www/images/move.png (100%) rename {examples => src/examples}/grapheditor/www/images/nocolor.png (100%) rename {examples => src/examples}/grapheditor/www/images/refresh.png (100%) rename {examples => src/examples}/grapheditor/www/images/round-drop.png (100%) rename {examples => src/examples}/grapheditor/www/images/search.png (100%) rename {examples => src/examples}/grapheditor/www/images/transparent.gif (100%) rename {examples => src/examples}/grapheditor/www/images/triangle-down.png (100%) rename {examples => src/examples}/grapheditor/www/images/triangle-left.png (100%) rename {examples => src/examples}/grapheditor/www/images/triangle-right.png (100%) rename {examples => src/examples}/grapheditor/www/images/triangle-up.png (100%) rename {examples => src/examples}/grapheditor/www/images/unlocked.png (100%) rename {examples => src/examples}/grapheditor/www/index.html (100%) rename {examples => src/examples}/grapheditor/www/js/Actions.js (100%) rename {examples => src/examples}/grapheditor/www/js/Dialogs.js (100%) rename {examples => src/examples}/grapheditor/www/js/Editor.js (100%) rename {examples => src/examples}/grapheditor/www/js/EditorUi.js (100%) rename {examples => src/examples}/grapheditor/www/js/Format.js (100%) rename {examples => src/examples}/grapheditor/www/js/Graph.js (100%) rename {examples => src/examples}/grapheditor/www/js/Init.js (100%) rename {examples => src/examples}/grapheditor/www/js/Menus.js (100%) rename {examples => src/examples}/grapheditor/www/js/Shapes.js (100%) rename {examples => src/examples}/grapheditor/www/js/Sidebar.js (100%) rename {examples => src/examples}/grapheditor/www/js/Toolbar.js (100%) rename {examples => src/examples}/grapheditor/www/jscolor/arrow.gif (100%) rename {examples => src/examples}/grapheditor/www/jscolor/cross.gif (100%) rename {examples => src/examples}/grapheditor/www/jscolor/hs.png (100%) rename {examples => src/examples}/grapheditor/www/jscolor/hv.png (100%) rename {examples => src/examples}/grapheditor/www/jscolor/jscolor.js (100%) rename {examples => src/examples}/grapheditor/www/open.html (100%) rename {examples => src/examples}/grapheditor/www/resources/grapheditor.txt (100%) rename {examples => src/examples}/grapheditor/www/resources/grapheditor_de.txt (100%) rename {examples => src/examples}/grapheditor/www/resources/grapheditor_se.txt (100%) rename {examples => src/examples}/grapheditor/www/resources/help.html (100%) rename {examples => src/examples}/grapheditor/www/resources/help_de.html (100%) rename {examples => src/examples}/grapheditor/www/resources/help_se.html (100%) rename {examples => src/examples}/grapheditor/www/sanitizer/sanitizer.min.js (100%) rename {examples => src/examples}/grapheditor/www/stencils/arrows.xml (100%) rename {examples => src/examples}/grapheditor/www/stencils/basic.xml (100%) rename {examples => src/examples}/grapheditor/www/stencils/bpmn.xml (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Credit_Card_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Database_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Doctor1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Earth_globe_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Email_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Empty_Folder_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Firewall_02_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Full_Folder_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Gear_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Graph_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Laptop_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Lock_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/MacBook_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Monitor_Tower_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Piggy_Bank_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Pilot1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Printer_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Router_Icon_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Safe_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Security1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Server_Tower_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Shopping_Cart_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Software_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Soldier1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Suit1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Suit2_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Suit3_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Tech1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Telesales1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Virtual_Machine_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Virus_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Wireless_Router_N_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Worker1_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/Workstation_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/iMac_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/clipart/iPad_128x128.png (100%) rename {examples => src/examples}/grapheditor/www/stencils/flowchart.xml (100%) rename {examples => src/examples}/grapheditor/www/styles/default.xml (100%) rename {examples => src/examples}/grapheditor/www/styles/down.gif (100%) rename {examples => src/examples}/grapheditor/www/styles/grapheditor.css (100%) rename {examples => src/examples}/grapheditor/www/styles/help.css (100%) rename {examples => src/examples}/grapheditor/www/styles/sprites.png (100%) rename {examples => src/examples}/grapheditor/www/styles/thumb_horz.png (100%) rename {examples => src/examples}/grapheditor/www/styles/thumb_vertical.png (100%) rename {examples => src/examples}/grapheditor/www/styles/up.gif (100%) rename {examples => src/examples}/grapheditor/www/viewer.html (100%) rename {examples => src/examples}/graphlayout.html (100%) rename {examples => src/examples}/grid.html (100%) rename {examples => src/examples}/groups.html (100%) rename {examples => src/examples}/guides.html (100%) rename {examples => src/examples}/handles.html (100%) rename {examples => src/examples}/helloport.html (100%) rename {examples => src/examples}/hierarchicallayout.html (100%) rename {examples => src/examples}/hovericons.html (100%) rename {examples => src/examples}/hoverstyle.html (100%) rename {examples => src/examples}/htmllabel.html (100%) rename {examples => src/examples}/ie9svg.html (100%) rename {examples => src/examples}/images.html (100%) rename {examples => src/examples}/images/add.png (100%) rename {examples => src/examples}/images/camera.png (100%) rename {examples => src/examples}/images/check.png (100%) rename {examples => src/examples}/images/close.png (100%) rename {examples => src/examples}/images/connector.gif (100%) rename {examples => src/examples}/images/copy.png (100%) rename {examples => src/examples}/images/cut.png (100%) rename {examples => src/examples}/images/delete2.png (100%) rename {examples => src/examples}/images/dot.gif (100%) rename {examples => src/examples}/images/export1.png (100%) rename {examples => src/examples}/images/fit_to_size.png (100%) rename {examples => src/examples}/images/gradient_background.jpg (100%) rename {examples => src/examples}/images/green-dot.gif (100%) rename {examples => src/examples}/images/group.png (100%) rename {examples => src/examples}/images/handle-connect.png (100%) rename {examples => src/examples}/images/handle-main.png (100%) rename {examples => src/examples}/images/icons48/column.png (100%) rename {examples => src/examples}/images/icons48/earth.png (100%) rename {examples => src/examples}/images/icons48/gear.png (100%) rename {examples => src/examples}/images/icons48/keys.png (100%) rename {examples => src/examples}/images/icons48/mail_new.png (100%) rename {examples => src/examples}/images/icons48/server.png (100%) rename {examples => src/examples}/images/icons48/table.png (100%) rename {examples => src/examples}/images/key.png (100%) rename {examples => src/examples}/images/loading.gif (100%) rename {examples => src/examples}/images/navigate_minus.png (100%) rename {examples => src/examples}/images/navigate_plus.png (100%) rename {examples => src/examples}/images/paste.png (100%) rename {examples => src/examples}/images/plus.png (100%) rename {examples => src/examples}/images/press32.png (100%) rename {examples => src/examples}/images/print32.png (100%) rename {examples => src/examples}/images/printer.png (100%) rename {examples => src/examples}/images/redo.png (100%) rename {examples => src/examples}/images/sidebar_bg.gif (100%) rename {examples => src/examples}/images/spacer.gif (100%) rename {examples => src/examples}/images/toolbar_bg.gif (100%) rename {examples => src/examples}/images/undo.png (100%) rename {examples => src/examples}/images/view_1_1.png (100%) rename {examples => src/examples}/images/view_1_132.png (100%) rename {examples => src/examples}/images/view_next.png (100%) rename {examples => src/examples}/images/view_previous.png (100%) rename {examples => src/examples}/images/wires-grid.gif (100%) rename {examples => src/examples}/images/zoom_in.png (100%) rename {examples => src/examples}/images/zoom_in32.png (100%) rename {examples => src/examples}/images/zoom_out.png (100%) rename {examples => src/examples}/images/zoom_out32.png (100%) rename {examples => src/examples}/indicators.html (100%) rename {examples => src/examples}/jquery.html (100%) rename {examples => src/examples}/jsondata.html (100%) rename {examples => src/examples}/labelposition.html (100%) rename {examples => src/examples}/labels.html (100%) rename {examples => src/examples}/layers.html (100%) rename {examples => src/examples}/lod.html (100%) rename {examples => src/examples}/map-background/images/layers-2x.png (100%) rename {examples => src/examples}/map-background/images/layers.png (100%) rename {examples => src/examples}/map-background/images/marker-icon-2x.png (100%) rename {examples => src/examples}/map-background/images/marker-icon.png (100%) rename {examples => src/examples}/map-background/images/marker-shadow.png (100%) rename {examples => src/examples}/map-background/leaflet-src.js (100%) rename {examples => src/examples}/map-background/leaflet.css (100%) rename {examples => src/examples}/map-background/leaflet.js (100%) rename {examples => src/examples}/map-background/map-background.html (100%) rename {examples => src/examples}/map.html (100%) rename {examples => src/examples}/markers.html (100%) rename {examples => src/examples}/menustyle.html (100%) rename {examples => src/examples}/merge.html (100%) rename {examples => src/examples}/monitor.html (100%) rename {examples => src/examples}/morph.html (100%) rename {examples => src/examples}/offpage.html (100%) rename {examples => src/examples}/orgchart.html (100%) rename {examples => src/examples}/orthogonal.html (100%) rename {examples => src/examples}/overlays.html (100%) rename {examples => src/examples}/pagebreaks.html (100%) rename {examples => src/examples}/perimeter.html (100%) rename {examples => src/examples}/permissions.html (100%) rename {examples => src/examples}/portrefs.html (100%) rename {examples => src/examples}/ports.html (100%) rename {examples => src/examples}/radialtreelayout.html (100%) rename {examples => src/examples}/resources.html (100%) rename {examples => src/examples}/schema.html (100%) rename {examples => src/examples}/scrollbars.html (100%) rename {examples => src/examples}/secondlabel.html (100%) rename {examples => src/examples}/serverview.html (100%) rename {examples => src/examples}/shape.html (100%) rename {examples => src/examples}/showregion.html (100%) rename {examples => src/examples}/standardsmode.html (100%) rename {examples => src/examples}/stencils.html (100%) rename {examples => src/examples}/stencils.xml (100%) rename {examples => src/examples}/stylesheet.html (100%) rename {examples => src/examples}/swimlanes.html (100%) rename {examples => src/examples}/template.html (100%) rename {examples => src/examples}/thread.html (100%) rename {examples => src/examples}/toolbar.html (100%) rename {examples => src/examples}/touch.html (100%) rename {examples => src/examples}/tree.html (100%) rename {examples => src/examples}/uiconfig.html (100%) rename {examples => src/examples}/uiconfig.xml (100%) rename {examples => src/examples}/userobject.html (100%) rename {examples => src/examples}/validation.html (100%) rename {examples => src/examples}/visibility.html (100%) rename {examples => src/examples}/webpack/anchors.html (100%) rename {examples => src/examples}/webpack/src/anchors.js (100%) rename {examples => src/examples}/windows.html (100%) rename {examples => src/examples}/wires.html (100%) rename {examples => src/examples}/wrapping.html (100%) diff --git a/examples/helloworld.html b/examples/helloworld.html deleted file mode 100644 index 0a95d9c7f..000000000 --- a/examples/helloworld.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - Hello, World! example for mxGraph - - - - - - - - - - - - - - - -
-
- - diff --git a/src/examples/HelloWorld.js b/src/examples/HelloWorld.js new file mode 100644 index 000000000..0cbc6a966 --- /dev/null +++ b/src/examples/HelloWorld.js @@ -0,0 +1,78 @@ +/* + * Copyright (c) 2006-2018, JGraph Ltd + * + * Hello, World! example for mxGraph. This example demonstrates using + * a DOM node to create a graph and adding vertices and edges. +*/ + +import React from "react"; +import mxGraph from "../js/view/mxGraph"; +import mxRubberband from "../js/handler/mxRubberband"; + +class HelloWorld extends React.Component { + constructor(props) { + super(props); + } + + render() { + // A container for the graph with a grid wallpaper + return <> +

Hello, World! example for mxGraph

+ +
{this.el = el;} } + style={{ + position: "relative", + overflow: "hidden", + width: "321px", + height: "241px", + background: "url('editors/images/grid.gif')", + cursor: "default" + }}/> + ; + } + + componentDidMount() { + // FIXME!! + let mxBasePath = '../src'; + + // Create a sample graph in the DOM node with the specified ID. + mxEvent.disableContextMenu(this.el); // Disable the built-in context menu + let graph = new mxGraph(this.el); // Create the graph inside the given container + new mxRubberband(graph); // Enable rubberband selection + + // Get the default parent for inserting new cells. This + // is normally the first child of the root (ie. layer 0). + let parent = graph.getDefaultParent(); + + // Adds cells to the model in a single step + graph.getModel().beginUpdate(); + try { + let v1 = graph.insertVertex({ + id: null, + parent: parent, + value: 'Hello,', + position: [20, 20], + size: [80, 30] + }); + let v2 = graph.insertVertex({ + id: null, + parent: parent, + value: 'World!', + position: [200, 150], + size: [80, 30] + }); + graph.insertEdge({ + id: null, + parent: parent, + value: '', + source: v1, + target: v2 + }); + } finally { + // Updates the display + graph.getModel().endUpdate(); + } + } +} + +export default HelloWorld; diff --git a/examples/anchors.html b/src/examples/anchors.html similarity index 100% rename from examples/anchors.html rename to src/examples/anchors.html diff --git a/examples/animation.html b/src/examples/animation.html similarity index 100% rename from examples/animation.html rename to src/examples/animation.html diff --git a/examples/autolayout.html b/src/examples/autolayout.html similarity index 100% rename from examples/autolayout.html rename to src/examples/autolayout.html diff --git a/examples/boundary.html b/src/examples/boundary.html similarity index 100% rename from examples/boundary.html rename to src/examples/boundary.html diff --git a/examples/clipboard.html b/src/examples/clipboard.html similarity index 100% rename from examples/clipboard.html rename to src/examples/clipboard.html diff --git a/examples/codec.html b/src/examples/codec.html similarity index 100% rename from examples/codec.html rename to src/examples/codec.html diff --git a/examples/collapse.html b/src/examples/collapse.html similarity index 100% rename from examples/collapse.html rename to src/examples/collapse.html diff --git a/examples/constituent.html b/src/examples/constituent.html similarity index 100% rename from examples/constituent.html rename to src/examples/constituent.html diff --git a/examples/contexticons.html b/src/examples/contexticons.html similarity index 100% rename from examples/contexticons.html rename to src/examples/contexticons.html diff --git a/examples/control.html b/src/examples/control.html similarity index 100% rename from examples/control.html rename to src/examples/control.html diff --git a/examples/dragsource.html b/src/examples/dragsource.html similarity index 100% rename from examples/dragsource.html rename to src/examples/dragsource.html diff --git a/examples/drop.html b/src/examples/drop.html similarity index 100% rename from examples/drop.html rename to src/examples/drop.html diff --git a/examples/dynamicloading.html b/src/examples/dynamicloading.html similarity index 100% rename from examples/dynamicloading.html rename to src/examples/dynamicloading.html diff --git a/examples/dynamicstyle.html b/src/examples/dynamicstyle.html similarity index 100% rename from examples/dynamicstyle.html rename to src/examples/dynamicstyle.html diff --git a/examples/dynamictoolbar.html b/src/examples/dynamictoolbar.html similarity index 100% rename from examples/dynamictoolbar.html rename to src/examples/dynamictoolbar.html diff --git a/examples/edgetolerance.html b/src/examples/edgetolerance.html similarity index 100% rename from examples/edgetolerance.html rename to src/examples/edgetolerance.html diff --git a/examples/editing.html b/src/examples/editing.html similarity index 100% rename from examples/editing.html rename to src/examples/editing.html diff --git a/examples/editors/config/diagrameditor.xml b/src/examples/editors/config/diagrameditor.xml similarity index 100% rename from examples/editors/config/diagrameditor.xml rename to src/examples/editors/config/diagrameditor.xml diff --git a/examples/editors/config/editor-commons.xml b/src/examples/editors/config/editor-commons.xml similarity index 100% rename from examples/editors/config/editor-commons.xml rename to src/examples/editors/config/editor-commons.xml diff --git a/examples/editors/config/keyhandler-commons.xml b/src/examples/editors/config/keyhandler-commons.xml similarity index 100% rename from examples/editors/config/keyhandler-commons.xml rename to src/examples/editors/config/keyhandler-commons.xml diff --git a/examples/editors/config/keyhandler-minimal.xml b/src/examples/editors/config/keyhandler-minimal.xml similarity index 100% rename from examples/editors/config/keyhandler-minimal.xml rename to src/examples/editors/config/keyhandler-minimal.xml diff --git a/examples/editors/config/layouteditor.xml b/src/examples/editors/config/layouteditor.xml similarity index 100% rename from examples/editors/config/layouteditor.xml rename to src/examples/editors/config/layouteditor.xml diff --git a/examples/editors/config/processeditor.xml b/src/examples/editors/config/processeditor.xml similarity index 100% rename from examples/editors/config/processeditor.xml rename to src/examples/editors/config/processeditor.xml diff --git a/examples/editors/config/wfeditor-commons.xml b/src/examples/editors/config/wfeditor-commons.xml similarity index 100% rename from examples/editors/config/wfeditor-commons.xml rename to src/examples/editors/config/wfeditor-commons.xml diff --git a/examples/editors/config/wfgraph-commons.xml b/src/examples/editors/config/wfgraph-commons.xml similarity index 100% rename from examples/editors/config/wfgraph-commons.xml rename to src/examples/editors/config/wfgraph-commons.xml diff --git a/examples/editors/config/wftoolbar-commons.xml b/src/examples/editors/config/wftoolbar-commons.xml similarity index 100% rename from examples/editors/config/wftoolbar-commons.xml rename to src/examples/editors/config/wftoolbar-commons.xml diff --git a/examples/editors/config/workfloweditor.xml b/src/examples/editors/config/workfloweditor.xml similarity index 100% rename from examples/editors/config/workfloweditor.xml rename to src/examples/editors/config/workfloweditor.xml diff --git a/examples/editors/css/process.css b/src/examples/editors/css/process.css similarity index 100% rename from examples/editors/css/process.css rename to src/examples/editors/css/process.css diff --git a/examples/editors/css/wordpress.css b/src/examples/editors/css/wordpress.css similarity index 100% rename from examples/editors/css/wordpress.css rename to src/examples/editors/css/wordpress.css diff --git a/examples/editors/diagrameditor.html b/src/examples/editors/diagrameditor.html similarity index 100% rename from examples/editors/diagrameditor.html rename to src/examples/editors/diagrameditor.html diff --git a/examples/editors/diagrams/empty.xml b/src/examples/editors/diagrams/empty.xml similarity index 100% rename from examples/editors/diagrams/empty.xml rename to src/examples/editors/diagrams/empty.xml diff --git a/examples/editors/diagrams/swimlanes.xml b/src/examples/editors/diagrams/swimlanes.xml similarity index 100% rename from examples/editors/diagrams/swimlanes.xml rename to src/examples/editors/diagrams/swimlanes.xml diff --git a/examples/editors/diagrams/travel-booking.xml b/src/examples/editors/diagrams/travel-booking.xml similarity index 100% rename from examples/editors/diagrams/travel-booking.xml rename to src/examples/editors/diagrams/travel-booking.xml diff --git a/examples/editors/diagrams/withdrawal.xml b/src/examples/editors/diagrams/withdrawal.xml similarity index 100% rename from examples/editors/diagrams/withdrawal.xml rename to src/examples/editors/diagrams/withdrawal.xml diff --git a/examples/editors/grapheditor.html b/src/examples/editors/grapheditor.html similarity index 100% rename from examples/editors/grapheditor.html rename to src/examples/editors/grapheditor.html diff --git a/examples/editors/help/index-all.html b/src/examples/editors/help/index-all.html similarity index 100% rename from examples/editors/help/index-all.html rename to src/examples/editors/help/index-all.html diff --git a/examples/editors/help/index.html b/src/examples/editors/help/index.html similarity index 100% rename from examples/editors/help/index.html rename to src/examples/editors/help/index.html diff --git a/examples/editors/images/actor.gif b/src/examples/editors/images/actor.gif similarity index 100% rename from examples/editors/images/actor.gif rename to src/examples/editors/images/actor.gif diff --git a/examples/editors/images/alignbottom.gif b/src/examples/editors/images/alignbottom.gif similarity index 100% rename from examples/editors/images/alignbottom.gif rename to src/examples/editors/images/alignbottom.gif diff --git a/examples/editors/images/aligncenter.gif b/src/examples/editors/images/aligncenter.gif similarity index 100% rename from examples/editors/images/aligncenter.gif rename to src/examples/editors/images/aligncenter.gif diff --git a/examples/editors/images/alignleft.gif b/src/examples/editors/images/alignleft.gif similarity index 100% rename from examples/editors/images/alignleft.gif rename to src/examples/editors/images/alignleft.gif diff --git a/examples/editors/images/alignmiddle.gif b/src/examples/editors/images/alignmiddle.gif similarity index 100% rename from examples/editors/images/alignmiddle.gif rename to src/examples/editors/images/alignmiddle.gif diff --git a/examples/editors/images/alignright.gif b/src/examples/editors/images/alignright.gif similarity index 100% rename from examples/editors/images/alignright.gif rename to src/examples/editors/images/alignright.gif diff --git a/examples/editors/images/aligntop.gif b/src/examples/editors/images/aligntop.gif similarity index 100% rename from examples/editors/images/aligntop.gif rename to src/examples/editors/images/aligntop.gif diff --git a/examples/editors/images/arrow.gif b/src/examples/editors/images/arrow.gif similarity index 100% rename from examples/editors/images/arrow.gif rename to src/examples/editors/images/arrow.gif diff --git a/examples/editors/images/bell.png b/src/examples/editors/images/bell.png similarity index 100% rename from examples/editors/images/bell.png rename to src/examples/editors/images/bell.png diff --git a/examples/editors/images/bg.gif b/src/examples/editors/images/bg.gif similarity index 100% rename from examples/editors/images/bg.gif rename to src/examples/editors/images/bg.gif diff --git a/examples/editors/images/block_end.gif b/src/examples/editors/images/block_end.gif similarity index 100% rename from examples/editors/images/block_end.gif rename to src/examples/editors/images/block_end.gif diff --git a/examples/editors/images/block_start.gif b/src/examples/editors/images/block_start.gif similarity index 100% rename from examples/editors/images/block_start.gif rename to src/examples/editors/images/block_start.gif diff --git a/examples/editors/images/bold.gif b/src/examples/editors/images/bold.gif similarity index 100% rename from examples/editors/images/bold.gif rename to src/examples/editors/images/bold.gif diff --git a/examples/editors/images/bottom.gif b/src/examples/editors/images/bottom.gif similarity index 100% rename from examples/editors/images/bottom.gif rename to src/examples/editors/images/bottom.gif diff --git a/examples/editors/images/box.png b/src/examples/editors/images/box.png similarity index 100% rename from examples/editors/images/box.png rename to src/examples/editors/images/box.png diff --git a/examples/editors/images/camera.gif b/src/examples/editors/images/camera.gif similarity index 100% rename from examples/editors/images/camera.gif rename to src/examples/editors/images/camera.gif diff --git a/examples/editors/images/center.gif b/src/examples/editors/images/center.gif similarity index 100% rename from examples/editors/images/center.gif rename to src/examples/editors/images/center.gif diff --git a/examples/editors/images/classic_end.gif b/src/examples/editors/images/classic_end.gif similarity index 100% rename from examples/editors/images/classic_end.gif rename to src/examples/editors/images/classic_end.gif diff --git a/examples/editors/images/classic_start.gif b/src/examples/editors/images/classic_start.gif similarity index 100% rename from examples/editors/images/classic_start.gif rename to src/examples/editors/images/classic_start.gif diff --git a/examples/editors/images/cloud.gif b/src/examples/editors/images/cloud.gif similarity index 100% rename from examples/editors/images/cloud.gif rename to src/examples/editors/images/cloud.gif diff --git a/examples/editors/images/cmp-bg.gif b/src/examples/editors/images/cmp-bg.gif similarity index 100% rename from examples/editors/images/cmp-bg.gif rename to src/examples/editors/images/cmp-bg.gif diff --git a/examples/editors/images/collapse.gif b/src/examples/editors/images/collapse.gif similarity index 100% rename from examples/editors/images/collapse.gif rename to src/examples/editors/images/collapse.gif diff --git a/examples/editors/images/connect.gif b/src/examples/editors/images/connect.gif similarity index 100% rename from examples/editors/images/connect.gif rename to src/examples/editors/images/connect.gif diff --git a/examples/editors/images/connector.gif b/src/examples/editors/images/connector.gif similarity index 100% rename from examples/editors/images/connector.gif rename to src/examples/editors/images/connector.gif diff --git a/examples/editors/images/console.gif b/src/examples/editors/images/console.gif similarity index 100% rename from examples/editors/images/console.gif rename to src/examples/editors/images/console.gif diff --git a/examples/editors/images/copy.gif b/src/examples/editors/images/copy.gif similarity index 100% rename from examples/editors/images/copy.gif rename to src/examples/editors/images/copy.gif diff --git a/examples/editors/images/cube_green.png b/src/examples/editors/images/cube_green.png similarity index 100% rename from examples/editors/images/cube_green.png rename to src/examples/editors/images/cube_green.png diff --git a/examples/editors/images/cut.gif b/src/examples/editors/images/cut.gif similarity index 100% rename from examples/editors/images/cut.gif rename to src/examples/editors/images/cut.gif diff --git a/examples/editors/images/cylinder.gif b/src/examples/editors/images/cylinder.gif similarity index 100% rename from examples/editors/images/cylinder.gif rename to src/examples/editors/images/cylinder.gif diff --git a/examples/editors/images/delete.gif b/src/examples/editors/images/delete.gif similarity index 100% rename from examples/editors/images/delete.gif rename to src/examples/editors/images/delete.gif diff --git a/examples/editors/images/diagram.gif b/src/examples/editors/images/diagram.gif similarity index 100% rename from examples/editors/images/diagram.gif rename to src/examples/editors/images/diagram.gif diff --git a/examples/editors/images/diamond_end.gif b/src/examples/editors/images/diamond_end.gif similarity index 100% rename from examples/editors/images/diamond_end.gif rename to src/examples/editors/images/diamond_end.gif diff --git a/examples/editors/images/diamond_start.gif b/src/examples/editors/images/diamond_start.gif similarity index 100% rename from examples/editors/images/diamond_start.gif rename to src/examples/editors/images/diamond_start.gif diff --git a/examples/editors/images/doubleellipse.gif b/src/examples/editors/images/doubleellipse.gif similarity index 100% rename from examples/editors/images/doubleellipse.gif rename to src/examples/editors/images/doubleellipse.gif diff --git a/examples/editors/images/down.gif b/src/examples/editors/images/down.gif similarity index 100% rename from examples/editors/images/down.gif rename to src/examples/editors/images/down.gif diff --git a/examples/editors/images/draw/drawbg.jpg b/src/examples/editors/images/draw/drawbg.jpg similarity index 100% rename from examples/editors/images/draw/drawbg.jpg rename to src/examples/editors/images/draw/drawbg.jpg diff --git a/examples/editors/images/draw/drawbgcolor.jpg b/src/examples/editors/images/draw/drawbgcolor.jpg similarity index 100% rename from examples/editors/images/draw/drawbgcolor.jpg rename to src/examples/editors/images/draw/drawbgcolor.jpg diff --git a/examples/editors/images/draw/drawfooter.jpg b/src/examples/editors/images/draw/drawfooter.jpg similarity index 100% rename from examples/editors/images/draw/drawfooter.jpg rename to src/examples/editors/images/draw/drawfooter.jpg diff --git a/examples/editors/images/draw/drawheader.jpg b/src/examples/editors/images/draw/drawheader.jpg similarity index 100% rename from examples/editors/images/draw/drawheader.jpg rename to src/examples/editors/images/draw/drawheader.jpg diff --git a/examples/editors/images/draw/mxlogo.jpg b/src/examples/editors/images/draw/mxlogo.jpg similarity index 100% rename from examples/editors/images/draw/mxlogo.jpg rename to src/examples/editors/images/draw/mxlogo.jpg diff --git a/examples/editors/images/dude3.png b/src/examples/editors/images/dude3.png similarity index 100% rename from examples/editors/images/dude3.png rename to src/examples/editors/images/dude3.png diff --git a/examples/editors/images/earth.png b/src/examples/editors/images/earth.png similarity index 100% rename from examples/editors/images/earth.png rename to src/examples/editors/images/earth.png diff --git a/examples/editors/images/ellipse.gif b/src/examples/editors/images/ellipse.gif similarity index 100% rename from examples/editors/images/ellipse.gif rename to src/examples/editors/images/ellipse.gif diff --git a/examples/editors/images/entity.gif b/src/examples/editors/images/entity.gif similarity index 100% rename from examples/editors/images/entity.gif rename to src/examples/editors/images/entity.gif diff --git a/examples/editors/images/expand.gif b/src/examples/editors/images/expand.gif similarity index 100% rename from examples/editors/images/expand.gif rename to src/examples/editors/images/expand.gif diff --git a/examples/editors/images/fillcolor.gif b/src/examples/editors/images/fillcolor.gif similarity index 100% rename from examples/editors/images/fillcolor.gif rename to src/examples/editors/images/fillcolor.gif diff --git a/examples/editors/images/fit.gif b/src/examples/editors/images/fit.gif similarity index 100% rename from examples/editors/images/fit.gif rename to src/examples/editors/images/fit.gif diff --git a/examples/editors/images/font.gif b/src/examples/editors/images/font.gif similarity index 100% rename from examples/editors/images/font.gif rename to src/examples/editors/images/font.gif diff --git a/examples/editors/images/fontcolor.gif b/src/examples/editors/images/fontcolor.gif similarity index 100% rename from examples/editors/images/fontcolor.gif rename to src/examples/editors/images/fontcolor.gif diff --git a/examples/editors/images/gear.gif b/src/examples/editors/images/gear.gif similarity index 100% rename from examples/editors/images/gear.gif rename to src/examples/editors/images/gear.gif diff --git a/examples/editors/images/gear.png b/src/examples/editors/images/gear.png similarity index 100% rename from examples/editors/images/gear.png rename to src/examples/editors/images/gear.png diff --git a/examples/editors/images/grid.gif b/src/examples/editors/images/grid.gif similarity index 100% rename from examples/editors/images/grid.gif rename to src/examples/editors/images/grid.gif diff --git a/examples/editors/images/group.gif b/src/examples/editors/images/group.gif similarity index 100% rename from examples/editors/images/group.gif rename to src/examples/editors/images/group.gif diff --git a/examples/editors/images/help.gif b/src/examples/editors/images/help.gif similarity index 100% rename from examples/editors/images/help.gif rename to src/examples/editors/images/help.gif diff --git a/examples/editors/images/hexagon.gif b/src/examples/editors/images/hexagon.gif similarity index 100% rename from examples/editors/images/hexagon.gif rename to src/examples/editors/images/hexagon.gif diff --git a/examples/editors/images/hline.gif b/src/examples/editors/images/hline.gif similarity index 100% rename from examples/editors/images/hline.gif rename to src/examples/editors/images/hline.gif diff --git a/examples/editors/images/house.gif b/src/examples/editors/images/house.gif similarity index 100% rename from examples/editors/images/house.gif rename to src/examples/editors/images/house.gif diff --git a/examples/editors/images/house.png b/src/examples/editors/images/house.png similarity index 100% rename from examples/editors/images/house.png rename to src/examples/editors/images/house.png diff --git a/examples/editors/images/image.gif b/src/examples/editors/images/image.gif similarity index 100% rename from examples/editors/images/image.gif rename to src/examples/editors/images/image.gif diff --git a/examples/editors/images/italic.gif b/src/examples/editors/images/italic.gif similarity index 100% rename from examples/editors/images/italic.gif rename to src/examples/editors/images/italic.gif diff --git a/examples/editors/images/left.gif b/src/examples/editors/images/left.gif similarity index 100% rename from examples/editors/images/left.gif rename to src/examples/editors/images/left.gif diff --git a/examples/editors/images/linecolor.gif b/src/examples/editors/images/linecolor.gif similarity index 100% rename from examples/editors/images/linecolor.gif rename to src/examples/editors/images/linecolor.gif diff --git a/examples/editors/images/link.gif b/src/examples/editors/images/link.gif similarity index 100% rename from examples/editors/images/link.gif rename to src/examples/editors/images/link.gif diff --git a/examples/editors/images/loading.gif b/src/examples/editors/images/loading.gif similarity index 100% rename from examples/editors/images/loading.gif rename to src/examples/editors/images/loading.gif diff --git a/examples/editors/images/middle.gif b/src/examples/editors/images/middle.gif similarity index 100% rename from examples/editors/images/middle.gif rename to src/examples/editors/images/middle.gif diff --git a/examples/editors/images/new.gif b/src/examples/editors/images/new.gif similarity index 100% rename from examples/editors/images/new.gif rename to src/examples/editors/images/new.gif diff --git a/examples/editors/images/open.gif b/src/examples/editors/images/open.gif similarity index 100% rename from examples/editors/images/open.gif rename to src/examples/editors/images/open.gif diff --git a/examples/editors/images/open_end.gif b/src/examples/editors/images/open_end.gif similarity index 100% rename from examples/editors/images/open_end.gif rename to src/examples/editors/images/open_end.gif diff --git a/examples/editors/images/open_start.gif b/src/examples/editors/images/open_start.gif similarity index 100% rename from examples/editors/images/open_start.gif rename to src/examples/editors/images/open_start.gif diff --git a/examples/editors/images/outline.gif b/src/examples/editors/images/outline.gif similarity index 100% rename from examples/editors/images/outline.gif rename to src/examples/editors/images/outline.gif diff --git a/examples/editors/images/oval_end.gif b/src/examples/editors/images/oval_end.gif similarity index 100% rename from examples/editors/images/oval_end.gif rename to src/examples/editors/images/oval_end.gif diff --git a/examples/editors/images/oval_start.gif b/src/examples/editors/images/oval_start.gif similarity index 100% rename from examples/editors/images/oval_start.gif rename to src/examples/editors/images/oval_start.gif diff --git a/examples/editors/images/overlays/check.png b/src/examples/editors/images/overlays/check.png similarity index 100% rename from examples/editors/images/overlays/check.png rename to src/examples/editors/images/overlays/check.png diff --git a/examples/editors/images/overlays/error.png b/src/examples/editors/images/overlays/error.png similarity index 100% rename from examples/editors/images/overlays/error.png rename to src/examples/editors/images/overlays/error.png diff --git a/examples/editors/images/overlays/flash.png b/src/examples/editors/images/overlays/flash.png similarity index 100% rename from examples/editors/images/overlays/flash.png rename to src/examples/editors/images/overlays/flash.png diff --git a/examples/editors/images/overlays/forbidden.png b/src/examples/editors/images/overlays/forbidden.png similarity index 100% rename from examples/editors/images/overlays/forbidden.png rename to src/examples/editors/images/overlays/forbidden.png diff --git a/examples/editors/images/overlays/help.png b/src/examples/editors/images/overlays/help.png similarity index 100% rename from examples/editors/images/overlays/help.png rename to src/examples/editors/images/overlays/help.png diff --git a/examples/editors/images/overlays/house.png b/src/examples/editors/images/overlays/house.png similarity index 100% rename from examples/editors/images/overlays/house.png rename to src/examples/editors/images/overlays/house.png diff --git a/examples/editors/images/overlays/information.png b/src/examples/editors/images/overlays/information.png similarity index 100% rename from examples/editors/images/overlays/information.png rename to src/examples/editors/images/overlays/information.png diff --git a/examples/editors/images/overlays/lightbulb_on.png b/src/examples/editors/images/overlays/lightbulb_on.png similarity index 100% rename from examples/editors/images/overlays/lightbulb_on.png rename to src/examples/editors/images/overlays/lightbulb_on.png diff --git a/examples/editors/images/overlays/pencil.png b/src/examples/editors/images/overlays/pencil.png similarity index 100% rename from examples/editors/images/overlays/pencil.png rename to src/examples/editors/images/overlays/pencil.png diff --git a/examples/editors/images/overlays/printer.png b/src/examples/editors/images/overlays/printer.png similarity index 100% rename from examples/editors/images/overlays/printer.png rename to src/examples/editors/images/overlays/printer.png diff --git a/examples/editors/images/overlays/user3.png b/src/examples/editors/images/overlays/user3.png similarity index 100% rename from examples/editors/images/overlays/user3.png rename to src/examples/editors/images/overlays/user3.png diff --git a/examples/editors/images/overlays/users3.png b/src/examples/editors/images/overlays/users3.png similarity index 100% rename from examples/editors/images/overlays/users3.png rename to src/examples/editors/images/overlays/users3.png diff --git a/examples/editors/images/overlays/workplace.png b/src/examples/editors/images/overlays/workplace.png similarity index 100% rename from examples/editors/images/overlays/workplace.png rename to src/examples/editors/images/overlays/workplace.png diff --git a/examples/editors/images/package.png b/src/examples/editors/images/package.png similarity index 100% rename from examples/editors/images/package.png rename to src/examples/editors/images/package.png diff --git a/examples/editors/images/pan.gif b/src/examples/editors/images/pan.gif similarity index 100% rename from examples/editors/images/pan.gif rename to src/examples/editors/images/pan.gif diff --git a/examples/editors/images/paste.gif b/src/examples/editors/images/paste.gif similarity index 100% rename from examples/editors/images/paste.gif rename to src/examples/editors/images/paste.gif diff --git a/examples/editors/images/plain.gif b/src/examples/editors/images/plain.gif similarity index 100% rename from examples/editors/images/plain.gif rename to src/examples/editors/images/plain.gif diff --git a/examples/editors/images/preferences.gif b/src/examples/editors/images/preferences.gif similarity index 100% rename from examples/editors/images/preferences.gif rename to src/examples/editors/images/preferences.gif diff --git a/examples/editors/images/press.gif b/src/examples/editors/images/press.gif similarity index 100% rename from examples/editors/images/press.gif rename to src/examples/editors/images/press.gif diff --git a/examples/editors/images/preview.gif b/src/examples/editors/images/preview.gif similarity index 100% rename from examples/editors/images/preview.gif rename to src/examples/editors/images/preview.gif diff --git a/examples/editors/images/print.gif b/src/examples/editors/images/print.gif similarity index 100% rename from examples/editors/images/print.gif rename to src/examples/editors/images/print.gif diff --git a/examples/editors/images/printer.png b/src/examples/editors/images/printer.png similarity index 100% rename from examples/editors/images/printer.png rename to src/examples/editors/images/printer.png diff --git a/examples/editors/images/properties.gif b/src/examples/editors/images/properties.gif similarity index 100% rename from examples/editors/images/properties.gif rename to src/examples/editors/images/properties.gif diff --git a/examples/editors/images/rectangle.gif b/src/examples/editors/images/rectangle.gif similarity index 100% rename from examples/editors/images/rectangle.gif rename to src/examples/editors/images/rectangle.gif diff --git a/examples/editors/images/redo.gif b/src/examples/editors/images/redo.gif similarity index 100% rename from examples/editors/images/redo.gif rename to src/examples/editors/images/redo.gif diff --git a/examples/editors/images/refresh.gif b/src/examples/editors/images/refresh.gif similarity index 100% rename from examples/editors/images/refresh.gif rename to src/examples/editors/images/refresh.gif diff --git a/examples/editors/images/rhombus.gif b/src/examples/editors/images/rhombus.gif similarity index 100% rename from examples/editors/images/rhombus.gif rename to src/examples/editors/images/rhombus.gif diff --git a/examples/editors/images/right.gif b/src/examples/editors/images/right.gif similarity index 100% rename from examples/editors/images/right.gif rename to src/examples/editors/images/right.gif diff --git a/examples/editors/images/rounded.gif b/src/examples/editors/images/rounded.gif similarity index 100% rename from examples/editors/images/rounded.gif rename to src/examples/editors/images/rounded.gif diff --git a/examples/editors/images/save.gif b/src/examples/editors/images/save.gif similarity index 100% rename from examples/editors/images/save.gif rename to src/examples/editors/images/save.gif diff --git a/examples/editors/images/saveas.gif b/src/examples/editors/images/saveas.gif similarity index 100% rename from examples/editors/images/saveas.gif rename to src/examples/editors/images/saveas.gif diff --git a/examples/editors/images/script.gif b/src/examples/editors/images/script.gif similarity index 100% rename from examples/editors/images/script.gif rename to src/examples/editors/images/script.gif diff --git a/examples/editors/images/select.gif b/src/examples/editors/images/select.gif similarity index 100% rename from examples/editors/images/select.gif rename to src/examples/editors/images/select.gif diff --git a/examples/editors/images/server.png b/src/examples/editors/images/server.png similarity index 100% rename from examples/editors/images/server.png rename to src/examples/editors/images/server.png diff --git a/examples/editors/images/straight.gif b/src/examples/editors/images/straight.gif similarity index 100% rename from examples/editors/images/straight.gif rename to src/examples/editors/images/straight.gif diff --git a/examples/editors/images/swimlane.gif b/src/examples/editors/images/swimlane.gif similarity index 100% rename from examples/editors/images/swimlane.gif rename to src/examples/editors/images/swimlane.gif diff --git a/examples/editors/images/symbols/cancel_end.png b/src/examples/editors/images/symbols/cancel_end.png similarity index 100% rename from examples/editors/images/symbols/cancel_end.png rename to src/examples/editors/images/symbols/cancel_end.png diff --git a/examples/editors/images/symbols/cancel_intermediate.png b/src/examples/editors/images/symbols/cancel_intermediate.png similarity index 100% rename from examples/editors/images/symbols/cancel_intermediate.png rename to src/examples/editors/images/symbols/cancel_intermediate.png diff --git a/examples/editors/images/symbols/error.png b/src/examples/editors/images/symbols/error.png similarity index 100% rename from examples/editors/images/symbols/error.png rename to src/examples/editors/images/symbols/error.png diff --git a/examples/editors/images/symbols/event.png b/src/examples/editors/images/symbols/event.png similarity index 100% rename from examples/editors/images/symbols/event.png rename to src/examples/editors/images/symbols/event.png diff --git a/examples/editors/images/symbols/event_end.png b/src/examples/editors/images/symbols/event_end.png similarity index 100% rename from examples/editors/images/symbols/event_end.png rename to src/examples/editors/images/symbols/event_end.png diff --git a/examples/editors/images/symbols/event_intermediate.png b/src/examples/editors/images/symbols/event_intermediate.png similarity index 100% rename from examples/editors/images/symbols/event_intermediate.png rename to src/examples/editors/images/symbols/event_intermediate.png diff --git a/examples/editors/images/symbols/fork.png b/src/examples/editors/images/symbols/fork.png similarity index 100% rename from examples/editors/images/symbols/fork.png rename to src/examples/editors/images/symbols/fork.png diff --git a/examples/editors/images/symbols/inclusive.png b/src/examples/editors/images/symbols/inclusive.png similarity index 100% rename from examples/editors/images/symbols/inclusive.png rename to src/examples/editors/images/symbols/inclusive.png diff --git a/examples/editors/images/symbols/link.png b/src/examples/editors/images/symbols/link.png similarity index 100% rename from examples/editors/images/symbols/link.png rename to src/examples/editors/images/symbols/link.png diff --git a/examples/editors/images/symbols/merge.png b/src/examples/editors/images/symbols/merge.png similarity index 100% rename from examples/editors/images/symbols/merge.png rename to src/examples/editors/images/symbols/merge.png diff --git a/examples/editors/images/symbols/message.png b/src/examples/editors/images/symbols/message.png similarity index 100% rename from examples/editors/images/symbols/message.png rename to src/examples/editors/images/symbols/message.png diff --git a/examples/editors/images/symbols/message_end.png b/src/examples/editors/images/symbols/message_end.png similarity index 100% rename from examples/editors/images/symbols/message_end.png rename to src/examples/editors/images/symbols/message_end.png diff --git a/examples/editors/images/symbols/message_intermediate.png b/src/examples/editors/images/symbols/message_intermediate.png similarity index 100% rename from examples/editors/images/symbols/message_intermediate.png rename to src/examples/editors/images/symbols/message_intermediate.png diff --git a/examples/editors/images/symbols/multiple.png b/src/examples/editors/images/symbols/multiple.png similarity index 100% rename from examples/editors/images/symbols/multiple.png rename to src/examples/editors/images/symbols/multiple.png diff --git a/examples/editors/images/symbols/rule.png b/src/examples/editors/images/symbols/rule.png similarity index 100% rename from examples/editors/images/symbols/rule.png rename to src/examples/editors/images/symbols/rule.png diff --git a/examples/editors/images/symbols/small_cancel_end.gif b/src/examples/editors/images/symbols/small_cancel_end.gif similarity index 100% rename from examples/editors/images/symbols/small_cancel_end.gif rename to src/examples/editors/images/symbols/small_cancel_end.gif diff --git a/examples/editors/images/symbols/small_cancel_intermediate.gif b/src/examples/editors/images/symbols/small_cancel_intermediate.gif similarity index 100% rename from examples/editors/images/symbols/small_cancel_intermediate.gif rename to src/examples/editors/images/symbols/small_cancel_intermediate.gif diff --git a/examples/editors/images/symbols/small_error.gif b/src/examples/editors/images/symbols/small_error.gif similarity index 100% rename from examples/editors/images/symbols/small_error.gif rename to src/examples/editors/images/symbols/small_error.gif diff --git a/examples/editors/images/symbols/small_event.gif b/src/examples/editors/images/symbols/small_event.gif similarity index 100% rename from examples/editors/images/symbols/small_event.gif rename to src/examples/editors/images/symbols/small_event.gif diff --git a/examples/editors/images/symbols/small_event_end.gif b/src/examples/editors/images/symbols/small_event_end.gif similarity index 100% rename from examples/editors/images/symbols/small_event_end.gif rename to src/examples/editors/images/symbols/small_event_end.gif diff --git a/examples/editors/images/symbols/small_event_intermediate.gif b/src/examples/editors/images/symbols/small_event_intermediate.gif similarity index 100% rename from examples/editors/images/symbols/small_event_intermediate.gif rename to src/examples/editors/images/symbols/small_event_intermediate.gif diff --git a/examples/editors/images/symbols/small_fork.gif b/src/examples/editors/images/symbols/small_fork.gif similarity index 100% rename from examples/editors/images/symbols/small_fork.gif rename to src/examples/editors/images/symbols/small_fork.gif diff --git a/examples/editors/images/symbols/small_inclusive.gif b/src/examples/editors/images/symbols/small_inclusive.gif similarity index 100% rename from examples/editors/images/symbols/small_inclusive.gif rename to src/examples/editors/images/symbols/small_inclusive.gif diff --git a/examples/editors/images/symbols/small_link.gif b/src/examples/editors/images/symbols/small_link.gif similarity index 100% rename from examples/editors/images/symbols/small_link.gif rename to src/examples/editors/images/symbols/small_link.gif diff --git a/examples/editors/images/symbols/small_merge.gif b/src/examples/editors/images/symbols/small_merge.gif similarity index 100% rename from examples/editors/images/symbols/small_merge.gif rename to src/examples/editors/images/symbols/small_merge.gif diff --git a/examples/editors/images/symbols/small_message.gif b/src/examples/editors/images/symbols/small_message.gif similarity index 100% rename from examples/editors/images/symbols/small_message.gif rename to src/examples/editors/images/symbols/small_message.gif diff --git a/examples/editors/images/symbols/small_message_end.gif b/src/examples/editors/images/symbols/small_message_end.gif similarity index 100% rename from examples/editors/images/symbols/small_message_end.gif rename to src/examples/editors/images/symbols/small_message_end.gif diff --git a/examples/editors/images/symbols/small_message_intermediate.gif b/src/examples/editors/images/symbols/small_message_intermediate.gif similarity index 100% rename from examples/editors/images/symbols/small_message_intermediate.gif rename to src/examples/editors/images/symbols/small_message_intermediate.gif diff --git a/examples/editors/images/symbols/small_multiple.gif b/src/examples/editors/images/symbols/small_multiple.gif similarity index 100% rename from examples/editors/images/symbols/small_multiple.gif rename to src/examples/editors/images/symbols/small_multiple.gif diff --git a/examples/editors/images/symbols/small_rule.gif b/src/examples/editors/images/symbols/small_rule.gif similarity index 100% rename from examples/editors/images/symbols/small_rule.gif rename to src/examples/editors/images/symbols/small_rule.gif diff --git a/examples/editors/images/symbols/small_terminate.gif b/src/examples/editors/images/symbols/small_terminate.gif similarity index 100% rename from examples/editors/images/symbols/small_terminate.gif rename to src/examples/editors/images/symbols/small_terminate.gif diff --git a/examples/editors/images/symbols/small_timer.gif b/src/examples/editors/images/symbols/small_timer.gif similarity index 100% rename from examples/editors/images/symbols/small_timer.gif rename to src/examples/editors/images/symbols/small_timer.gif diff --git a/examples/editors/images/symbols/terminate.png b/src/examples/editors/images/symbols/terminate.png similarity index 100% rename from examples/editors/images/symbols/terminate.png rename to src/examples/editors/images/symbols/terminate.png diff --git a/examples/editors/images/symbols/timer.png b/src/examples/editors/images/symbols/timer.png similarity index 100% rename from examples/editors/images/symbols/timer.png rename to src/examples/editors/images/symbols/timer.png diff --git a/examples/editors/images/tasks.gif b/src/examples/editors/images/tasks.gif similarity index 100% rename from examples/editors/images/tasks.gif rename to src/examples/editors/images/tasks.gif diff --git a/examples/editors/images/text.gif b/src/examples/editors/images/text.gif similarity index 100% rename from examples/editors/images/text.gif rename to src/examples/editors/images/text.gif diff --git a/examples/editors/images/toback.gif b/src/examples/editors/images/toback.gif similarity index 100% rename from examples/editors/images/toback.gif rename to src/examples/editors/images/toback.gif diff --git a/examples/editors/images/tofront.gif b/src/examples/editors/images/tofront.gif similarity index 100% rename from examples/editors/images/tofront.gif rename to src/examples/editors/images/tofront.gif diff --git a/examples/editors/images/toolbar.gif b/src/examples/editors/images/toolbar.gif similarity index 100% rename from examples/editors/images/toolbar.gif rename to src/examples/editors/images/toolbar.gif diff --git a/examples/editors/images/top.gif b/src/examples/editors/images/top.gif similarity index 100% rename from examples/editors/images/top.gif rename to src/examples/editors/images/top.gif diff --git a/examples/editors/images/tree.gif b/src/examples/editors/images/tree.gif similarity index 100% rename from examples/editors/images/tree.gif rename to src/examples/editors/images/tree.gif diff --git a/examples/editors/images/triangle.gif b/src/examples/editors/images/triangle.gif similarity index 100% rename from examples/editors/images/triangle.gif rename to src/examples/editors/images/triangle.gif diff --git a/examples/editors/images/underline.gif b/src/examples/editors/images/underline.gif similarity index 100% rename from examples/editors/images/underline.gif rename to src/examples/editors/images/underline.gif diff --git a/examples/editors/images/undo.gif b/src/examples/editors/images/undo.gif similarity index 100% rename from examples/editors/images/undo.gif rename to src/examples/editors/images/undo.gif diff --git a/examples/editors/images/ungroup.gif b/src/examples/editors/images/ungroup.gif similarity index 100% rename from examples/editors/images/ungroup.gif rename to src/examples/editors/images/ungroup.gif diff --git a/examples/editors/images/up.gif b/src/examples/editors/images/up.gif similarity index 100% rename from examples/editors/images/up.gif rename to src/examples/editors/images/up.gif diff --git a/examples/editors/images/vertical.gif b/src/examples/editors/images/vertical.gif similarity index 100% rename from examples/editors/images/vertical.gif rename to src/examples/editors/images/vertical.gif diff --git a/examples/editors/images/workplace.png b/src/examples/editors/images/workplace.png similarity index 100% rename from examples/editors/images/workplace.png rename to src/examples/editors/images/workplace.png diff --git a/examples/editors/images/wrench.png b/src/examples/editors/images/wrench.png similarity index 100% rename from examples/editors/images/wrench.png rename to src/examples/editors/images/wrench.png diff --git a/examples/editors/images/zoom.gif b/src/examples/editors/images/zoom.gif similarity index 100% rename from examples/editors/images/zoom.gif rename to src/examples/editors/images/zoom.gif diff --git a/examples/editors/images/zoomactual.gif b/src/examples/editors/images/zoomactual.gif similarity index 100% rename from examples/editors/images/zoomactual.gif rename to src/examples/editors/images/zoomactual.gif diff --git a/examples/editors/images/zoomin.gif b/src/examples/editors/images/zoomin.gif similarity index 100% rename from examples/editors/images/zoomin.gif rename to src/examples/editors/images/zoomin.gif diff --git a/examples/editors/images/zoomout.gif b/src/examples/editors/images/zoomout.gif similarity index 100% rename from examples/editors/images/zoomout.gif rename to src/examples/editors/images/zoomout.gif diff --git a/examples/editors/js/app.js b/src/examples/editors/js/app.js similarity index 100% rename from examples/editors/js/app.js rename to src/examples/editors/js/app.js diff --git a/examples/editors/layouteditor.html b/src/examples/editors/layouteditor.html similarity index 100% rename from examples/editors/layouteditor.html rename to src/examples/editors/layouteditor.html diff --git a/examples/editors/processeditor.html b/src/examples/editors/processeditor.html similarity index 100% rename from examples/editors/processeditor.html rename to src/examples/editors/processeditor.html diff --git a/examples/editors/resources/app.txt b/src/examples/editors/resources/app.txt similarity index 100% rename from examples/editors/resources/app.txt rename to src/examples/editors/resources/app.txt diff --git a/examples/editors/resources/app_de.txt b/src/examples/editors/resources/app_de.txt similarity index 100% rename from examples/editors/resources/app_de.txt rename to src/examples/editors/resources/app_de.txt diff --git a/examples/editors/resources/app_zh.txt b/src/examples/editors/resources/app_zh.txt similarity index 100% rename from examples/editors/resources/app_zh.txt rename to src/examples/editors/resources/app_zh.txt diff --git a/examples/editors/workfloweditor.html b/src/examples/editors/workfloweditor.html similarity index 100% rename from examples/editors/workfloweditor.html rename to src/examples/editors/workfloweditor.html diff --git a/examples/events.html b/src/examples/events.html similarity index 100% rename from examples/events.html rename to src/examples/events.html diff --git a/examples/extendcanvas.html b/src/examples/extendcanvas.html similarity index 100% rename from examples/extendcanvas.html rename to src/examples/extendcanvas.html diff --git a/examples/fileio.html b/src/examples/fileio.html similarity index 100% rename from examples/fileio.html rename to src/examples/fileio.html diff --git a/examples/fileio.txt b/src/examples/fileio.txt similarity index 100% rename from examples/fileio.txt rename to src/examples/fileio.txt diff --git a/examples/fileio.xml b/src/examples/fileio.xml similarity index 100% rename from examples/fileio.xml rename to src/examples/fileio.xml diff --git a/examples/fixedicon.html b/src/examples/fixedicon.html similarity index 100% rename from examples/fixedicon.html rename to src/examples/fixedicon.html diff --git a/examples/fixedpoints.html b/src/examples/fixedpoints.html similarity index 100% rename from examples/fixedpoints.html rename to src/examples/fixedpoints.html diff --git a/examples/folding.html b/src/examples/folding.html similarity index 100% rename from examples/folding.html rename to src/examples/folding.html diff --git a/examples/grapheditor/README b/src/examples/grapheditor/README similarity index 100% rename from examples/grapheditor/README rename to src/examples/grapheditor/README diff --git a/examples/grapheditor/java/src/com/mxgraph/examples/web/GraphEditor.java b/src/examples/grapheditor/java/src/com/mxgraph/examples/web/GraphEditor.java similarity index 100% rename from examples/grapheditor/java/src/com/mxgraph/examples/web/GraphEditor.java rename to src/examples/grapheditor/java/src/com/mxgraph/examples/web/GraphEditor.java diff --git a/examples/grapheditor/java/src/com/mxgraph/examples/web/OpenServlet.java b/src/examples/grapheditor/java/src/com/mxgraph/examples/web/OpenServlet.java similarity index 100% rename from examples/grapheditor/java/src/com/mxgraph/examples/web/OpenServlet.java rename to src/examples/grapheditor/java/src/com/mxgraph/examples/web/OpenServlet.java diff --git a/examples/grapheditor/www/deflate/base64.js b/src/examples/grapheditor/www/deflate/base64.js similarity index 100% rename from examples/grapheditor/www/deflate/base64.js rename to src/examples/grapheditor/www/deflate/base64.js diff --git a/examples/grapheditor/www/deflate/pako.min.js b/src/examples/grapheditor/www/deflate/pako.min.js similarity index 100% rename from examples/grapheditor/www/deflate/pako.min.js rename to src/examples/grapheditor/www/deflate/pako.min.js diff --git a/examples/grapheditor/www/images/checkmark.gif b/src/examples/grapheditor/www/images/checkmark.gif similarity index 100% rename from examples/grapheditor/www/images/checkmark.gif rename to src/examples/grapheditor/www/images/checkmark.gif diff --git a/examples/grapheditor/www/images/clear.gif b/src/examples/grapheditor/www/images/clear.gif similarity index 100% rename from examples/grapheditor/www/images/clear.gif rename to src/examples/grapheditor/www/images/clear.gif diff --git a/examples/grapheditor/www/images/close.png b/src/examples/grapheditor/www/images/close.png similarity index 100% rename from examples/grapheditor/www/images/close.png rename to src/examples/grapheditor/www/images/close.png diff --git a/examples/grapheditor/www/images/collapsed.gif b/src/examples/grapheditor/www/images/collapsed.gif similarity index 100% rename from examples/grapheditor/www/images/collapsed.gif rename to src/examples/grapheditor/www/images/collapsed.gif diff --git a/examples/grapheditor/www/images/dropdown.gif b/src/examples/grapheditor/www/images/dropdown.gif similarity index 100% rename from examples/grapheditor/www/images/dropdown.gif rename to src/examples/grapheditor/www/images/dropdown.gif diff --git a/examples/grapheditor/www/images/dropdown.png b/src/examples/grapheditor/www/images/dropdown.png similarity index 100% rename from examples/grapheditor/www/images/dropdown.png rename to src/examples/grapheditor/www/images/dropdown.png diff --git a/examples/grapheditor/www/images/edit.gif b/src/examples/grapheditor/www/images/edit.gif similarity index 100% rename from examples/grapheditor/www/images/edit.gif rename to src/examples/grapheditor/www/images/edit.gif diff --git a/examples/grapheditor/www/images/expanded.gif b/src/examples/grapheditor/www/images/expanded.gif similarity index 100% rename from examples/grapheditor/www/images/expanded.gif rename to src/examples/grapheditor/www/images/expanded.gif diff --git a/examples/grapheditor/www/images/grid.gif b/src/examples/grapheditor/www/images/grid.gif similarity index 100% rename from examples/grapheditor/www/images/grid.gif rename to src/examples/grapheditor/www/images/grid.gif diff --git a/examples/grapheditor/www/images/handle-fixed.png b/src/examples/grapheditor/www/images/handle-fixed.png similarity index 100% rename from examples/grapheditor/www/images/handle-fixed.png rename to src/examples/grapheditor/www/images/handle-fixed.png diff --git a/examples/grapheditor/www/images/handle-main.png b/src/examples/grapheditor/www/images/handle-main.png similarity index 100% rename from examples/grapheditor/www/images/handle-main.png rename to src/examples/grapheditor/www/images/handle-main.png diff --git a/examples/grapheditor/www/images/handle-rotate.png b/src/examples/grapheditor/www/images/handle-rotate.png similarity index 100% rename from examples/grapheditor/www/images/handle-rotate.png rename to src/examples/grapheditor/www/images/handle-rotate.png diff --git a/examples/grapheditor/www/images/handle-secondary.png b/src/examples/grapheditor/www/images/handle-secondary.png similarity index 100% rename from examples/grapheditor/www/images/handle-secondary.png rename to src/examples/grapheditor/www/images/handle-secondary.png diff --git a/examples/grapheditor/www/images/handle-terminal.png b/src/examples/grapheditor/www/images/handle-terminal.png similarity index 100% rename from examples/grapheditor/www/images/handle-terminal.png rename to src/examples/grapheditor/www/images/handle-terminal.png diff --git a/examples/grapheditor/www/images/help.png b/src/examples/grapheditor/www/images/help.png similarity index 100% rename from examples/grapheditor/www/images/help.png rename to src/examples/grapheditor/www/images/help.png diff --git a/examples/grapheditor/www/images/locked.png b/src/examples/grapheditor/www/images/locked.png similarity index 100% rename from examples/grapheditor/www/images/locked.png rename to src/examples/grapheditor/www/images/locked.png diff --git a/examples/grapheditor/www/images/logo.png b/src/examples/grapheditor/www/images/logo.png similarity index 100% rename from examples/grapheditor/www/images/logo.png rename to src/examples/grapheditor/www/images/logo.png diff --git a/examples/grapheditor/www/images/move.png b/src/examples/grapheditor/www/images/move.png similarity index 100% rename from examples/grapheditor/www/images/move.png rename to src/examples/grapheditor/www/images/move.png diff --git a/examples/grapheditor/www/images/nocolor.png b/src/examples/grapheditor/www/images/nocolor.png similarity index 100% rename from examples/grapheditor/www/images/nocolor.png rename to src/examples/grapheditor/www/images/nocolor.png diff --git a/examples/grapheditor/www/images/refresh.png b/src/examples/grapheditor/www/images/refresh.png similarity index 100% rename from examples/grapheditor/www/images/refresh.png rename to src/examples/grapheditor/www/images/refresh.png diff --git a/examples/grapheditor/www/images/round-drop.png b/src/examples/grapheditor/www/images/round-drop.png similarity index 100% rename from examples/grapheditor/www/images/round-drop.png rename to src/examples/grapheditor/www/images/round-drop.png diff --git a/examples/grapheditor/www/images/search.png b/src/examples/grapheditor/www/images/search.png similarity index 100% rename from examples/grapheditor/www/images/search.png rename to src/examples/grapheditor/www/images/search.png diff --git a/examples/grapheditor/www/images/transparent.gif b/src/examples/grapheditor/www/images/transparent.gif similarity index 100% rename from examples/grapheditor/www/images/transparent.gif rename to src/examples/grapheditor/www/images/transparent.gif diff --git a/examples/grapheditor/www/images/triangle-down.png b/src/examples/grapheditor/www/images/triangle-down.png similarity index 100% rename from examples/grapheditor/www/images/triangle-down.png rename to src/examples/grapheditor/www/images/triangle-down.png diff --git a/examples/grapheditor/www/images/triangle-left.png b/src/examples/grapheditor/www/images/triangle-left.png similarity index 100% rename from examples/grapheditor/www/images/triangle-left.png rename to src/examples/grapheditor/www/images/triangle-left.png diff --git a/examples/grapheditor/www/images/triangle-right.png b/src/examples/grapheditor/www/images/triangle-right.png similarity index 100% rename from examples/grapheditor/www/images/triangle-right.png rename to src/examples/grapheditor/www/images/triangle-right.png diff --git a/examples/grapheditor/www/images/triangle-up.png b/src/examples/grapheditor/www/images/triangle-up.png similarity index 100% rename from examples/grapheditor/www/images/triangle-up.png rename to src/examples/grapheditor/www/images/triangle-up.png diff --git a/examples/grapheditor/www/images/unlocked.png b/src/examples/grapheditor/www/images/unlocked.png similarity index 100% rename from examples/grapheditor/www/images/unlocked.png rename to src/examples/grapheditor/www/images/unlocked.png diff --git a/examples/grapheditor/www/index.html b/src/examples/grapheditor/www/index.html similarity index 100% rename from examples/grapheditor/www/index.html rename to src/examples/grapheditor/www/index.html diff --git a/examples/grapheditor/www/js/Actions.js b/src/examples/grapheditor/www/js/Actions.js similarity index 100% rename from examples/grapheditor/www/js/Actions.js rename to src/examples/grapheditor/www/js/Actions.js diff --git a/examples/grapheditor/www/js/Dialogs.js b/src/examples/grapheditor/www/js/Dialogs.js similarity index 100% rename from examples/grapheditor/www/js/Dialogs.js rename to src/examples/grapheditor/www/js/Dialogs.js diff --git a/examples/grapheditor/www/js/Editor.js b/src/examples/grapheditor/www/js/Editor.js similarity index 100% rename from examples/grapheditor/www/js/Editor.js rename to src/examples/grapheditor/www/js/Editor.js diff --git a/examples/grapheditor/www/js/EditorUi.js b/src/examples/grapheditor/www/js/EditorUi.js similarity index 100% rename from examples/grapheditor/www/js/EditorUi.js rename to src/examples/grapheditor/www/js/EditorUi.js diff --git a/examples/grapheditor/www/js/Format.js b/src/examples/grapheditor/www/js/Format.js similarity index 100% rename from examples/grapheditor/www/js/Format.js rename to src/examples/grapheditor/www/js/Format.js diff --git a/examples/grapheditor/www/js/Graph.js b/src/examples/grapheditor/www/js/Graph.js similarity index 100% rename from examples/grapheditor/www/js/Graph.js rename to src/examples/grapheditor/www/js/Graph.js diff --git a/examples/grapheditor/www/js/Init.js b/src/examples/grapheditor/www/js/Init.js similarity index 100% rename from examples/grapheditor/www/js/Init.js rename to src/examples/grapheditor/www/js/Init.js diff --git a/examples/grapheditor/www/js/Menus.js b/src/examples/grapheditor/www/js/Menus.js similarity index 100% rename from examples/grapheditor/www/js/Menus.js rename to src/examples/grapheditor/www/js/Menus.js diff --git a/examples/grapheditor/www/js/Shapes.js b/src/examples/grapheditor/www/js/Shapes.js similarity index 100% rename from examples/grapheditor/www/js/Shapes.js rename to src/examples/grapheditor/www/js/Shapes.js diff --git a/examples/grapheditor/www/js/Sidebar.js b/src/examples/grapheditor/www/js/Sidebar.js similarity index 100% rename from examples/grapheditor/www/js/Sidebar.js rename to src/examples/grapheditor/www/js/Sidebar.js diff --git a/examples/grapheditor/www/js/Toolbar.js b/src/examples/grapheditor/www/js/Toolbar.js similarity index 100% rename from examples/grapheditor/www/js/Toolbar.js rename to src/examples/grapheditor/www/js/Toolbar.js diff --git a/examples/grapheditor/www/jscolor/arrow.gif b/src/examples/grapheditor/www/jscolor/arrow.gif similarity index 100% rename from examples/grapheditor/www/jscolor/arrow.gif rename to src/examples/grapheditor/www/jscolor/arrow.gif diff --git a/examples/grapheditor/www/jscolor/cross.gif b/src/examples/grapheditor/www/jscolor/cross.gif similarity index 100% rename from examples/grapheditor/www/jscolor/cross.gif rename to src/examples/grapheditor/www/jscolor/cross.gif diff --git a/examples/grapheditor/www/jscolor/hs.png b/src/examples/grapheditor/www/jscolor/hs.png similarity index 100% rename from examples/grapheditor/www/jscolor/hs.png rename to src/examples/grapheditor/www/jscolor/hs.png diff --git a/examples/grapheditor/www/jscolor/hv.png b/src/examples/grapheditor/www/jscolor/hv.png similarity index 100% rename from examples/grapheditor/www/jscolor/hv.png rename to src/examples/grapheditor/www/jscolor/hv.png diff --git a/examples/grapheditor/www/jscolor/jscolor.js b/src/examples/grapheditor/www/jscolor/jscolor.js similarity index 100% rename from examples/grapheditor/www/jscolor/jscolor.js rename to src/examples/grapheditor/www/jscolor/jscolor.js diff --git a/examples/grapheditor/www/open.html b/src/examples/grapheditor/www/open.html similarity index 100% rename from examples/grapheditor/www/open.html rename to src/examples/grapheditor/www/open.html diff --git a/examples/grapheditor/www/resources/grapheditor.txt b/src/examples/grapheditor/www/resources/grapheditor.txt similarity index 100% rename from examples/grapheditor/www/resources/grapheditor.txt rename to src/examples/grapheditor/www/resources/grapheditor.txt diff --git a/examples/grapheditor/www/resources/grapheditor_de.txt b/src/examples/grapheditor/www/resources/grapheditor_de.txt similarity index 100% rename from examples/grapheditor/www/resources/grapheditor_de.txt rename to src/examples/grapheditor/www/resources/grapheditor_de.txt diff --git a/examples/grapheditor/www/resources/grapheditor_se.txt b/src/examples/grapheditor/www/resources/grapheditor_se.txt similarity index 100% rename from examples/grapheditor/www/resources/grapheditor_se.txt rename to src/examples/grapheditor/www/resources/grapheditor_se.txt diff --git a/examples/grapheditor/www/resources/help.html b/src/examples/grapheditor/www/resources/help.html similarity index 100% rename from examples/grapheditor/www/resources/help.html rename to src/examples/grapheditor/www/resources/help.html diff --git a/examples/grapheditor/www/resources/help_de.html b/src/examples/grapheditor/www/resources/help_de.html similarity index 100% rename from examples/grapheditor/www/resources/help_de.html rename to src/examples/grapheditor/www/resources/help_de.html diff --git a/examples/grapheditor/www/resources/help_se.html b/src/examples/grapheditor/www/resources/help_se.html similarity index 100% rename from examples/grapheditor/www/resources/help_se.html rename to src/examples/grapheditor/www/resources/help_se.html diff --git a/examples/grapheditor/www/sanitizer/sanitizer.min.js b/src/examples/grapheditor/www/sanitizer/sanitizer.min.js similarity index 100% rename from examples/grapheditor/www/sanitizer/sanitizer.min.js rename to src/examples/grapheditor/www/sanitizer/sanitizer.min.js diff --git a/examples/grapheditor/www/stencils/arrows.xml b/src/examples/grapheditor/www/stencils/arrows.xml similarity index 100% rename from examples/grapheditor/www/stencils/arrows.xml rename to src/examples/grapheditor/www/stencils/arrows.xml diff --git a/examples/grapheditor/www/stencils/basic.xml b/src/examples/grapheditor/www/stencils/basic.xml similarity index 100% rename from examples/grapheditor/www/stencils/basic.xml rename to src/examples/grapheditor/www/stencils/basic.xml diff --git a/examples/grapheditor/www/stencils/bpmn.xml b/src/examples/grapheditor/www/stencils/bpmn.xml similarity index 100% rename from examples/grapheditor/www/stencils/bpmn.xml rename to src/examples/grapheditor/www/stencils/bpmn.xml diff --git a/examples/grapheditor/www/stencils/clipart/Credit_Card_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Credit_Card_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Credit_Card_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Credit_Card_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Database_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Database_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Database_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Database_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Doctor1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Doctor1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Doctor1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Doctor1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Earth_globe_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Earth_globe_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Earth_globe_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Earth_globe_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Email_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Email_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Email_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Email_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Empty_Folder_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Empty_Folder_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Empty_Folder_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Empty_Folder_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Firewall_02_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Firewall_02_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Firewall_02_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Firewall_02_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Full_Folder_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Full_Folder_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Full_Folder_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Full_Folder_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Gear_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Gear_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Gear_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Gear_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Graph_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Graph_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Graph_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Graph_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Laptop_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Laptop_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Laptop_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Laptop_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Lock_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Lock_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Lock_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Lock_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/MacBook_128x128.png b/src/examples/grapheditor/www/stencils/clipart/MacBook_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/MacBook_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/MacBook_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Monitor_Tower_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Monitor_Tower_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Monitor_Tower_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Monitor_Tower_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Piggy_Bank_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Piggy_Bank_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Piggy_Bank_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Piggy_Bank_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Pilot1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Pilot1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Pilot1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Pilot1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Printer_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Printer_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Printer_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Printer_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Router_Icon_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Router_Icon_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Router_Icon_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Router_Icon_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Safe_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Safe_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Safe_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Safe_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Security1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Security1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Security1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Security1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Server_Tower_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Server_Tower_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Server_Tower_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Server_Tower_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Shopping_Cart_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Shopping_Cart_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Shopping_Cart_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Shopping_Cart_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Software_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Software_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Software_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Software_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Soldier1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Soldier1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Soldier1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Soldier1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Suit1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Suit1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Suit1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Suit1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Suit2_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Suit2_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Suit2_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Suit2_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Suit3_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Suit3_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Suit3_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Suit3_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Tech1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Tech1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Tech1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Tech1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Telesales1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Telesales1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Telesales1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Telesales1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Virtual_Machine_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Virtual_Machine_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Virtual_Machine_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Virtual_Machine_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Virus_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Virus_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Virus_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Virus_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Wireless_Router_N_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Wireless_Router_N_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Wireless_Router_N_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Wireless_Router_N_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Worker1_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Worker1_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Worker1_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Worker1_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/Workstation_128x128.png b/src/examples/grapheditor/www/stencils/clipart/Workstation_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/Workstation_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/Workstation_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/iMac_128x128.png b/src/examples/grapheditor/www/stencils/clipart/iMac_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/iMac_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/iMac_128x128.png diff --git a/examples/grapheditor/www/stencils/clipart/iPad_128x128.png b/src/examples/grapheditor/www/stencils/clipart/iPad_128x128.png similarity index 100% rename from examples/grapheditor/www/stencils/clipart/iPad_128x128.png rename to src/examples/grapheditor/www/stencils/clipart/iPad_128x128.png diff --git a/examples/grapheditor/www/stencils/flowchart.xml b/src/examples/grapheditor/www/stencils/flowchart.xml similarity index 100% rename from examples/grapheditor/www/stencils/flowchart.xml rename to src/examples/grapheditor/www/stencils/flowchart.xml diff --git a/examples/grapheditor/www/styles/default.xml b/src/examples/grapheditor/www/styles/default.xml similarity index 100% rename from examples/grapheditor/www/styles/default.xml rename to src/examples/grapheditor/www/styles/default.xml diff --git a/examples/grapheditor/www/styles/down.gif b/src/examples/grapheditor/www/styles/down.gif similarity index 100% rename from examples/grapheditor/www/styles/down.gif rename to src/examples/grapheditor/www/styles/down.gif diff --git a/examples/grapheditor/www/styles/grapheditor.css b/src/examples/grapheditor/www/styles/grapheditor.css similarity index 100% rename from examples/grapheditor/www/styles/grapheditor.css rename to src/examples/grapheditor/www/styles/grapheditor.css diff --git a/examples/grapheditor/www/styles/help.css b/src/examples/grapheditor/www/styles/help.css similarity index 100% rename from examples/grapheditor/www/styles/help.css rename to src/examples/grapheditor/www/styles/help.css diff --git a/examples/grapheditor/www/styles/sprites.png b/src/examples/grapheditor/www/styles/sprites.png similarity index 100% rename from examples/grapheditor/www/styles/sprites.png rename to src/examples/grapheditor/www/styles/sprites.png diff --git a/examples/grapheditor/www/styles/thumb_horz.png b/src/examples/grapheditor/www/styles/thumb_horz.png similarity index 100% rename from examples/grapheditor/www/styles/thumb_horz.png rename to src/examples/grapheditor/www/styles/thumb_horz.png diff --git a/examples/grapheditor/www/styles/thumb_vertical.png b/src/examples/grapheditor/www/styles/thumb_vertical.png similarity index 100% rename from examples/grapheditor/www/styles/thumb_vertical.png rename to src/examples/grapheditor/www/styles/thumb_vertical.png diff --git a/examples/grapheditor/www/styles/up.gif b/src/examples/grapheditor/www/styles/up.gif similarity index 100% rename from examples/grapheditor/www/styles/up.gif rename to src/examples/grapheditor/www/styles/up.gif diff --git a/examples/grapheditor/www/viewer.html b/src/examples/grapheditor/www/viewer.html similarity index 100% rename from examples/grapheditor/www/viewer.html rename to src/examples/grapheditor/www/viewer.html diff --git a/examples/graphlayout.html b/src/examples/graphlayout.html similarity index 100% rename from examples/graphlayout.html rename to src/examples/graphlayout.html diff --git a/examples/grid.html b/src/examples/grid.html similarity index 100% rename from examples/grid.html rename to src/examples/grid.html diff --git a/examples/groups.html b/src/examples/groups.html similarity index 100% rename from examples/groups.html rename to src/examples/groups.html diff --git a/examples/guides.html b/src/examples/guides.html similarity index 100% rename from examples/guides.html rename to src/examples/guides.html diff --git a/examples/handles.html b/src/examples/handles.html similarity index 100% rename from examples/handles.html rename to src/examples/handles.html diff --git a/examples/helloport.html b/src/examples/helloport.html similarity index 100% rename from examples/helloport.html rename to src/examples/helloport.html diff --git a/examples/hierarchicallayout.html b/src/examples/hierarchicallayout.html similarity index 100% rename from examples/hierarchicallayout.html rename to src/examples/hierarchicallayout.html diff --git a/examples/hovericons.html b/src/examples/hovericons.html similarity index 100% rename from examples/hovericons.html rename to src/examples/hovericons.html diff --git a/examples/hoverstyle.html b/src/examples/hoverstyle.html similarity index 100% rename from examples/hoverstyle.html rename to src/examples/hoverstyle.html diff --git a/examples/htmllabel.html b/src/examples/htmllabel.html similarity index 100% rename from examples/htmllabel.html rename to src/examples/htmllabel.html diff --git a/examples/ie9svg.html b/src/examples/ie9svg.html similarity index 100% rename from examples/ie9svg.html rename to src/examples/ie9svg.html diff --git a/examples/images.html b/src/examples/images.html similarity index 100% rename from examples/images.html rename to src/examples/images.html diff --git a/examples/images/add.png b/src/examples/images/add.png similarity index 100% rename from examples/images/add.png rename to src/examples/images/add.png diff --git a/examples/images/camera.png b/src/examples/images/camera.png similarity index 100% rename from examples/images/camera.png rename to src/examples/images/camera.png diff --git a/examples/images/check.png b/src/examples/images/check.png similarity index 100% rename from examples/images/check.png rename to src/examples/images/check.png diff --git a/examples/images/close.png b/src/examples/images/close.png similarity index 100% rename from examples/images/close.png rename to src/examples/images/close.png diff --git a/examples/images/connector.gif b/src/examples/images/connector.gif similarity index 100% rename from examples/images/connector.gif rename to src/examples/images/connector.gif diff --git a/examples/images/copy.png b/src/examples/images/copy.png similarity index 100% rename from examples/images/copy.png rename to src/examples/images/copy.png diff --git a/examples/images/cut.png b/src/examples/images/cut.png similarity index 100% rename from examples/images/cut.png rename to src/examples/images/cut.png diff --git a/examples/images/delete2.png b/src/examples/images/delete2.png similarity index 100% rename from examples/images/delete2.png rename to src/examples/images/delete2.png diff --git a/examples/images/dot.gif b/src/examples/images/dot.gif similarity index 100% rename from examples/images/dot.gif rename to src/examples/images/dot.gif diff --git a/examples/images/export1.png b/src/examples/images/export1.png similarity index 100% rename from examples/images/export1.png rename to src/examples/images/export1.png diff --git a/examples/images/fit_to_size.png b/src/examples/images/fit_to_size.png similarity index 100% rename from examples/images/fit_to_size.png rename to src/examples/images/fit_to_size.png diff --git a/examples/images/gradient_background.jpg b/src/examples/images/gradient_background.jpg similarity index 100% rename from examples/images/gradient_background.jpg rename to src/examples/images/gradient_background.jpg diff --git a/examples/images/green-dot.gif b/src/examples/images/green-dot.gif similarity index 100% rename from examples/images/green-dot.gif rename to src/examples/images/green-dot.gif diff --git a/examples/images/group.png b/src/examples/images/group.png similarity index 100% rename from examples/images/group.png rename to src/examples/images/group.png diff --git a/examples/images/handle-connect.png b/src/examples/images/handle-connect.png similarity index 100% rename from examples/images/handle-connect.png rename to src/examples/images/handle-connect.png diff --git a/examples/images/handle-main.png b/src/examples/images/handle-main.png similarity index 100% rename from examples/images/handle-main.png rename to src/examples/images/handle-main.png diff --git a/examples/images/icons48/column.png b/src/examples/images/icons48/column.png similarity index 100% rename from examples/images/icons48/column.png rename to src/examples/images/icons48/column.png diff --git a/examples/images/icons48/earth.png b/src/examples/images/icons48/earth.png similarity index 100% rename from examples/images/icons48/earth.png rename to src/examples/images/icons48/earth.png diff --git a/examples/images/icons48/gear.png b/src/examples/images/icons48/gear.png similarity index 100% rename from examples/images/icons48/gear.png rename to src/examples/images/icons48/gear.png diff --git a/examples/images/icons48/keys.png b/src/examples/images/icons48/keys.png similarity index 100% rename from examples/images/icons48/keys.png rename to src/examples/images/icons48/keys.png diff --git a/examples/images/icons48/mail_new.png b/src/examples/images/icons48/mail_new.png similarity index 100% rename from examples/images/icons48/mail_new.png rename to src/examples/images/icons48/mail_new.png diff --git a/examples/images/icons48/server.png b/src/examples/images/icons48/server.png similarity index 100% rename from examples/images/icons48/server.png rename to src/examples/images/icons48/server.png diff --git a/examples/images/icons48/table.png b/src/examples/images/icons48/table.png similarity index 100% rename from examples/images/icons48/table.png rename to src/examples/images/icons48/table.png diff --git a/examples/images/key.png b/src/examples/images/key.png similarity index 100% rename from examples/images/key.png rename to src/examples/images/key.png diff --git a/examples/images/loading.gif b/src/examples/images/loading.gif similarity index 100% rename from examples/images/loading.gif rename to src/examples/images/loading.gif diff --git a/examples/images/navigate_minus.png b/src/examples/images/navigate_minus.png similarity index 100% rename from examples/images/navigate_minus.png rename to src/examples/images/navigate_minus.png diff --git a/examples/images/navigate_plus.png b/src/examples/images/navigate_plus.png similarity index 100% rename from examples/images/navigate_plus.png rename to src/examples/images/navigate_plus.png diff --git a/examples/images/paste.png b/src/examples/images/paste.png similarity index 100% rename from examples/images/paste.png rename to src/examples/images/paste.png diff --git a/examples/images/plus.png b/src/examples/images/plus.png similarity index 100% rename from examples/images/plus.png rename to src/examples/images/plus.png diff --git a/examples/images/press32.png b/src/examples/images/press32.png similarity index 100% rename from examples/images/press32.png rename to src/examples/images/press32.png diff --git a/examples/images/print32.png b/src/examples/images/print32.png similarity index 100% rename from examples/images/print32.png rename to src/examples/images/print32.png diff --git a/examples/images/printer.png b/src/examples/images/printer.png similarity index 100% rename from examples/images/printer.png rename to src/examples/images/printer.png diff --git a/examples/images/redo.png b/src/examples/images/redo.png similarity index 100% rename from examples/images/redo.png rename to src/examples/images/redo.png diff --git a/examples/images/sidebar_bg.gif b/src/examples/images/sidebar_bg.gif similarity index 100% rename from examples/images/sidebar_bg.gif rename to src/examples/images/sidebar_bg.gif diff --git a/examples/images/spacer.gif b/src/examples/images/spacer.gif similarity index 100% rename from examples/images/spacer.gif rename to src/examples/images/spacer.gif diff --git a/examples/images/toolbar_bg.gif b/src/examples/images/toolbar_bg.gif similarity index 100% rename from examples/images/toolbar_bg.gif rename to src/examples/images/toolbar_bg.gif diff --git a/examples/images/undo.png b/src/examples/images/undo.png similarity index 100% rename from examples/images/undo.png rename to src/examples/images/undo.png diff --git a/examples/images/view_1_1.png b/src/examples/images/view_1_1.png similarity index 100% rename from examples/images/view_1_1.png rename to src/examples/images/view_1_1.png diff --git a/examples/images/view_1_132.png b/src/examples/images/view_1_132.png similarity index 100% rename from examples/images/view_1_132.png rename to src/examples/images/view_1_132.png diff --git a/examples/images/view_next.png b/src/examples/images/view_next.png similarity index 100% rename from examples/images/view_next.png rename to src/examples/images/view_next.png diff --git a/examples/images/view_previous.png b/src/examples/images/view_previous.png similarity index 100% rename from examples/images/view_previous.png rename to src/examples/images/view_previous.png diff --git a/examples/images/wires-grid.gif b/src/examples/images/wires-grid.gif similarity index 100% rename from examples/images/wires-grid.gif rename to src/examples/images/wires-grid.gif diff --git a/examples/images/zoom_in.png b/src/examples/images/zoom_in.png similarity index 100% rename from examples/images/zoom_in.png rename to src/examples/images/zoom_in.png diff --git a/examples/images/zoom_in32.png b/src/examples/images/zoom_in32.png similarity index 100% rename from examples/images/zoom_in32.png rename to src/examples/images/zoom_in32.png diff --git a/examples/images/zoom_out.png b/src/examples/images/zoom_out.png similarity index 100% rename from examples/images/zoom_out.png rename to src/examples/images/zoom_out.png diff --git a/examples/images/zoom_out32.png b/src/examples/images/zoom_out32.png similarity index 100% rename from examples/images/zoom_out32.png rename to src/examples/images/zoom_out32.png diff --git a/examples/indicators.html b/src/examples/indicators.html similarity index 100% rename from examples/indicators.html rename to src/examples/indicators.html diff --git a/examples/jquery.html b/src/examples/jquery.html similarity index 100% rename from examples/jquery.html rename to src/examples/jquery.html diff --git a/examples/jsondata.html b/src/examples/jsondata.html similarity index 100% rename from examples/jsondata.html rename to src/examples/jsondata.html diff --git a/examples/labelposition.html b/src/examples/labelposition.html similarity index 100% rename from examples/labelposition.html rename to src/examples/labelposition.html diff --git a/examples/labels.html b/src/examples/labels.html similarity index 100% rename from examples/labels.html rename to src/examples/labels.html diff --git a/examples/layers.html b/src/examples/layers.html similarity index 100% rename from examples/layers.html rename to src/examples/layers.html diff --git a/examples/lod.html b/src/examples/lod.html similarity index 100% rename from examples/lod.html rename to src/examples/lod.html diff --git a/examples/map-background/images/layers-2x.png b/src/examples/map-background/images/layers-2x.png similarity index 100% rename from examples/map-background/images/layers-2x.png rename to src/examples/map-background/images/layers-2x.png diff --git a/examples/map-background/images/layers.png b/src/examples/map-background/images/layers.png similarity index 100% rename from examples/map-background/images/layers.png rename to src/examples/map-background/images/layers.png diff --git a/examples/map-background/images/marker-icon-2x.png b/src/examples/map-background/images/marker-icon-2x.png similarity index 100% rename from examples/map-background/images/marker-icon-2x.png rename to src/examples/map-background/images/marker-icon-2x.png diff --git a/examples/map-background/images/marker-icon.png b/src/examples/map-background/images/marker-icon.png similarity index 100% rename from examples/map-background/images/marker-icon.png rename to src/examples/map-background/images/marker-icon.png diff --git a/examples/map-background/images/marker-shadow.png b/src/examples/map-background/images/marker-shadow.png similarity index 100% rename from examples/map-background/images/marker-shadow.png rename to src/examples/map-background/images/marker-shadow.png diff --git a/examples/map-background/leaflet-src.js b/src/examples/map-background/leaflet-src.js similarity index 100% rename from examples/map-background/leaflet-src.js rename to src/examples/map-background/leaflet-src.js diff --git a/examples/map-background/leaflet.css b/src/examples/map-background/leaflet.css similarity index 100% rename from examples/map-background/leaflet.css rename to src/examples/map-background/leaflet.css diff --git a/examples/map-background/leaflet.js b/src/examples/map-background/leaflet.js similarity index 100% rename from examples/map-background/leaflet.js rename to src/examples/map-background/leaflet.js diff --git a/examples/map-background/map-background.html b/src/examples/map-background/map-background.html similarity index 100% rename from examples/map-background/map-background.html rename to src/examples/map-background/map-background.html diff --git a/examples/map.html b/src/examples/map.html similarity index 100% rename from examples/map.html rename to src/examples/map.html diff --git a/examples/markers.html b/src/examples/markers.html similarity index 100% rename from examples/markers.html rename to src/examples/markers.html diff --git a/examples/menustyle.html b/src/examples/menustyle.html similarity index 100% rename from examples/menustyle.html rename to src/examples/menustyle.html diff --git a/examples/merge.html b/src/examples/merge.html similarity index 100% rename from examples/merge.html rename to src/examples/merge.html diff --git a/examples/monitor.html b/src/examples/monitor.html similarity index 100% rename from examples/monitor.html rename to src/examples/monitor.html diff --git a/examples/morph.html b/src/examples/morph.html similarity index 100% rename from examples/morph.html rename to src/examples/morph.html diff --git a/examples/offpage.html b/src/examples/offpage.html similarity index 100% rename from examples/offpage.html rename to src/examples/offpage.html diff --git a/examples/orgchart.html b/src/examples/orgchart.html similarity index 100% rename from examples/orgchart.html rename to src/examples/orgchart.html diff --git a/examples/orthogonal.html b/src/examples/orthogonal.html similarity index 100% rename from examples/orthogonal.html rename to src/examples/orthogonal.html diff --git a/examples/overlays.html b/src/examples/overlays.html similarity index 100% rename from examples/overlays.html rename to src/examples/overlays.html diff --git a/examples/pagebreaks.html b/src/examples/pagebreaks.html similarity index 100% rename from examples/pagebreaks.html rename to src/examples/pagebreaks.html diff --git a/examples/perimeter.html b/src/examples/perimeter.html similarity index 100% rename from examples/perimeter.html rename to src/examples/perimeter.html diff --git a/examples/permissions.html b/src/examples/permissions.html similarity index 100% rename from examples/permissions.html rename to src/examples/permissions.html diff --git a/examples/portrefs.html b/src/examples/portrefs.html similarity index 100% rename from examples/portrefs.html rename to src/examples/portrefs.html diff --git a/examples/ports.html b/src/examples/ports.html similarity index 100% rename from examples/ports.html rename to src/examples/ports.html diff --git a/examples/radialtreelayout.html b/src/examples/radialtreelayout.html similarity index 100% rename from examples/radialtreelayout.html rename to src/examples/radialtreelayout.html diff --git a/examples/resources.html b/src/examples/resources.html similarity index 100% rename from examples/resources.html rename to src/examples/resources.html diff --git a/examples/schema.html b/src/examples/schema.html similarity index 100% rename from examples/schema.html rename to src/examples/schema.html diff --git a/examples/scrollbars.html b/src/examples/scrollbars.html similarity index 100% rename from examples/scrollbars.html rename to src/examples/scrollbars.html diff --git a/examples/secondlabel.html b/src/examples/secondlabel.html similarity index 100% rename from examples/secondlabel.html rename to src/examples/secondlabel.html diff --git a/examples/serverview.html b/src/examples/serverview.html similarity index 100% rename from examples/serverview.html rename to src/examples/serverview.html diff --git a/examples/shape.html b/src/examples/shape.html similarity index 100% rename from examples/shape.html rename to src/examples/shape.html diff --git a/examples/showregion.html b/src/examples/showregion.html similarity index 100% rename from examples/showregion.html rename to src/examples/showregion.html diff --git a/examples/standardsmode.html b/src/examples/standardsmode.html similarity index 100% rename from examples/standardsmode.html rename to src/examples/standardsmode.html diff --git a/examples/stencils.html b/src/examples/stencils.html similarity index 100% rename from examples/stencils.html rename to src/examples/stencils.html diff --git a/examples/stencils.xml b/src/examples/stencils.xml similarity index 100% rename from examples/stencils.xml rename to src/examples/stencils.xml diff --git a/examples/stylesheet.html b/src/examples/stylesheet.html similarity index 100% rename from examples/stylesheet.html rename to src/examples/stylesheet.html diff --git a/examples/swimlanes.html b/src/examples/swimlanes.html similarity index 100% rename from examples/swimlanes.html rename to src/examples/swimlanes.html diff --git a/examples/template.html b/src/examples/template.html similarity index 100% rename from examples/template.html rename to src/examples/template.html diff --git a/examples/thread.html b/src/examples/thread.html similarity index 100% rename from examples/thread.html rename to src/examples/thread.html diff --git a/examples/toolbar.html b/src/examples/toolbar.html similarity index 100% rename from examples/toolbar.html rename to src/examples/toolbar.html diff --git a/examples/touch.html b/src/examples/touch.html similarity index 100% rename from examples/touch.html rename to src/examples/touch.html diff --git a/examples/tree.html b/src/examples/tree.html similarity index 100% rename from examples/tree.html rename to src/examples/tree.html diff --git a/examples/uiconfig.html b/src/examples/uiconfig.html similarity index 100% rename from examples/uiconfig.html rename to src/examples/uiconfig.html diff --git a/examples/uiconfig.xml b/src/examples/uiconfig.xml similarity index 100% rename from examples/uiconfig.xml rename to src/examples/uiconfig.xml diff --git a/examples/userobject.html b/src/examples/userobject.html similarity index 100% rename from examples/userobject.html rename to src/examples/userobject.html diff --git a/examples/validation.html b/src/examples/validation.html similarity index 100% rename from examples/validation.html rename to src/examples/validation.html diff --git a/examples/visibility.html b/src/examples/visibility.html similarity index 100% rename from examples/visibility.html rename to src/examples/visibility.html diff --git a/examples/webpack/anchors.html b/src/examples/webpack/anchors.html similarity index 100% rename from examples/webpack/anchors.html rename to src/examples/webpack/anchors.html diff --git a/examples/webpack/src/anchors.js b/src/examples/webpack/src/anchors.js similarity index 100% rename from examples/webpack/src/anchors.js rename to src/examples/webpack/src/anchors.js diff --git a/examples/windows.html b/src/examples/windows.html similarity index 100% rename from examples/windows.html rename to src/examples/windows.html diff --git a/examples/wires.html b/src/examples/wires.html similarity index 100% rename from examples/wires.html rename to src/examples/wires.html diff --git a/examples/wrapping.html b/src/examples/wrapping.html similarity index 100% rename from examples/wrapping.html rename to src/examples/wrapping.html diff --git a/src/js/view/mxGraph.js b/src/js/view/mxGraph.js index 8b2d3331e..97e0d505c 100644 --- a/src/js/view/mxGraph.js +++ b/src/js/view/mxGraph.js @@ -4022,9 +4022,31 @@ class mxGraph extends mxEventSource { * Default is false. */ insertVertex = function (parent, id, value, - x, y, width, height, style, relative) { - var vertex = this.createVertex(parent, id, value, x, y, width, height, style, relative); + x, y, width, height, + style, relative) { + if (arguments.length === 1) { + // If only a single parameter, treat as an object + // This syntax can be more readable + let params = arguments[0]; + parent = params.parent; + id = params.id; + value = params.value; + + x = 'x' in params ? params.x : params.position[0]; + y = 'y' in params ? params.y : params.position[1]; + width = 'width' in params ? params.width : params.size[0]; + height = 'height' in params ? params.height : params.size[1]; + + style = params.style; + relative = params.relative; + } + + var vertex = this.createVertex( + parent, id, value, + x, y, width, height, + style, relative + ); return this.addCell(vertex, parent); };