
.commutative {
  margin: 1.2rem 0;
  display: flex;
  justify-content: center;
}

.commutative .cg-svg {
  display: block;
  max-width: 100%;
  height: auto;
  color: inherit;
  overflow: visible;
}

.commutative .cg-node {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 64px;
  box-sizing: border-box;
  padding: 8px;
  text-align: center;
  line-height: 1.3;
  font-size: 18px;
  background: transparent;
  color: inherit;
}

.commutative .cg-node-point {
  color: inherit;
  vector-effect: non-scaling-stroke;
}

.commutative .cg-edge-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 8px;
  text-align: center;
  line-height: 1.2;
  font-size: 16px;
  background: transparent;
  color: inherit;
}

.commutative .cg-edge-label.is-over {
  background: transparent;
}

.commutative .cg-edge-path--dashed {
  stroke-dasharray: 10 8;
}

.commutative .cg-edge-path--dotted {
  stroke-dasharray: 2 7;
}

.commutative .cg-edge-path--squiggly {
  stroke-dasharray: 14 9;
}

.commutative .cg-label-text {
  font-family: "Times New Roman", serif;
}
