if (coordinate.getRoleList().size() == 0) {
String viewOption = (String) options.get(ViewerOptions.SWIMLANE);
options.put(viewOption, viewOption);
} else {
SwimlaneViewer viewer = new SwimlaneViewer();
sb.append(viewer.render(graph, coordinate, instance, options));
sb.append("</div>");
sb.append(getScriptSourceForBegin(drawLinerNamespace));
sb = coordinate.appendCoordinateFunctionScript(instance , sb, options);
sb.append(getScriptSourceForEnd(drawLinerNamespace));