Boilerplate code for force based layout
Ad-hoc code for force based layout