Sure there is. Take a look at: Fault Tree. (EDIT: updated link)
As with many of our samples, you can modify the JSON-formatted textual representation of the model on the page and then reload that model to see the updated diagram.
You can style it to make it prettier by customizing the strokes and fills and fonts et al.
hello ,
thanks for your help but I just already finish the fault tree by customize from template " family tree "
but I wonder that I didn’t found fault tree in this page .
Actually, the way that you organized your tree has advantages that the way that I implemented the Fault Tree sample (based on that link that you provided) does not.
Since you implemented each “gate” as a separate node, it would be trivial for you to set the TreeLayout
{ portSpot: go.Spot.BottomSide },
thereby separating the links somewhat.
I think with a little effort that could also be done with the new Fault Tree sample.