### Samples and Extensions

Below is a list of every GoJS sample and extension. See the samples index for a subset of this list with screenshots and short descriptions.

### Samples

These are in the `samples/` directory. Most are stand-alone apps, but a few depend on extensions and/or on common third-party libraries. Remember that the GoJS library does not depend on any other library.

- absolute.html
- addRemoveColumns.html
- addToPalette.html
- adornmentButtons.html
- animatedFocus.html
- arrowheads.html
- barCharts.html
- basic.html
- beatPaths.html
- belts.html
- blockEditor.html
- candlestickCharts.html
- canvases.html
- classHierarchy.html
- cLayout.html
- comments.html
- conceptMap.html
- connectionBoxNode.html
- constantSize.html
- contentAlign.html
- controlGauges.html
- curviness.html
- customAnimations.html
- customContextMenu.html
- customExpandCollapse.html
- customTextEditingTool.html
- dataFlow.html
- dataFlowVertical.html
- dataVisualization.html
- decisionTree.html
- distances.html
- DOMTree.html
- donutCharts.html
- doubleCircle.html
- doubleTree.html
- dragDropFields.html
- draggableLink.html
- draggablePorts.html
- dragOutFields.html
- dragUnoccupied.html
- dynamicPieChart.html
- dynamicPorts.html
- entityRelationship.html
- euler.html
- familyTree.html
- familyTreeJP.html
- faultTree.html
- fdLayout.html
- flowBuilder.html
- flowchart.html
- flowgrammer.html
- friendWheel.html
- gameOfLife.html
- gantt.html
- genogram.html
- gestureBehavior.html
- gLayout.html
- grafcet.html
- grouping.html
- hoverButtons.html
- htmlDragDrop.html
- htmlInteraction.html
- htmlLightBoxContextMenu.html
- icons.html
- incrementalTree.html
- instrumentGauge.html
- interactiveForce.html
- IVRtree.html
- jQueryDragDrop.html
- kanban.html
- kittenMonitor.html
- ldLayout.html
- leaflet.html
- linksToLinks.html
- localView.html
- logicCircuit.html
- macros.html
- magnifier.html
- mindMap.html
- minimal.html
- minimalBlob.html
- minimalSvg.html
- multiArrow.html
- multiColorLinks.html
- multiNodePathLinks.html
- navigation.html
- network.html
- orgChartAssistants.html
- orgChartEditor.html
- orgChartExtras.html
- orgChartStatic.html
- pageFlow.html
- panelLayout.html
- parseTree.html
- pathAnimation.html
- PERT.html
- pieCharts.html
- pinchResizing.html
- pipes.html
- pipeTree.html
- planogram.html
- processFlow.html
- productionEditor.html
- productionProcess.html
- radial.html
- radialAdornment.html
- radialPartition.html
- records.html
- regrouping.html
- regroupingTreeView.html
- relationships.html
- require.html
- roundedGroups.html
- ruleredDiagram.html
- sankey.html
- scrollModes.html
- seatingChart.html
- selectableFields.html
- selectablePorts.html
- sequenceDiagram.html
- sequentialFunction.html
- shapes.html
- sharedStates.html
- shopFloorMonitor.html
- singlePage.html
- spacingZoom.html
- sparklineGraphs.html
- spreadsheet.html
- stateChart.html
- stateChartIncremental.html
- svgDataUrl.html
- swimBands.html
- swimLanes.html
- swimLanesVertical.html
- systemDynamics.html
- tabs.html
- taperedLinks.html
- thermometer.html
- tiger.html
- timeline.html
- tLayout.html
- tournament.html
- treeLoadAnimation.html
- treeMapper.html
- treeView.html
- triStateCheckBoxTree.html
- twoDiagrams.html
- twoHalves.html
- umlClass.html
- updateDemo.html
- virtualized.html
- virtualizedForceLayout.html
- virtualizedTree.html
- virtualizedTreeLayout.html
- visualTree.html
- visualTreeGrouping.html
- vue.html
- wordcloud.html

### Extensions

There are three extension directories.

