mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 03:04:07 +01:00
#684 Fix applying default class to flowchart nodes
This commit is contained in:
@@ -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(' ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user