Add createGraphView with flags parameter.
Add margin parameter for zoomToExtent and zoomToModel.