Examples Live demos with their source code, grouped by what they show. Every demo uses the published components and core functions, and the code shown is the code that runs on the page.
Categories
All examples 22 Graph 6 Timeline & Gantt 2 Scheduling & resources 3 Tree grid & tables 2 Calendar & board 2 Diagram editing 3 Linked views & data 3 Import & export 1 All examples 22 examples Graph Graph and Gantt basics A network graph and a Gantt chart that share one selection, on four data sets from a small plant to thousands of nodes: layouts, graph editing with undo, controlled bar edits, planning overlays and SVG and PNG export. Graph Large graph A layered graph of 3,750 nodes and about 7,400 edges that draws only the nodes in view, with a minimap, search and an SVG export of the whole graph. Graph Asynchronous layout The built-in layout run asynchronously, in the page or in a Web Worker, with controls that delay, reorder or fail its answers: the graph shows only the newest complete frame and never mixes an old layout with new data. Graph Graph analysis Connected components, communities, centrality and PageRank of a synthetic supplier network, shown with groups, collapsing and highlighting. Graph Process lanes A machining process with one lane per department, laid out by layoutSwimlaneGraph: hand-overs cross lane boundaries, and a step dragged into another lane changes department. Graph Quantity flow A production lot drawn as quantity bands on one scale: 100 pieces split 60/40, merge at inspection and lose 4 on line B, in pieces or in cost, without ever mixing units. Timeline & Gantt Timeline editing An editable project timeline: dependencies, drag to create, batch moves, row moves and indenting, progress, deletion with undo, zoom presets, resource load, column resizing, CSV and Microsoft Project import and image export. Timeline & Gantt 1,000 resources A Gantt chart of 1,000 resource rows and 3,000 editable bars that renders only the rows in view and scrolls to any row on request. Scheduling & resources Calendar-aware scheduling Tasks scheduled on a work calendar with split shifts and a plant closure: dependencies with lags, constraints, critical path, float, a status date, diagnostics and resource demand against capacity. Scheduling & resources Resource planning One plan shown by resource: a task with two resources has two bars but one set of dates. Every edit from the chart, the backlog or the inspector is previewed, scheduled or leveled and then applied as one undoable step, optionally through a mock server. Scheduling & resources Earned value Earned value management of a small delivery project: PV, EV, AC, SPI, CPI and EAC at a status date you choose, EVM columns with summary rollups in the Gantt chart and a cumulative cost S-curve. Tree grid & tables Tree grid A product hierarchy of about 3,000 rows against 30 columns, rendered in a window, with cell and spreadsheet editing, row structure editing, a lazily loaded group and selection linked to a graph, and a cost breakdown with header sorting, filtering and column resizing. Tree grid & tables Period table Stock by site, item and measure against day or week columns in Europe/Berlin, loaded for the visible window of the supply orders below it. Demand cells are editable, and selecting a shortage highlights the orders that feed it. Calendar & board Event calendar Room bookings in day, week, month and agenda views with rooms and all-day events. Moves, resizes and new bookings are proposals that the parent checks for double bookings, and a weekly recurring meeting can be edited once, from one date on or as a series. Calendar & board Task board A kanban board and a Gantt chart on the same tasks with one shared selection: collapsible columns and lanes, a card filter, WIP limits and a rule that a task reaches Done only at 100% progress. Diagram editing Diagram styles Order fulfilment drawn with the default renderer only: node shapes, edge markers, an animated main path, spread parallel edges, orthogonal routes around the nodes and edge labels placed clear of each other. Diagram editing Diagram editor A small diagram editor built from GraphPalette, NetworkGraph and PropertyInspector: drag shapes onto the canvas, connect them and edit the selected node, with every change in one undo history. Diagram editing BPMN process A purchase order process between two pools with BPMN events, gateways, task types, a data store and dashed message flows, drawn with the built-in flowchart and BPMN shapes and markers. Linked views & data Linked views One schedule as a network graph, a Gantt chart and resource load rows. Select in any view and the others highlight the same tasks; go to the counterpart, also inside collapsed groups. Linked views & data Saved editing Editing confirmed by a mock server: each action is one transaction that the server accepts, rejects, answers with a version conflict or leaves unknown. Undo and redo go through the same server, and the document and its view state save to and load from JSON. Linked views & data Large plan with partial loading A large read-only plan that fetches only the weeks and rows on screen and aborts the requests a scroll supersedes, and a 5,000-part network expanded one hop at a time, optionally keeping the parts already shown in place. Import & export Diagram import and export The graph written as Mermaid, GraphML or draw.io text, edited and read back into the graph in the browser. Dragged nodes keep their place in GraphML and draw.io, and compressed draw.io files are inflated.