Adapt the coordination graph to flavor and indexed depends_on.
Omit flavor=residual by default, draw hub depends_on first, and keep citation waits_on as a tagged fallback. Explorer checkbox and CLI --include-residuals match State Hub include_residuals. Assistant: grok Assistant-Session: 01a09dc1-b21e-77e1-919e-fcad2f82b267
This commit is contained in:
parent
0b0abedbe8
commit
725e440b1e
8 changed files with 410 additions and 39 deletions
|
|
@ -139,7 +139,14 @@ class RegistryHandler(BaseHTTPRequestHandler):
|
|||
if parts == ["exports", "graph-explorer"]:
|
||||
if _query_optional(query, "mode") == "coordination":
|
||||
workplans, tasks = fetch_hub_lists(default_hub())
|
||||
return HTTPStatus.OK, coordination_graph_payload(workplans, tasks)
|
||||
include = (_query_optional(query, "include_residuals") or "").lower() in {
|
||||
"1",
|
||||
"true",
|
||||
"yes",
|
||||
}
|
||||
return HTTPStatus.OK, coordination_graph_payload(
|
||||
workplans, tasks, include_residuals=include
|
||||
)
|
||||
return HTTPStatus.OK, fabric_graph_explorer_payload(
|
||||
self.store.combined_graph(),
|
||||
self.store.list_repositories(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue