I am trying to add a class to the node, to have all my css in a stylesheet file, not inside javascrpt declaration.
var values = {
nodes: [
{ data: { id: 'explore'},
classes: 'ClassName1'
},
{ data: { id: 'discover' } }
],
edges: [
{ data: { source: 'explore', target: 'discover' } }
]
};
As you can see I am adding classes and the class name, but nothing happens.