oasis-open / cti-stix-visualization

OASIS TC Open Repository: Lightweight visualization for STIX 2.0 objects and relationships
http://oasis-open.github.io/cti-stix-visualization
BSD 3-Clause "New" or "Revised" License
138 stars 43 forks source link

Fix for relationship arrows not displaying in IE #31

Closed gleithall closed 6 years ago

gleithall commented 6 years ago

IE does not render SVG paths when they have markers. The current code uses markers to draw the arrow heads, so no relationship arrows appear in IE.

This PR draws the arrow heads using SVG paths at the same time as the lines are drawn. This means that arrows can now be viewed in IE.

There is a minor visual difference as a result of this PR. Previously, the arrow heads were black, but now they are grey, like the rest of the line.

I have checked the page in Firefox and Chromium on Linux, as well as IE, Firefox and Chrome on Windows.