Skip to content
Permalink
Browse files

9.6.4 release

  • Loading branch information...
alderg committed Dec 14, 2018
1 parent 5059bdc commit 2d6ce4910c8c175d6746efd0ca8f2fd1ba687678
@@ -1,3 +1,15 @@
14-DEC-2018: 9.6.4

- Uses mxGraph 3.9.12

13-DEC-2018: 9.6.3

- Uses mxGraph 3.9.11 beta 10

12-DEC-2018: 9.6.2

- Uses mxGraph 3.9.11 beta 9

11-DEC-2018: 9.6.1

- Adds source-/targetPerimeterSpacing to default style
@@ -1 +1 @@
9.6.1
9.6.4

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,7 +1,7 @@
CACHE MANIFEST

# THIS FILE WAS GENERATED. DO NOT MODIFY!
# 12/11/2018 02:35 PM
# 12/14/2018 01:24 PM

app.html
index.html?offline=1
@@ -410,112 +410,7 @@ <h2 id="geStatus">Loading...</h2>
/**
* Main
*/
App.main(function(ui)
{
// Instruments model.cloneCells
var lastReport = 0;
// Checks the array for nulls and duplicates
ui.editor.graph.model.cloneCells = function(cells, includeChildren, mapping)
{
try
{
var rep = [];
var dups = 0;
var nils = 0;
var lookup = {};
for (var i = 0; i < cells.length; i++)
{
if (cells[i] == null)
{
nils++;
}
else
{
var id = mxObjectIdentity.get(cells[i]);
if (lookup[id] != null)
{
dups++;
rep.push('Checking duplicate:', id, 'Equal:', lookup[id] == cells[i]);
}
else
{
lookup[id] = cells[i];
}
}
}
if (nils > 0 || dups > 0)
{
var now = new Date().getTime();
// Do not send too many reports
if (now - lastReport > 30000)
{
var codec = new mxCodec();
var model = new mxGraphModel();
var parent = model.getChildAt(model.getRoot(), 0);
for (var i = 0; i < cells.length; i++)
{
model.add(parent, cells[i]);
}
var node = codec.encode(model);
// To avoid NPE with an old version of app.min
if (ui.anonymizeNode != null)
{
ui.anonymizeNode(node);
}
else
{
// Get structural info for analysis
var nodes = node.getElementsByTagName('mxCell');
for (var i = 0; i < nodes.length; i++)
{
nodes[i].removeAttribute('value');
nodes[i].removeAttribute('style');
if (nodes[i].parentNode != null && nodes[i].parentNode.nodeName != 'root' &&
nodes[i].parentNode.parentNode != null)
{
nodes[i].setAttribute('id', nodes[i].parentNode.getAttribute('id'));
nodes[i].parentNode.parentNode.replaceChild(nodes[i], nodes[i].parentNode);
}
}
var geos = node.getElementsByTagName('mxGeometry');
while (geos.length > 0)
{
geos[0].parentNode.removeChild(geos[0]);
}
}
ui.sendReport(dups + ' duplicates and ' +
nils + ' nulls in ' + cells.length + ':\n' +
new Error().stack + '\n\n' +
mxUtils.getPrettyXml(node) + '\n' +
rep.join('\n') + '\n' +
'Agent: ' + navigator.userAgent);
}
lastReport = now;
}
}
catch (e)
{
// ignore
}
return mxGraphModel.prototype.cloneCells.apply(this, arguments);
};
});
App.main();
</script>
</body>
</html>
Oops, something went wrong.

0 comments on commit 2d6ce49

Please sign in to comment.
You can’t perform that action at this time.