index.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]-->
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <title>Flowchart Maker &amp; Online Diagram Software</title>
  6. <meta charset="utf-8">
  7. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  8. <meta name="Description" content="draw.io is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams">
  9. <meta name="Keywords" content="diagram, online, flow chart, flowchart maker, uml, erd">
  10. <meta itemprop="name" content="draw.io - free flowchart maker and diagrams online">
  11. <meta itemprop="description" content="draw.io is a free online diagramming application and flowchart maker . You can use it to create UML, entity relationship,
  12. org charts, BPMN and BPM, database schema and networks. Also possible are telecommunication network, workflow, flowcharts, maps overlays and GIS, electronic
  13. circuit and social network diagrams.">
  14. <meta itemprop="image" content="https://lh4.googleusercontent.com/-cLKEldMbT_E/Tx8qXDuw6eI/AAAAAAAAAAs/Ke0pnlk8Gpg/w500-h344-k/BPMN%2Bdiagram%2Brc2f.png">
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  16. <meta name="msapplication-config" content="images/browserconfig.xml">
  17. <meta name="mobile-web-app-capable" content="yes">
  18. <meta name="theme-color" content="#d89000">
  19. <script type="text/javascript">
  20. /**
  21. * URL Parameters and protocol description are here:
  22. *
  23. * https://desk.draw.io/support/solutions/articles/16000042546-what-url-parameters-are-supported
  24. *
  25. * Parameters for developers:
  26. *
  27. * - dev=1: For developers only
  28. * - test=1: For developers only
  29. * - drawdev=1: For developers only
  30. * - export=URL for export: For developers only
  31. * - ignoremime=1: For developers only (see DriveClient.js). Use Cmd-S to override mime.
  32. * - createindex=1: For developers only (see etc/build/README)
  33. * - filesupport=0: For developers only (see Editor.js in core)
  34. * - savesidebar=1: For developers only (see Sidebar.js)
  35. * - pages=1: For developers only (see Pages.js)
  36. * - lic=email: For developers only (see LicenseServlet.java)
  37. * --
  38. * - networkshapes=1: For testing network shapes (temporary)
  39. */
  40. var urlParams = (function()
  41. {
  42. var result = new Object();
  43. var params = window.location.search.slice(1).split('&');
  44. for (var i = 0; i < params.length; i++)
  45. {
  46. idx = params[i].indexOf('=');
  47. if (idx > 0)
  48. {
  49. result[params[i].substring(0, idx)] = params[i].substring(idx + 1);
  50. }
  51. }
  52. return result;
  53. })();
  54. // Forces CDN caches by passing URL parameters via URL hash
  55. if (window.location.hash != null && window.location.hash.substring(0, 2) == '#P')
  56. {
  57. try
  58. {
  59. urlParams = JSON.parse(decodeURIComponent(window.location.hash.substring(2)));
  60. if (urlParams.hash != null)
  61. {
  62. window.location.hash = urlParams.hash;
  63. }
  64. }
  65. catch (e)
  66. {
  67. // ignore
  68. }
  69. }
  70. // Redirects page if required
  71. if (urlParams['dev'] != '1')
  72. {
  73. (function()
  74. {
  75. var proto = window.location.protocol;
  76. // Electron protocol is file:
  77. if (proto != 'file:')
  78. {
  79. var host = window.location.host;
  80. // Redirects apex and rt to www
  81. if (host === 'draw.io' || host === 'rt.draw.io')
  82. {
  83. host = 'www.draw.io';
  84. }
  85. var href = proto + '//' + host + window.location.href.substring(
  86. window.location.protocol.length +
  87. window.location.host.length + 2);
  88. // Redirects if href changes
  89. if (href != window.location.href)
  90. {
  91. window.location.href = href;
  92. }
  93. }
  94. })();
  95. }
  96. /**
  97. * Adds meta tags with application name (depends on offline URL parameter)
  98. */
  99. (function()
  100. {
  101. function addMeta(name, content)
  102. {
  103. try
  104. {
  105. var s = document.createElement('meta');
  106. s.setAttribute('name', name);
  107. s.setAttribute('content', content);
  108. var t = document.getElementsByTagName('meta')[0];
  109. t.parentNode.insertBefore(s, t);
  110. }
  111. catch (e)
  112. {
  113. // ignore
  114. }
  115. };
  116. var name = 'draw.io';
  117. if (urlParams['offline'] === '1')
  118. {
  119. name += ' app';
  120. }
  121. addMeta('apple-mobile-web-app-title', name);
  122. addMeta('application-name', name);
  123. })();
  124. </script>
  125. <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/plgmlhohecdddhbmmkncjdmlhcmaachm">
  126. <link rel="apple-touch-icon" sizes="180x180" href="images/apple-touch-icon.png">
  127. <link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
  128. <link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
  129. <link rel="mask-icon" href="images/safari-pinned-tab.svg" color="#d89000">
  130. <link rel="stylesheet" type="text/css" href="styles/grapheditor.css">
  131. <link rel="canonical" href="https://www.draw.io">
  132. <link rel="manifest" href="images/manifest.json">
  133. <link rel="shortcut icon" href="favicon.ico">
  134. <style type="text/css">
  135. body { overflow:hidden; }
  136. div.picker { z-index: 10007; }
  137. .geSidebarContainer .geTitle { color:#505050; }
  138. .geSidebarContainer .geTitle input {
  139. font-size:8pt;
  140. color:#606060;
  141. }
  142. .geBlock {
  143. z-index:-3;
  144. margin:100px;
  145. margin-top:40px;
  146. margin-bottom:30px;
  147. padding:20px;
  148. }
  149. .geBlock h1, .geBlock h2 {
  150. margin-top:0px;
  151. padding-top:0px;
  152. }
  153. .geEditor ::-webkit-scrollbar {
  154. width:12px;
  155. height:12px;
  156. }
  157. .geEditor ::-webkit-scrollbar-track {
  158. background:whiteSmoke;
  159. -webkit-box-shadow:inset 0 0 4px rgba(0,0,0,0.1);
  160. }
  161. .geEditor ::-webkit-scrollbar-thumb {
  162. background:#c5c5c5;
  163. border-radius:10px;
  164. border:whiteSmoke solid 3px;
  165. }
  166. .geEditor ::-webkit-scrollbar-thumb:hover {
  167. background:#b5b5b5;
  168. }
  169. .geTemplate {
  170. border:1px solid transparent;
  171. display:inline-block;
  172. _display:inline;
  173. vertical-align:top;
  174. border-radius:3px;
  175. overflow:hidden;
  176. font-size:14pt;
  177. cursor:pointer;
  178. margin:5px;
  179. }
  180. .geFooterContainer div.geSocialFooter a {
  181. display:inline;
  182. padding:0px;
  183. }
  184. .geFooterContainer div.geSocialFooter a img {
  185. margin-top:10px;
  186. opacity:0.5;
  187. }
  188. .geFooterContainer div.geSocialFooter a img:hover {
  189. opacity:1;
  190. }
  191. .geFooterContainer>div#geFooter>img {
  192. opacity:0.5;
  193. border:1px solid transparent;
  194. cusor:pointer;
  195. margin-top:3px;
  196. margin-right:6px;
  197. position:absolute;
  198. right:4px;
  199. top:12px;
  200. padding:1px;
  201. cursor:pointer;
  202. }
  203. .geFooterContainer>div#geFooter>img:hover {
  204. opacity: 1;
  205. }
  206. </style>
  207. <!-- Workaround for binary XHR in IE 9/10, see App.loadUrl -->
  208. <!--[if (IE 9)|(IE 10)]><!-->
  209. <script type="text/vbscript">
  210. Function mxUtilsBinaryToArray(Binary)
  211. Dim i
  212. ReDim byteArray(LenB(Binary))
  213. For i = 1 To LenB(Binary)
  214. byteArray(i-1) = AscB(MidB(Binary, i, 1))
  215. Next
  216. mxUtilsBinaryToArray = byteArray
  217. End Function
  218. </script>
  219. <!--<![endif]-->
  220. <script type="text/javascript">
  221. /**
  222. * Synchronously adds scripts to the page.
  223. */
  224. function mxscript(src, onLoad, id, dataAppKey, noWrite)
  225. {
  226. if (onLoad != null || noWrite)
  227. {
  228. var s = document.createElement('script');
  229. s.setAttribute('type', 'text/javascript');
  230. s.setAttribute('src', src);
  231. var r = false;
  232. if (id != null)
  233. {
  234. s.setAttribute('id', id);
  235. }
  236. if (dataAppKey != null)
  237. {
  238. s.setAttribute('data-app-key', dataAppKey);
  239. }
  240. if (onLoad != null)
  241. {
  242. s.onload = s.onreadystatechange = function()
  243. {
  244. if (!r && (!this.readyState || this.readyState == 'complete'))
  245. {
  246. r = true;
  247. onLoad();
  248. }
  249. };
  250. }
  251. var t = document.getElementsByTagName('script')[0];
  252. t.parentNode.insertBefore(s, t);
  253. }
  254. else
  255. {
  256. document.write('<script src="' + src + '"' + ((id != null) ? ' id="' + id +'" ' : '') +
  257. ((dataAppKey != null) ? ' data-app-key="' + dataAppKey +'" ' : '') + '></scr' + 'ipt>');
  258. }
  259. };
  260. /**
  261. * Asynchronously adds scripts to the page.
  262. */
  263. function mxinclude(src)
  264. {
  265. var g = document.createElement('script'); g.type = 'text/javascript'; g.async = true; g.src = src;
  266. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(g, s);
  267. };
  268. // Checks for local storage
  269. var isLocalStorage = false;
  270. try
  271. {
  272. isLocalStorage = urlParams['local'] != '1' && typeof(localStorage) != 'undefined';
  273. }
  274. catch (e)
  275. {
  276. // ignored
  277. }
  278. var t0 = new Date();
  279. // Changes paths for local development environment
  280. if (urlParams['dev'] == '1')
  281. {
  282. // Used to request grapheditor/mxgraph sources in dev mode
  283. var mxDevUrl = document.location.protocol + '//devhost.jgraph.com/mxgraph2';
  284. if (document.location.protocol == 'file:')
  285. {
  286. mxDevUrl = '../../mxgraph2';
  287. // Forces includes for dev environment in node.js
  288. mxForceIncludes = true;
  289. }
  290. var geBasePath = mxDevUrl + '/javascript/examples/grapheditor/www/js';
  291. var mxBasePath = mxDevUrl + '/javascript/src';
  292. // Used to request draw.io sources in dev mode
  293. var drawDevUrl = '';
  294. if (urlParams['drawdev'] == '1')
  295. {
  296. drawDevUrl = document.location.protocol + '//drawhost.jgraph.com/';
  297. }
  298. mxscript(drawDevUrl + 'js/diagramly/Init.js');
  299. mxscript(geBasePath + '/Init.js');
  300. mxscript(mxDevUrl + '/javascript/src/js/mxClient.js');
  301. // Adds all JS code that depends on mxClient. This indirection via Devel.js is
  302. // required in some browsers to make sure mxClient.js (and the files that it
  303. // loads asynchronously) are available when the code loaded in Devel.js runs.
  304. mxscript(drawDevUrl + 'js/diagramly/Devel.js');
  305. }
  306. else
  307. {
  308. mxscript('js/app.min.js');
  309. }
  310. // Electron
  311. if (window && window.process && window.process.type)
  312. {
  313. mxscript('js/diagramly/ElectronApp.js');
  314. }
  315. // Adds basic error handling
  316. window.onerror = function()
  317. {
  318. var status = document.getElementById('geStatus');
  319. if (status != null)
  320. {
  321. status.innerHTML = 'Page could not be loaded. Please try refreshing.';
  322. }
  323. };
  324. </script>
  325. </head>
  326. <body class="geEditor">
  327. <div id="geInfo">
  328. <div class="geBlock" style="text-align:center;min-width:50%;">
  329. <h1>Flowchart Maker and Online Diagram Software</h1>
  330. <p>
  331. draw.io (formerly Diagramly) is free online diagram software. You can use it as a flowchart maker, network diagram software, to create UML online, as an ER diagram tool,
  332. to design database schema, to build BPMN online, as a circuit diagram maker, and more. draw.io can import .vsdx, Gliffy&trade; and Lucidchart&trade; files .
  333. </p>
  334. <h2 id="geStatus">Loading...</h2>
  335. <p>
  336. Please ensure JavaScript is enabled.
  337. </p>
  338. </div>
  339. </div>
  340. <div id="geFooter" style="visibility:hidden;overflow:hidden;margin-right:170px;height:100%;">
  341. <div class="geSocialFooter" style="position:absolute;right:32px;white-space:nowrap;">
  342. <a href="https://www.youtube.com/channel/UCiTtRN9b8P4CoSfpkfgEJHA" title="draw.io on Youtube" target="_blank">
  343. <img border="0" width="24" height="24" src="images/glyphicons_youtube.png" alt="draw.io on Youtube"/>
  344. </a>
  345. &nbsp;
  346. <a href="https://www.facebook.com/pages/drawio/161015263923018" title="draw.io on Facebook" target="_blank">
  347. <img border="0" width="24" height="24" src="images/glyphicons_facebook.png" alt="draw.io on Facebook"/>
  348. </a>
  349. &nbsp;
  350. <a href="https://www.twitter.com/drawio" title="draw.io on Twitter" target="_blank">
  351. <img border="0" width="24" height="24" src="images/glyphicons_twitter.png" alt="draw.io on Twitter"/>
  352. </a>
  353. &nbsp;
  354. <a href="https://github.com/jgraph/drawio" title="draw.io on GitHub" target="_blank">
  355. <img border="0" width="24" height="24" src="images/glyphicons_github.png" alt="draw.io on GitHub"/>
  356. </a>
  357. </div>
  358. <table align="center" height="100%">
  359. <tr>
  360. <td id="geFooterItem1" align="center" style="width:280px;transition: all 1s ease;">
  361. <a title="GitHub" href="https://github.com/jgraph/drawio" target="_blank">
  362. <img border="0" align="absmiddle" style="margin-top:-4px;padding-right:10px;"
  363. width="24" height="24" src="images/glyphicons_github.png"/>Fork us on GitHub</a>
  364. </td>
  365. <td id="geFooterItem2" align="center" style="width:260px;">
  366. <a id="geFooterLink1" title="Download draw.io Desktop" target="_blank"
  367. href="https://get.draw.io/">
  368. <img border="0" align="absmiddle" style="margin-top:-2px;padding-right:10px;"
  369. width="26" src="images/drawlogo48.png">Download draw.io Desktop
  370. </a>
  371. </td>
  372. </tr>
  373. </table>
  374. </div>
  375. <script type="text/javascript">
  376. /**
  377. * Main
  378. */
  379. App.main();
  380. </script>
  381. </body>
  382. </html>