gwtd3 / gwt-d3

A GWT wrapper library around the d3.js library
Other
131 stars 53 forks source link

Added force-directed graph demo. #142

Open TOMOTON opened 6 years ago

TOMOTON commented 6 years ago

This additional demo uses the Force wrapper API to create a graph, based on an existing example 'Mobile Patent Suits' by Mike Bostock. There was some puzzling with the Java wrapper API: your feedback would be appreciated whether the API was used properly as intended or not. The main puzzles centered around accessing constructors for Force.Node and Force.Link classes and how to carry (statically typed) payload as 'datum'.