Disable Mouse Interaction JointJS Outline
To understand this, you need to understand how SVG markup is generated for links. The documentation explains it pretty well:
http://jointjs.com/tutorial#link-styling
If you need to learn more about the structure of a CSS class, I find it helpful to use the Inspect Element in your browser.
Once you understand this, you will see that you can do what you ask using CSS. For a demo view here:
http://jsfiddle.net/azt8jpam/1/
For references you need to install display: none
in the classroom connection-wrap
, link-tools
, marker-vertices
and marker-arrowhead
.
For completeness, you can also set cursor: auto
to shapes. for example
.element.basic.Rect {
cursor: auto
}
source to share