Ply Pro preview: an Angular Gantt chart and a node diagram
Ply — ply-ui.com previews ply-gantt and ply-diagram. Move the today line, clear the plan, and drag nodes on this page. Both components are Pro.
Roadmap
Q4 Release
Nov 16 – Dec 4Design tokens audit
Design · Nov 16 – Nov 19
Pro suite widgets
Core · Nov 18 – Nov 26
MCP registry sync
Platform · Nov 21 – Nov 28
WCAG and keyboard QA
QA · Nov 25 – Dec 1
Docs and npm publish
Release · Nov 29 – Dec 4
Bound value
Click a bar
5 tasks · today 2026-11-22
The red line is the today input, pinned on the date scale.
<ply-gantt
[tasks]="tasks"
today="2026-11-22"
label="Q4 Release"
(taskSelect)="open($event)">
</ply-gantt>Architecture canvas
Install pipeline
Bound value
4 nodes · 4 edges
Drag a node, or focus one and use the arrow keys. Edge pills use the optional label field.
<ply-diagram
[nodes]="nodes()"
[edges]="edges"
label="Install pipeline"
(nodesChange)="nodes.set($event)">
</ply-diagram>Unlock it plus 108 pro blocks, widgets & layouts — $99 one-time. Lifetime updates, 14-day money-back guarantee.
Ply — ply-ui.com ships ply-gantt and ply-diagram as copy-in Pro components. The gantt draws the tasks you pass in, with progress and a today line. The diagram is a dot-grid canvas: drag a node, or nudge it with the arrow keys, and the connectors follow. The two labs above this article are those components. The snippets under them are the public template. The source files stay on the Pro registry until you install them.
Switch the plan, move today past the last bar, drag the accent node, and turn edge labels off. The chart and the snippet update together. The full catalog pages are /base-elements/gantt/ and /base-elements/diagram/.
Why a timeline and a canvas show up in the same preview
Teams keep reaching for a project timeline. When this article was written, the npm page for dhtmlx-gantt listed 52,156 weekly downloads. DHTMLX describes that package this way: "It is a framework-agnostic component that works with plain JavaScript and integrates with React, Angular, Vue, and Svelte."
ply-gantt is an Angular component. tasks, today, and label are signal inputs. taskSelect is an output. The template is Tailwind CSS, including the dark-mode pairs. There is no chart package in the dependency list.
The diagram uses the same idea for a picture of a system. Angular signals are "a system that granularly tracks how and where your state is used throughout an application, allowing the framework to optimize rendering updates." nodes is a two-way model, so a drag writes back to the signal the parent already owns.
What ply-gantt draws
Each task is a bar from start to end. Dates are YYYY-MM-DD. progress is 0 to 100 and fills the bar. owner sits under the title. tone is primary, success, warning, or danger.
| Input or output | Role |
|---|---|
tasks |
The bars. An empty array shows the empty state. |
today |
The red line. Pass a date so the server and the browser agree. |
label |
Header title and the accessible name of the grid. |
taskSelect |
Fires with the GanttTask when a bar is clicked. |
class |
Extra host classes, merged with cn(). |
The scale is the span of the tasks you passed. A plan longer than a week uses wider tick steps so the dates stay readable. Click a bar in the lab and the readout shows the owner, the range, and the percent.
today outside the first and last dates leaves the line off the chart. Dec 2 with Core three does that: the core plan ends on 28 November. Full plan brings the line back, because QA and the release run into December. Empty replaces the grid with the component's empty state: "No tasks" and a prompt to add a start and end date.
Pass today yourself when the page is prerendered. If you omit it, the component waits until after hydration to read the browser's local date, so the server HTML and the client HTML do not disagree by a timezone.
<ply-gantt
[tasks]="tasks"
today="2026-11-22"
label="Q4 Release"
(taskSelect)="open($event)">
</ply-gantt>
readonly tasks: GanttTask[] = [
{ id: 'audit', label: 'Design tokens audit', owner: 'Design', start: '2026-11-16', end: '2026-11-19', progress: 100, tone: 'success' },
{ id: 'widgets', label: 'Pro suite widgets', owner: 'Core', start: '2026-11-18', end: '2026-11-26', progress: 72 },
];
Dependency arrows, drag-to-reschedule, and a resource histogram are a different product. This component draws the plan you already have. A release page, a hiring plan with owners, or a status strip that opens a task drawer are the fits. A scheduler that moves work when a predecessor slips belongs in your store, then back in tasks.
What ply-diagram draws
Nodes are cards on a canvas. x and y are pixels from the origin. caption is the second line. icon is a ply-icon name. accent paints the primary border on the node you want the reader to land on.
Edges are { from, to, label? }. The curve is a smooth Bézier with an arrow. A label becomes a pill on the midpoint. Clear the label and the curve stays.
| Input or output | Role |
|---|---|
nodes |
Two-way model. Dragging and arrow keys write the next array. |
edges |
Connectors. Unknown ids are skipped. |
label |
Accessible name of the canvas. |
nodesChange |
The model output. Bind it with [(nodes)] or (nodesChange). |
class |
Extra host classes, merged with cn(). |
The lab has two scenes. Install is the CLI, the registry, the MCP server, and the repo. Checkout is a cart, a checkout API, payments, and the order. Labels strips label off every edge. Reset puts the nodes back on their starting coordinates. Drag still works after either scene change, because the positions live in a signal.
Arrow keys move the focused node by 12 pixels. Shift moves it by 24. The canvas is a region, so a screen reader gets the node name and the caption.
<ply-diagram
[nodes]="nodes()"
[edges]="edges"
label="Checkout"
(nodesChange)="nodes.set($event)">
</ply-diagram>
nodes = signal<DiagramNode[]>([
{ id: 'cart', label: 'Cart', caption: 'Signal store', icon: 'cart', x: 24, y: 120 },
{ id: 'order', label: 'Order', caption: 'Confirmed', icon: 'package', accent: true, x: 452, y: 120 },
]);
edges: DiagramEdge[] = [
{ from: 'cart', to: 'order', label: 'place' },
];
Use it for an install diagram, a request path in a design review, or an architecture note that lives in the Angular app. An auto-layout engine is outside this component. You choose the coordinates, and the person using the page can nudge them.
The overlay work stays in the browser. Prerender writes the nodes at the coordinates you set. That is the same SSR pattern as the catalog prerender write-up.
Where the source lives
Both components are Pro. The public registry at ply-ui.com/registry serves the free tier. A license key is checked when the CLI downloads the files. After that, the component is source in your repo: no license check at runtime, no call back to Ply. The longer version of that boundary is The component lives in your repo.
npx ply-ui-cli add gantt
npx ply-ui-cli add diagram
Set PLY_LICENSE_KEY first. The license is $99 once, for one developer, with lifetime updates and a 14-day refund. Price and checkout are on /pricing/. The inventory those two widgets sit in is What $99 actually buys.
The labs on this page run the real components, because this site is the catalog. The snippets are the template you write. They are not a paste of the component source.
The rest of the November suite
The same catalog drop added more Pro widgets. This page previews two. The others already have live demos:
- PDF viewer, QR code, watermark, descriptions, and data view
- Dock, terminal, image compare, and org chart
- Listbox, split button, fieldset, inplace, and order list
- Chat attachment, bubble, marker, and scroller parts on the existing chat component
A later note will walk through two more of those at the same depth.
Frequently asked questions
Same wording as the canonical FAQ.
Yes. Pro ply-gantt plots task bars from start and end dates, with progress, an optional owner, and a today line. Pass today as YYYY-MM-DD so the server and the browser agree. taskSelect fires when a bar is clicked. Dependency arrows and drag-to-reschedule are outside this component. Install with npx ply-ui-cli add gantt. Walkthrough: /learn/angular-gantt-and-diagram/. Live demo: /base-elements/gantt/.
Yes. Pro ply-diagram is a dot-grid canvas with Bezier connectors. Drag a node or nudge it with the arrow keys. nodes is a two-way model. edges take from, to, and an optional label. Install with npx ply-ui-cli add diagram. Walkthrough: /learn/angular-gantt-and-diagram/. Live demo: /base-elements/diagram/.
Yes, as copy-in Pro components, not a PrimeNG runtime. ply-listbox, ply-split-button, ply-fieldset, ply-inplace, ply-order-list, ply-image-compare, ply-org-chart, ply-dock, ply-terminal, ply-gantt, ply-diagram, ply-pdf-viewer, ply-qr-code, ply-watermark, ply-descriptions, and ply-data-view are in the catalog. The terminal prints mapped replies and does not run a shell. ply-order-list reorders one list; ply-pick-list moves rows between two panes. Install with npx ply-ui-cli add and the component name. See /base-elements/listbox/ and the matching pages. Gantt and diagram walkthrough: /learn/angular-gantt-and-diagram/.
npx ply-ui-cli init once per project, then npx ply-ui-cli add <name>. Omit the name in a terminal to pick from the catalog (filter, then type to select). --yes and CI need explicit names. Components land in src/app/components/<name>/ by default and are yours.
A one-time Pro license is $99. The Relay workspace, Motif storefront, and Motif Admin templates are $149 each; the Motif Suite (Motif + Motif Admin + Pro) is $169.
Start with the free tier
All primitives, all 19 form blocks, and 392 outline icons — no account, no licence key.