This commit is contained in:
Sidharth Vinod 2023-06-29 10:36:21 +05:30
parent 61e5dbeaa6
commit 47db1a3c9f
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -101,10 +101,7 @@ export const addClasses = function (
/**
* Variable for storing the classes for the vertex
*/
let cssClassStr = '';
if (vertex.cssClasses.length > 0) {
cssClassStr = cssClassStr + ' ' + vertex.cssClasses.join(' ');
}
const cssClassStr = vertex.cssClasses.join(' ');
const styles = { labelStyle: '', style: '' }; //getStylesFromArray(vertex.styles);