Commit 6d89e85d authored by Fintan Mc Gee's avatar Fintan Mc Gee

fixed issue where projected edges were not being added to tem,proal layers (...

fixed issue where projected edges  were not being added to tem,proal layers ( due to the laaering expecting and edge if rather than a uid)
parent 061f326e
......@@ -2972,7 +2972,7 @@ var MultiLayerGraph = function (nodes, links, layerName) {
var newID = sourceID + "_" + targetID;
if(!newLinkWeightMap.hasOwnProperty(newID)) {
newLinkWeightMap[newID] = 1;
var newLink = {uid: newID,
var newLink = {uid: newID, id:newID,
source:useIdsForEdgeEndpoints?sourceID:targetLayer.node[sourceID],
target:useIdsForEdgeEndpoints?targetID:targetLayer.node[targetID],
type:projectionEdgeType,
......@@ -3666,8 +3666,6 @@ var MultiLayerGraph = function (nodes, links, layerName) {
}
sVersion.aspects = aspectsByName;
sVersion.aspects["Master"] = [];
g.layers.forEach(function(layer) {
......
......@@ -2994,7 +2994,7 @@ var MultiLayerGraph = function (nodes, links, layerName) {
var newID = sourceID + "_" + targetID;
if(!newLinkWeightMap.hasOwnProperty(newID)) {
newLinkWeightMap[newID] = 1;
var newLink = {uid: newID,
var newLink = {uid: newID, id:newID,
source:useIdsForEdgeEndpoints?sourceID:targetLayer.node[sourceID],
target:useIdsForEdgeEndpoints?targetID:targetLayer.node[targetID],
type:projectionEdgeType,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment