Svelvet 5.0 also brings on an extra layer of customization
in creating your diagrams. This is achieved with the implementation of custom
classes with custom styling that you, the user, can input.
It is important to note that you must add a key value pair to your node object in initialNodes. It should look something like this:
Also include the
:global keyword, and mark CSS
!important. See sandbox for an example.
Implementing Node classes
Click here for a sandbox, or test it out below!