├── .dockerignore ├── .github └── workflows │ └── build.yaml ├── .gitignore ├── .prettierrc ├── Dockerfile ├── LICENSE.txt ├── README.md ├── changelog.md ├── codecov.yml ├── docker-compose.yaml ├── examples ├── example.ts ├── index.html └── tsconfig.json ├── img ├── example.svg ├── logo.svg └── logo_white.svg ├── karma.config.js ├── package.json ├── rollup.config.js ├── scripts └── deploy-docs.sh ├── src ├── api │ ├── Canvas.ts │ ├── EdgeSelection.ts │ ├── ElementSelection.ts │ ├── LabelSelection.ts │ ├── NodeSelection.ts │ ├── QueueSelection.ts │ ├── types.ts │ └── utils.ts ├── client │ ├── attributes │ │ ├── components │ │ │ ├── animation.ts │ │ │ ├── canvas.ts │ │ │ ├── color.ts │ │ │ ├── edge.ts │ │ │ ├── element.ts │ │ │ ├── expression.ts │ │ │ ├── label.ts │ │ │ └── node.ts │ │ ├── derived.ts │ │ ├── expression.ts │ │ ├── preprocess.ts │ │ ├── spec.ts │ │ ├── transform.ts │ │ └── utils.ts │ ├── client.ts │ ├── events.ts │ ├── layout │ │ ├── canvas.ts │ │ ├── edge.ts │ │ └── node.ts │ ├── math.ts │ ├── render │ │ ├── canvas-panzoom.ts │ │ ├── canvas.ts │ │ ├── d3.modules.ts │ │ ├── edge-color.ts │ │ ├── edge-marker.ts │ │ ├── edge.ts │ │ ├── element.ts │ │ ├── label.ts │ │ ├── live-edge.ts │ │ ├── live-node.ts │ │ ├── node-listeners.ts │ │ ├── node.ts │ │ ├── selectors.ts │ │ └── utils.ts │ ├── scheduler.ts │ ├── types.ts │ └── utils.ts └── index.ts ├── tests ├── animation │ └── interrupt.test.ts ├── canvas │ ├── add-remove.test.ts │ └── attrs.test.ts ├── edge │ ├── add-remove.test.ts │ ├── attrs.test.ts │ └── color.test.ts ├── label │ ├── attrs.test.ts │ └── position.test.ts ├── node │ ├── add-remove.test.ts │ ├── attrs.ts │ └── position.test.ts ├── queue │ ├── all-queues.test.ts │ ├── pause.test.ts │ └── stop-start-clear.test.ts ├── tsconfig.json └── utils.ts ├── tsconfig.json └── typedoc.json /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/README.md -------------------------------------------------------------------------------- /changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/changelog.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/codecov.yml -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /examples/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/examples/example.ts -------------------------------------------------------------------------------- /examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/examples/index.html -------------------------------------------------------------------------------- /examples/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/examples/tsconfig.json -------------------------------------------------------------------------------- /img/example.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/img/example.svg -------------------------------------------------------------------------------- /img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/img/logo.svg -------------------------------------------------------------------------------- /img/logo_white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/img/logo_white.svg -------------------------------------------------------------------------------- /karma.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/karma.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/rollup.config.js -------------------------------------------------------------------------------- /scripts/deploy-docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/scripts/deploy-docs.sh -------------------------------------------------------------------------------- /src/api/Canvas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/Canvas.ts -------------------------------------------------------------------------------- /src/api/EdgeSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/EdgeSelection.ts -------------------------------------------------------------------------------- /src/api/ElementSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/ElementSelection.ts -------------------------------------------------------------------------------- /src/api/LabelSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/LabelSelection.ts -------------------------------------------------------------------------------- /src/api/NodeSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/NodeSelection.ts -------------------------------------------------------------------------------- /src/api/QueueSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/QueueSelection.ts -------------------------------------------------------------------------------- /src/api/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/types.ts -------------------------------------------------------------------------------- /src/api/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/api/utils.ts -------------------------------------------------------------------------------- /src/client/attributes/components/animation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/animation.ts -------------------------------------------------------------------------------- /src/client/attributes/components/canvas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/canvas.ts -------------------------------------------------------------------------------- /src/client/attributes/components/color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/color.ts -------------------------------------------------------------------------------- /src/client/attributes/components/edge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/edge.ts -------------------------------------------------------------------------------- /src/client/attributes/components/element.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/element.ts -------------------------------------------------------------------------------- /src/client/attributes/components/expression.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/expression.ts -------------------------------------------------------------------------------- /src/client/attributes/components/label.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/label.ts -------------------------------------------------------------------------------- /src/client/attributes/components/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/components/node.ts -------------------------------------------------------------------------------- /src/client/attributes/derived.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/derived.ts -------------------------------------------------------------------------------- /src/client/attributes/expression.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/expression.ts -------------------------------------------------------------------------------- /src/client/attributes/preprocess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/preprocess.ts -------------------------------------------------------------------------------- /src/client/attributes/spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/spec.ts -------------------------------------------------------------------------------- /src/client/attributes/transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/transform.ts -------------------------------------------------------------------------------- /src/client/attributes/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/attributes/utils.ts -------------------------------------------------------------------------------- /src/client/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/client.ts -------------------------------------------------------------------------------- /src/client/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/events.ts -------------------------------------------------------------------------------- /src/client/layout/canvas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/layout/canvas.ts -------------------------------------------------------------------------------- /src/client/layout/edge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/layout/edge.ts -------------------------------------------------------------------------------- /src/client/layout/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/layout/node.ts -------------------------------------------------------------------------------- /src/client/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/math.ts -------------------------------------------------------------------------------- /src/client/render/canvas-panzoom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/canvas-panzoom.ts -------------------------------------------------------------------------------- /src/client/render/canvas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/canvas.ts -------------------------------------------------------------------------------- /src/client/render/d3.modules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/d3.modules.ts -------------------------------------------------------------------------------- /src/client/render/edge-color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/edge-color.ts -------------------------------------------------------------------------------- /src/client/render/edge-marker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/edge-marker.ts -------------------------------------------------------------------------------- /src/client/render/edge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/edge.ts -------------------------------------------------------------------------------- /src/client/render/element.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/element.ts -------------------------------------------------------------------------------- /src/client/render/label.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/label.ts -------------------------------------------------------------------------------- /src/client/render/live-edge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/live-edge.ts -------------------------------------------------------------------------------- /src/client/render/live-node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/live-node.ts -------------------------------------------------------------------------------- /src/client/render/node-listeners.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/node-listeners.ts -------------------------------------------------------------------------------- /src/client/render/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/node.ts -------------------------------------------------------------------------------- /src/client/render/selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/selectors.ts -------------------------------------------------------------------------------- /src/client/render/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/render/utils.ts -------------------------------------------------------------------------------- /src/client/scheduler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/scheduler.ts -------------------------------------------------------------------------------- /src/client/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/types.ts -------------------------------------------------------------------------------- /src/client/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/client/utils.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/src/index.ts -------------------------------------------------------------------------------- /tests/animation/interrupt.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/animation/interrupt.test.ts -------------------------------------------------------------------------------- /tests/canvas/add-remove.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/canvas/add-remove.test.ts -------------------------------------------------------------------------------- /tests/canvas/attrs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/canvas/attrs.test.ts -------------------------------------------------------------------------------- /tests/edge/add-remove.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/edge/add-remove.test.ts -------------------------------------------------------------------------------- /tests/edge/attrs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/edge/attrs.test.ts -------------------------------------------------------------------------------- /tests/edge/color.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/edge/color.test.ts -------------------------------------------------------------------------------- /tests/label/attrs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/label/attrs.test.ts -------------------------------------------------------------------------------- /tests/label/position.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/label/position.test.ts -------------------------------------------------------------------------------- /tests/node/add-remove.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/node/add-remove.test.ts -------------------------------------------------------------------------------- /tests/node/attrs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/node/attrs.ts -------------------------------------------------------------------------------- /tests/node/position.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/node/position.test.ts -------------------------------------------------------------------------------- /tests/queue/all-queues.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/queue/all-queues.test.ts -------------------------------------------------------------------------------- /tests/queue/pause.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/queue/pause.test.ts -------------------------------------------------------------------------------- /tests/queue/stop-start-clear.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/queue/stop-start-clear.test.ts -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/tsconfig.json -------------------------------------------------------------------------------- /tests/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tests/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algrx/algorithmx/HEAD/typedoc.json --------------------------------------------------------------------------------