`GraphView()` is just the constructor for your cla...
# tornadofx
r
GraphView()
is just the constructor for your class, whereas
group()
is a function defined in TornadoFX. If you used the constructor
Group()
you'd have to add it yourself as well. The DSL functions defined in TornadoFX take care of creating the object, adding it to the parent, and appending a scoped function to continue the DSL awesomeness.