- `extensions/`, loadable in a simple <script> tag
- `extensionsTS/`, implemented in TypeScript, compiled as a UMD module
- `extensionsJSM/`, using `go.mjs`, compiled as an ES6 module

In all cases you should copy the extension code into your own project and make sure that any `require` or `import` is adjusted to fit your environment. Subtle errors can occur if your app loads the GoJS library more than once, especially if they are of different versions.

#### Layout Extensions:

- Arranging.html, using ArrangingLayout.js
- DoubleTree.html, using DoubleTreeLayout.js
- Fishbone.html, using FishboneLayout.js
- PackedHierarchy.html, using PackedLayout.js
- PackedLayout.html, using PackedLayout.js
- Parallel.html, using ParallelLayout.js
- Serpentine.html, using SerpentineLayout.js
- Spiral.html, using SpiralLayout.js
- SwimLaneLayout.html, using SwimLaneLayout.js
- Table.html, using TableLayout.js
- TreeMap.html, using TreeMapLayout.js
- VirtualizedPacked.html, using VirtualizedPackedLayout.js

#### Tool Extensions:

- ColumnResizing.html, using ColumnResizingTool.js
- CurvedLinkReshaping.html using CurvedLinkReshapingTool.js
- DragCreating.html using DragCreatingTool.js
- DragZooming.html using DragZoomingTool.js
- FreehandDrawing.html using FreehandDrawingTool.js
- GeometryReshaping.html using GeometryReshapingTool.js
- GuidedDragging.html using GuidedDraggingTool.js
- LinkLabelDragging.html using LinkLabelDraggingTool.js
- LinkLabelOnPathDragging.html using LinkLabelOnPathDraggingTool.js
- LinkShifting.html using LinkShiftingTool.js
- NodeLabelDragging.html using NodeLabelDraggingTool.js
- NonRealtimeDragging.html using NonRealtimeDraggingTool.js
- OrthogonalLinkReshaping.html using OrthogonalLinkReshapingTool.js
- OverviewResizing.html using OverviewResizingTool.js
- PolygonDrawing.html using PolygonDrawingTool.js
- PolylineLinking.html using PolylineLinkingTool.js
- PortShifting.html using PortShiftingTool.js
- RealtimeDragSelecting.html using RealtimeDragSelectingTool.js
- Rescaling.html using RescalingTool.js
- ResizeMultiple.html using ResizeMultipleTool.js
- RotateMultiple.html using RotateMultipleTool.js
- SectorReshaping.html using SectorReshapingTool.js
- SnapLinkReshaping.html using SnapLinkReshapingTool.js

#### CommandHandler Extensions:

- DrawCommandHandler.html using DrawCommandHandler.js
- LocalStorageCommandHandler.html using LocalStorageCommandHandler.js

#### Builder and Link Extensions:

- BalloonLink.html using BalloonLink.js
- CheckBoxes.html using predefined "CheckBox"s shown in Buttons.js
- Dimensioning.html using DimensioningLink.js
- Hyperlink.html using HyperlinkText.js
- ParallelRoute.html using ParallelRouteLink.js
- ScrollingTable.html using ScrollingTable.js
- TextEditor.html using TextEditor.js TextEditorRadioButtons.js and TextEditorSelectBox.js

#### Miscellaneous Extensions:

- DataInspector.html using DataInspector.js
- Robot.html using Robot.js
- ZoomSlider.html using ZoomSlider.js

#### Storage Extensions:

- GoCloudStorageManager.html using gcs.js; sources at ../projects/storage/src/GoCloudStorageManager.ts

#### Projects:

- new Floor Planner (TypeScript), in the `projects/floorplannerTS/` folder
- old Floor Planner (JavaScript), in the `projects/floorplanner/` folder
- BPMN Editor, in the `projects/bpmn/` folder
- PDF generator, in the `projects/pdf` folder
- See more at Projects

#### Predefined, built-in functionality:

- Arrowheads.js all shown by arrowheads.html
- Buttons.js
- Figures.js all shown by shapes.html
- Templates.js
- TextEditor.js

See the samples index for a subset of this list with screenshots and short descriptions.