Skip to content

Entry point reference

Each snippet is an independent import example. Choose only the entry needed by the application. Use import type for type-only declarations. SDK integrations require their feature-specific optional peers from package.json. Import CSS explicitly in the application.

Import Core API through this public entry.

import * as api from "@alneas/task-graph";

Import types through this public entry.

import * as api from "@alneas/task-graph/types";

Import cpm through this public entry.

import * as api from "@alneas/task-graph/cpm";

Import in-memory-adapter through this public entry.

import * as api from "@alneas/task-graph/in-memory-adapter";

Import planning through this public entry.

import * as api from "@alneas/task-graph/planning";

Import planning / graph through this public entry.

import * as api from "@alneas/task-graph/planning/graph";

Import planning / capacity-index through this public entry.

import * as api from "@alneas/task-graph/planning/capacity-index";