#1261 Removed calls to console.log

This commit is contained in:
Knut Sveidqvist
2020-02-21 09:50:04 +01:00
parent 3acff54837
commit 89c1853977
4 changed files with 0 additions and 12 deletions

View File

@@ -157,7 +157,6 @@ export const addClass = function(id, style) {
if (typeof style !== 'undefined') {
if (style !== null) {
style.forEach(function(s) {
console.log('style', s);
if (s.match('color')) {
const newStyle1 = s.replace('fill', 'bgFill');
const newStyle2 = newStyle1.replace('color', 'fill');
@@ -202,8 +201,6 @@ export const setClass = function(ids, className) {
vertices[id].classes.push(className);
}
console.log('Setting class', className, id, subGraphLookup[id]);
if (typeof subGraphLookup[id] !== 'undefined') {
subGraphLookup[id].classes.push(className);
}
@@ -381,7 +378,6 @@ export const defaultStyle = function() {
* Clears the internal graph db so that a new graph can be parsed.
*/
export const addSubGraph = function(_id, list, _title) {
console.log('Adding subgraph', _id);
let id = _id.trim();
let title = _title;
if (_id === _title && _title.match(/\s/)) {
@@ -419,7 +415,6 @@ export const addSubGraph = function(_id, list, _title) {
const subGraph = { id: id, nodes: nodeList, title: title.trim(), classes: [] };
subGraphs.push(subGraph);
subGraphLookup[id] = subGraph;
console.log('Adding subgraph', id, subGraphs, subGraphLookup);
return id;
};