Arrow icon
See all demos

Decision Tree Analysis

Imagine you are playing a zero-sum game tournament (e.g. chess, checkers). Do you want to know what strategy you should choose to maximize your chances of winning? Should you play aggressively and possibly lose, or defensively and not win? Check out today's demo, which shows how to use the layout.TreeLayout plugin to build a decision tree analysis diagram.
Demo instructions
Tick the checkboxes to analyse different results: wins, losses and draws.

Made with JointJS+

Only available with the JointJS+ commercial license in the apps/ directory of your package. Don't have a license yet? Start a trial and use the source code of all our demos for free, with no strings attached, for 30 days.

Made with JointJS

Available in the JointJS open-source library which helps developers create simple visual applications in less time.

Speed up your development with aย powerful library

Leverage a time-tested JavaScript diagramming library using the best of HTML5 and SVG to accelerate your development.