.edgy-box {
  position: relative;
  display: inline-block; /* you can override if needed */
}

svg.edgy-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

line {
  stroke-width: 2;
  stroke-linecap: round;
  shape-rendering: crispEdges;
}

/* Styles */
.edgy-dashed line {
  stroke-dasharray: 8 4;
}

.edgy-dotted line {
  stroke-dasharray: 2 6;
}

.edgy-double line {
  stroke-width: 4;
}