circuit-to-svg 0.0.182 → 0.0.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1495,7 +1495,7 @@ function getSoftwareUsedString(circuitJson) {
|
|
|
1495
1495
|
var package_default = {
|
|
1496
1496
|
name: "circuit-to-svg",
|
|
1497
1497
|
type: "module",
|
|
1498
|
-
version: "0.0.
|
|
1498
|
+
version: "0.0.182",
|
|
1499
1499
|
description: "Convert Circuit JSON to SVG",
|
|
1500
1500
|
main: "dist/index.js",
|
|
1501
1501
|
files: [
|
|
@@ -4695,10 +4695,10 @@ var createSvgObjectsForSchPortBoxLine = ({
|
|
|
4695
4695
|
});
|
|
4696
4696
|
const { has_input_arrow, has_output_arrow } = schPort;
|
|
4697
4697
|
if ((has_input_arrow || has_output_arrow) && schPort.side_of_component) {
|
|
4698
|
-
const arrowSize = Math.abs(transform.a) * 0.
|
|
4698
|
+
const arrowSize = Math.abs(transform.a) * 0.1;
|
|
4699
4699
|
const arrowColor = colorMap.schematic.component_outline;
|
|
4700
4700
|
const arrowAxialLength = arrowSize * Math.cos(Math.PI / 6);
|
|
4701
|
-
const strokeWidth = getSchStrokeSize(transform) /
|
|
4701
|
+
const strokeWidth = getSchStrokeSize(transform) / 3;
|
|
4702
4702
|
let inputAngleRads = 0;
|
|
4703
4703
|
let outputAngleRads = 0;
|
|
4704
4704
|
if (schPort.side_of_component === "left") {
|