}
sb.append(">");
if (options.containsKey("swimlane")) {
ProcessDefinitionAdapter adapter = new ProcessDefinitionAdapter();
Hashtable keyedContext = (Hashtable) options;
GraphActivity graph;
try {
graph = (GraphActivity) adapter.convert(activity, keyedContext);
SwimLaneCoordinate coordinate = new SwimLaneCoordinate();
graph = coordinate.traverse(graph, null, options);
if (coordinate.getRoleList().size() == 0) {
String viewOption = (String) options.get(ViewerOptions.SWIMLANE);