#684 Fix applying default class to flowchart nodes

This commit is contained in:
Marc Faber
2020-02-24 01:31:39 +01:00
parent 1c07e550bb
commit d67e49400f
4 changed files with 81 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ export const addVertices = function(vert, g, svgId) {
* Variable for storing the classes for the vertex
* @type {string}
*/
let classStr = '';
let classStr = 'default';
if (vertex.classes.length > 0) {
classStr = vertex.classes.join(' ');
}