Tachlon
A guide for developers who put a Gantt chart in their own product, and for the people who use that chart.
Tachlon is a Gantt and scheduling component that you put in your own product, in the same category as Bryntum Gantt, DHTMLX Gantt and Syncfusion Gantt. It is fully featured, blazingly fast, and open source with no strings. It is built for developers who work with an AI assistant: the package carries an AGENTS.md written for the assistant, and one prompt installs the chart.
This book has two parts, for two readers.
- You are a developer and you want the chart in your product. Start at Install it in your app, a chapter of the part for developers.
- You use a chart built with Tachlon. Read the guide chapters. Each chapter is one task: what you can do, a short clip of it, the steps, and a tip. They assume nothing about how the chart is built.
To try the chart without a file of your own, open the office fit-out sample, the small schedule the hosted app starts with; Open… loads a P6 or MS Project file of your own.
Contents
For developers
- Install it in your app: install the package, let
npx tachlon initwrite the chart component, and open a schedule file. - Put a chart on a page: mount the chart in a plain page or in a React, Vue or Angular app.
- Give it your data and keep your own ids: pass tasks and links, give each task your own
key, and read it back from the events. - Listen for edits and save them: save the whole schedule, or each change as it happens.
- Make it read-only and theme it: turn editing off, and set the colors, the shape and light or dark.
- Load and save P6 and MS Project files: load a file into the chart, and write the schedule out as a P6 or MS Project file.
- Run the engine in Node: open a schedule with no page and ask what moves and what sets the finish.
- Give an AI assistant the engine tools: hand your model the tool definitions, run its tool calls, and add a chat box beside the chart.
- Turn the user guide into your own docs: print the prompt that has your assistant write your product’s help pages from the guide files.
Guide
- Open a schedule: drop a P6 .xer or MS Project .xml file on the chart and read it.
- Find your way around a big schedule: zoom, collapse, filter and find.
- Build a schedule from the keyboard: insert rows, type names and durations, indent and outdent.
- Change dates and see what moved: drag a bar or edit a date, then see which tasks moved.
- Edit a task in its dialog: change several of a task’s fields in one place, and undo the whole change in one step.
- Update progress against a data date: record what happened on site and move the data date forward.
- Set a baseline, read what slipped: keep the agreed plan and read what has slipped against it.
- Check a schedule: count the tasks tied to nothing, odd links, and tasks that are very long or very loose.
- Print a schedule: put the schedule on paper or in a PDF, with a header and a legend.
- Save, reopen and export a schedule: keep your work in a file, and write a P6 or MS Project file for someone else.
- Keys: every key and what it does.
- What’s coming: what is not built yet, and the chapter of each.