Import fix

This commit is contained in:
Tomas Richtar
2025-05-04 11:51:39 +02:00
parent 0e7f5f4739
commit b4ebab5d54
2 changed files with 9 additions and 9 deletions

View File

@@ -1,14 +1,14 @@
const canvas = document.getElementById("canvas");
// Compute arrow polygon
import { getArrowPolygon } from "athena-utils/Arrow.js";
import { CalculationStyle } from "athena-utils/Arrow.js";
import { getCirclePolygon } from "athena-utils/BasicShapes.js";
import { getRectanglePolygon } from "athena-utils/BasicShapes.js";
import { getArrowPolygon } from "athena-utils/shape/Arrow.js";
import { CalculationStyle } from "athena-utils/shape/Arrow.js";
import { getCirclePolygon } from "athena-utils/shape/BasicShapes.js";
import { getRectanglePolygon } from "athena-utils/shape/BasicShapes.js";
// Polygon merge using Turf library
import {mergeTurfPolygons} from "athena-utils/Polygon.js";
import {addTurfPolygonToMerge} from "athena-utils/Polygon.js";
import {toTurfPolygon} from "athena-utils/Polygon.js";
import {drawPolygon} from "athena-utils/PolygonVisuals.js";
import {mergeTurfPolygons} from "athena-utils/shape/Polygon.js";
import {addTurfPolygonToMerge} from "athena-utils/shape/Polygon.js";
import {toTurfPolygon} from "athena-utils/shape/Polygon.js";
import {drawPolygon} from "athena-utils/shape/PolygonVisuals.js";
const circleCenter = {x:320, y:180};
const circleRadius = 70;