Add HTML5 flowchart depth controls
This commit is contained in:
@@ -1752,7 +1752,7 @@ async def html5_project_flowchart(
|
||||
) -> Response:
|
||||
flowchart = await project_flowchart(project_id, focus=focus, depth=depth, limit=limit)
|
||||
return Response(
|
||||
render_html5_flowchart(project_id, flowchart, focus=focus),
|
||||
render_html5_flowchart(project_id, flowchart, focus=focus, depth=depth),
|
||||
media_type="text/html; charset=utf-8",
|
||||
)
|
||||
|
||||
@@ -1784,7 +1784,7 @@ async def html5_project_object_context(project_id: str, object_name: str, mode:
|
||||
flowchart,
|
||||
mode,
|
||||
)
|
||||
flowchart_context = render_html5_flowchart(project_id, flowchart, focus=object_name, oob=True)
|
||||
flowchart_context = render_html5_flowchart(project_id, flowchart, focus=object_name, depth=1, oob=True)
|
||||
source_context = render_html5_source(source_node, oob=True) if source_node is not None else ""
|
||||
symbol_context = render_html5_symbol_detail(project_id, symbol_references, oob=True)
|
||||
report_context = render_html5_object_report(
|
||||
|
||||
Reference in New Issue
Block a user