Skip to content
Snippets Groups Projects
Commit a62acd95 authored by Christoph Dornieden's avatar Christoph Dornieden
Browse files

prepare for merge

parent d65dbb3b
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ export default Ember.Service.extend({
createGraph(models) {
this.debug('loaded models', models);
const serviceInstances = models.serviceInstances;
const services = models.services;
const communicationInstances = models.communicationInstances;
const nodeGroups = models.nodeGroups;
const nodes = models.nodes;
......@@ -38,7 +39,7 @@ export default Ember.Service.extend({
serviceInstances.forEach(instance => {
const data = instance.toJSON({includeId: true});
data.label = data.name;
data.parent = data.nodeId;
data.parent = data.nodeId;
network.nodes.push({
data: data
......@@ -49,6 +50,8 @@ export default Ember.Service.extend({
data.label = data.name;
data.source = data.sourceId;
data.target = data.targetId;
data.technology = instance.store.peekRecord('communication', data.communicationId).get('technology');
this.debug('technology', data.technology);
network.edges.push({
data: data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment