Do you want to use different visual patterns to fill the elements of the diagram? Check out this JointJS demo that shows several elements with different visual fills.
Demo instructions
Observe different diagram elements with unique visual fills.
Only available with the JointJS+ commercial license in the apps/ directory of your package. Don't have a license yet? Start a trial and use the source code of all our demos for free, with no strings attached, for 30 days.