Skip to content
Snippets Groups Projects
Verified Commit 9d110d7e authored by Alexander Krause's avatar Alexander Krause
Browse files

cytoscape in addon

parent d84423d8
No related branches found
No related tags found
No related merge requests found
import Component from '@ember/component'; import Component from '@ember/component';
import layout from '../templates/components/node-overview'; import layout from '../templates/components/node-overview';
import cytoscape from 'npm:cytoscape';
// Declare globals
/*global cytoscape*/
export default Component.extend({ export default Component.extend({
layout, layout,
......
<div id="cy" class"cytoscape-container"></div> <div id="cy" class="cytoscape-container"></div>
\ No newline at end of file \ No newline at end of file
<div class="container-fluid pre-scrollable" style="min-height: 100%;"> <div class="container-fluid pre-scrollable" style="min-height: 100%;">
{{#each processList as |processPair|}} <!-- {{#each processList as |processPair|}}
<div class="row"> <div class="row">
{{#each processPair as |process|}} {{#each processPair as |process|}}
<div class="col-md-6"> <div class="col-md-6">
...@@ -7,5 +7,6 @@ ...@@ -7,5 +7,6 @@
</div> </div>
{{/each}} {{/each}}
</div> </div>
{{/each}} {{/each}} -->
{{node-overview}}
</div> </div>
\ No newline at end of file
...@@ -11,5 +11,6 @@ module.exports = { ...@@ -11,5 +11,6 @@ module.exports = {
included: function(app) { included: function(app) {
this._super.included.apply(this, arguments); this._super.included.apply(this, arguments);
app.import('vendor/style.css'); app.import('vendor/style.css');
app.import('vendor/cytoscape.min.js');
} }
}; };
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
"test": "ember try:each" "test": "ember try:each"
}, },
"dependencies": { "dependencies": {
"cytoscape": "^3.2.7",
"ember-cli-babel": "^6.8.1", "ember-cli-babel": "^6.8.1",
"ember-cli-htmlbars": "^2.0.3", "ember-cli-htmlbars": "^2.0.3",
"ember-cli-htmlbars-inline-precompile": "^1.0.2" "ember-cli-htmlbars-inline-precompile": "^1.0.2"
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment