refactor(edges): use internal id

This commit is contained in:
moklick
2019-07-31 18:05:37 +02:00
parent e348cccc76
commit f9bf2368c7
6 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -38453,7 +38453,7 @@ function renderEdge(e, props, graphContext) {
var EdgeComponent = props.edgeTypes[edgeType] || props.edgeTypes.default;
return _react.default.createElement(EdgeComponent, {
key: "".concat(e.source, "-").concat(e.target),
key: e.id,
id: e.id,
type: e.type,
sourceNode: sourceNode,
@@ -42638,7 +42638,7 @@ var parent = module.bundle.parent;
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
var hostname = "" || location.hostname;
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
var ws = new WebSocket(protocol + '://' + hostname + ':' + "53462" + '/');
var ws = new WebSocket(protocol + '://' + hostname + ':' + "61736" + '/');
ws.onmessage = function (event) {
checkedAssets = {};