2012-05-21 20:32:26 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>mxGraph Workflow Example</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<style type="text/css" media="screen">
|
|
|
|
div.base {
|
|
|
|
position: absolute;
|
|
|
|
overflow: hidden;
|
|
|
|
font-family: Arial;
|
|
|
|
font-size: 8pt;
|
|
|
|
}
|
|
|
|
div.base#graph {
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #F2F2F2;
|
|
|
|
border-width: 1px;
|
|
|
|
background: url('images/grid.gif');
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
|
|
mxBasePath = '../../src';
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="../../src/js/mxClient.js"></script>
|
2017-01-16 08:36:34 +00:00
|
|
|
<script type="text/javascript" src="js/app.js"></script>
|
2012-05-21 20:32:26 +00:00
|
|
|
<script type="text/javascript">
|
2014-07-25 06:48:01 +00:00
|
|
|
mxGraph.prototype.htmlLabels = true;
|
2013-09-25 12:02:54 +00:00
|
|
|
|
2014-07-25 06:48:01 +00:00
|
|
|
mxGraph.prototype.isWrapping = function(cell)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
};
|
|
|
|
|
2012-05-21 20:32:26 +00:00
|
|
|
mxConstants.DEFAULT_HOTSPOT = 1;
|
|
|
|
|
|
|
|
// Enables guides
|
|
|
|
mxGraphHandler.prototype.guidesEnabled = true;
|
|
|
|
|
|
|
|
// Alt disables guides
|
|
|
|
mxGuide.prototype.isEnabledForEvent = function(evt)
|
|
|
|
{
|
|
|
|
return !mxEvent.isAltDown(evt);
|
|
|
|
};
|
|
|
|
|
|
|
|
// Enables snapping waypoints to terminals
|
|
|
|
mxEdgeHandler.prototype.snapToTerminals = true;
|
|
|
|
|
|
|
|
window.onbeforeunload = function() { return mxResources.get('changesLost'); };
|
|
|
|
</script>
|
|
|
|
</head>
|
2017-01-16 08:36:34 +00:00
|
|
|
<body onload="createEditor('config/workfloweditor.xml');">
|
2012-05-21 20:32:26 +00:00
|
|
|
<table id="splash" width="100%" height="100%"
|
|
|
|
style="background:white;position:absolute;top:0px;left:0px;z-index:4;">
|
|
|
|
<tr>
|
|
|
|
<td align="center" valign="middle">
|
|
|
|
<img src="images/loading.gif">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<div id="graph" class="base">
|
|
|
|
<!-- Graph Here -->
|
|
|
|
</div>
|
2013-09-25 12:02:54 +00:00
|
|
|
<div id="status" class="base" align="right" style="white-space:nowrap;">
|
2012-05-21 20:32:26 +00:00
|
|
|
<!-- Status Here -->
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|