From f0960c90d07ea1d9fe24a3714b572a608a2e8245 Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Tue, 1 Dec 2026 16:28:11 -0800 Subject: [PATCH 1/8] Graph layout: wrap sibling fan-outs into blocks, and route large graphs faster Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../graph/fixtures/make-mcp-tools.mjs | 247 ++ .../graph/fixtures/make-module-graphs.mjs | 4 +- .../graph/fixtures/mcp-tools-after.json | 3261 +++++++++++++++++ .../graph/fixtures/mcp-tools-before.json | 3036 +++++++++++++++ .../fixtures/module-graph-large-after.json | 915 +++++ .../fixtures/module-graph-large-before.json | 920 +++++ packages/renderers/graph/scenarios.json | 8 + .../kit/src/graph-canvas/view-change.ts | 20 +- .../renderers/kit/src/graph-transition.ts | 15 + .../kit/src/graph-transition/diff-frame.ts | 3 +- .../kit/src/graph-transition/frame.ts | 33 +- .../kit/src/graph-transition/layouts.ts | 4 +- packages/renderers/kit/src/layout.ts | 1 + packages/renderers/kit/src/layout/blocks.ts | 143 + .../renderers/kit/src/layout/elk-input.ts | 92 +- packages/renderers/kit/src/layout/lay-out.ts | 45 +- .../renderers/kit/src/layout/layout-graph.ts | 1 + packages/renderers/kit/src/layout/model.ts | 14 + .../renderers/kit/src/layout/routing/build.ts | 10 +- .../kit/src/layout/routing/context.ts | 38 +- .../kit/src/layout/routing/converge.ts | 3 +- .../kit/src/layout/routing/trunk-moves.ts | 27 +- .../kit/src/react/graph-canvas/block-tray.tsx | 57 + .../src/react/graph-canvas/laid-out-graph.tsx | 4 + packages/renderers/kit/src/routes/courses.ts | 22 +- packages/renderers/kit/styles/graph.css | 31 + 26 files changed, 8916 insertions(+), 38 deletions(-) create mode 100644 packages/renderers/graph/fixtures/make-mcp-tools.mjs create mode 100644 packages/renderers/graph/fixtures/mcp-tools-after.json create mode 100644 packages/renderers/graph/fixtures/mcp-tools-before.json create mode 100644 packages/renderers/graph/fixtures/module-graph-large-after.json create mode 100644 packages/renderers/graph/fixtures/module-graph-large-before.json create mode 100644 packages/renderers/kit/src/layout/blocks.ts create mode 100644 packages/renderers/kit/src/react/graph-canvas/block-tray.tsx diff --git a/packages/renderers/graph/fixtures/make-mcp-tools.mjs b/packages/renderers/graph/fixtures/make-mcp-tools.mjs new file mode 100644 index 000000000..d2e7938ab --- /dev/null +++ b/packages/renderers/graph/fixtures/make-mcp-tools.mjs @@ -0,0 +1,247 @@ +// Regenerates `mcp-tools-before.json` and `mcp-tools-after.json`: the GitHub MCP Server's tools, the toolsets that +// contain them and the OAuth scopes each may ask for, as its `list-scopes --toolsets=all` command reports them (tool +// names, toolsets and scopes are public, in github/github-mcp-server). The after revision adds the +// `copilot_automations` toolset and its 11 tools, every one requiring `repo`: a wide fan-out from one toolset into one +// scope among about 140 unchanged tools, 22 more toolsets and 12 scopes. +// +// node packages/renderers/graph/fixtures/make-mcp-tools.mjs +import {writeFileSync} from 'node:fs' +import path from 'node:path' +import {fileURLToPath} from 'node:url' + +const here = path.dirname(fileURLToPath(import.meta.url)) + +// Each tool: its name, `r` (read-only) or `w`, and its scopes when they aren't just `repo` (`-` for none). +const toolsets = { + actions: [ + 'actions_get r', + 'actions_list r', + 'actions_run_trigger w', + 'get_job_logs r', + ], + code_quality: [ + 'get_code_quality_finding r', + 'list_code_quality_findings r', + ], + code_security: [ + 'get_code_scanning_alert r security_events', + 'list_code_scanning_alerts r security_events', + 'update_code_scanning_alert w security_events', + ], + context: [ + 'get_me r -', + 'get_team_members r read:org', + 'get_teams r read:org', + 'ui_get r repo,read:org', + ], + copilot: [ + 'assign_copilot_to_issue w', + 'request_copilot_review w', + ], + copilot_automations: [ + 'create_automation w', + 'delete_automation w', + 'get_automation r', + 'get_automation_revision r', + 'get_automations_configuration_for_repository r', + 'list_automation_revisions r', + 'list_automations r', + 'list_available_automation_tools r', + 'list_available_automation_triggers r', + 'run_automation w', + 'update_automation w', + ], + copilot_issue_intents: [ + 'assign_copilot_to_issue_with_intent w', + ], + dependabot: [ + 'get_dependabot_alert r security_events', + 'list_dependabot_alerts r security_events', + 'update_dependabot_alert w security_events', + ], + discussions: [ + 'discussion_comment_write w', + 'get_discussion r', + 'get_discussion_comments r', + 'list_discussion_categories r', + 'list_discussions r', + ], + gists: [ + 'create_gist w gist', + 'get_gist r -', + 'list_gists r -', + 'update_gist w gist', + ], + git: [ + 'get_repository_tree r', + ], + governance: [ + 'create_repository_ruleset w repo,admin:org,admin:enterprise', + 'custom_properties_read r repo,read:org,read:enterprise', + 'custom_properties_write w repo,admin:org,admin:enterprise', + 'repository_ruleset_read r repo,read:org,read:enterprise', + ], + issues: [ + 'add_issue_comment w', + 'add_issue_comment_reaction w', + 'add_issue_reaction w', + 'add_sub_issue w', + 'create_issue w', + 'find_duplicate r', + 'get_label r', + 'hide_issue_comment w', + 'issue_artifact_read r', + 'issue_artifact_write w', + 'issue_dependency_read r', + 'issue_dependency_write w', + 'issue_read r', + 'issue_write w', + 'list_issue_fields r repo,read:org', + 'list_issue_types r repo,read:org', + 'list_issues r', + 'remove_issue_comment_reaction w', + 'remove_issue_reaction w', + 'remove_sub_issue w', + 'reprioritize_sub_issue w', + 'search_issues r', + 'set_issue_fields w', + 'sub_issue_write w', + 'unhide_issue_comment w', + 'update_issue_assignees w', + 'update_issue_body w', + 'update_issue_comment w', + 'update_issue_labels w', + 'update_issue_milestone w', + 'update_issue_state w', + 'update_issue_title w', + 'update_issue_type w', + ], + labels: [ + 'get_label r', + 'label_write w', + 'list_label r', + ], + notifications: [ + 'dismiss_notification w notifications', + 'get_notification_details r notifications', + 'list_notifications r notifications', + 'manage_notification_subscription w notifications', + 'manage_repository_notification_subscription w notifications', + 'mark_all_notifications_read w notifications', + ], + orgs: [ + 'search_orgs r read:org', + ], + projects: [ + 'projects_get r read:project', + 'projects_list r read:project', + 'projects_write w project', + ], + pull_requests: [ + 'add_comment_to_pending_review w', + 'add_pull_request_review_comment w', + 'add_pull_request_review_comment_reaction w', + 'add_reply_to_pull_request_comment w', + 'create_pull_request w', + 'create_pull_request_review w', + 'delete_pending_pull_request_review w', + 'hide_pull_request_review w', + 'hide_pull_request_review_comment w', + 'list_pull_requests r', + 'merge_pull_request w', + 'pull_request_artifact_read r', + 'pull_request_artifact_write w', + 'pull_request_read r', + 'pull_request_review_write w', + 'remove_pull_request_review_comment_reaction w', + 'request_pull_request_reviewers w', + 'resolve_review_thread w', + 'search_pull_requests r', + 'submit_pending_pull_request_review w', + 'unhide_pull_request_review w', + 'unhide_pull_request_review_comment w', + 'unresolve_review_thread w', + 'update_pull_request w', + 'update_pull_request_body w', + 'update_pull_request_branch w', + 'update_pull_request_draft_state w', + 'update_pull_request_state w', + 'update_pull_request_title w', + ], + repos: [ + 'create_branch w', + 'create_or_update_file w repo,workflow', + 'create_repository w', + 'delete_file w repo,workflow', + 'delete_repository w delete_repo,repo', + 'fork_repository w', + 'get_commit r', + 'get_file_blame r', + 'get_file_contents r', + 'get_latest_release r', + 'get_release_by_tag r', + 'get_tag r', + 'list_branches r', + 'list_commits r', + 'list_releases r', + 'list_repository_collaborators r', + 'list_tags r', + 'push_files w repo,workflow', + 'search_code r', + 'search_commits r', + 'search_repositories r', + ], + secret_protection: [ + 'get_secret_scanning_alert r security_events', + 'list_secret_scanning_alerts r security_events', + 'update_secret_scanning_alert w security_events', + ], + security_advisories: [ + 'get_global_security_advisory r security_events', + 'list_global_security_advisories r security_events', + 'list_org_repository_security_advisories r security_events', + 'list_repository_security_advisories r security_events', + ], + stargazers: [ + 'list_starred_repositories r', + 'star_repository w', + 'unstar_repository w', + ], + users: [ + 'search_users r', + ], +} + +const added = 'copilot_automations' + +function extraction(withAdded) { + const entities = [] + const relationships = [] + const scopes = new Set() + // A tool in two toolsets (`get_label`) is one tool that both contain. + const seen = new Set() + for (const [toolset, tools] of Object.entries(toolsets)) { + if (toolset === added && !withAdded) continue + entities.push({id: `toolset:${toolset}`, kind: 'toolset', label: toolset}) + for (const line of tools) { + const [name, access, listed = 'repo'] = line.split(' ') + relationships.push({id: `toolset:${toolset}->tool:${name}`, kind: 'contains', from: `toolset:${toolset}`, to: `tool:${name}`}) + if (seen.has(name)) continue + seen.add(name) + entities.push({id: `tool:${name}`, kind: 'tool', label: name, data: {readOnly: access === 'r'}}) + for (const scope of listed === '-' ? [] : listed.split(',')) { + scopes.add(scope) + relationships.push({id: `tool:${name}->scope:${scope}`, kind: 'requires', from: `tool:${name}`, to: `scope:${scope}`}) + } + } + } + for (const scope of [...scopes].sort()) entities.push({id: `scope:${scope}`, kind: 'scope', label: scope}) + return {protocolVersion: 0, schema: 'graph/v0', entities, relationships} +} + +for (const [name, withAdded] of [ + ['before', false], + ['after', true], +]) { + writeFileSync(path.join(here, `mcp-tools-${name}.json`), `${JSON.stringify(extraction(withAdded), null, 2)}\n`) +} diff --git a/packages/renderers/graph/fixtures/make-module-graphs.mjs b/packages/renderers/graph/fixtures/make-module-graphs.mjs index 8e118fb20..ac8cf426e 100644 --- a/packages/renderers/graph/fixtures/make-module-graphs.mjs +++ b/packages/renderers/graph/fixtures/make-module-graphs.mjs @@ -1,4 +1,4 @@ -// Regenerates `module-graph-*.json`: synthetic module import graphs of 30 to 60 modules, the size of a mid-sized app's +// Regenerates `module-graph-*.json`: synthetic module import graphs of 30 to 60 modules (and one of 320), the size of a mid-sized app's // own modules and the packages they use, in the shapes real ones take: layered (apps over features over core), // wide (many independent features over a few foundations) and hub-heavy (every module imports the same shared // ones). Layered and wide have a before and an after revision, the after adding a module and its imports and dropping @@ -79,6 +79,8 @@ const graphs = [ layered('wide', 20261118, [2, 34, 6, 6], 2), // Every one of 33 modules imports the same two shared ones besides its own: long edges fan into two hubs. layered('hub-heavy', 20261119, [3, 10, 9, 6, 5], 1, 2, false), + // A large monorepo's 320 modules over six layers, for layout time: few of them share all their imports. + layered('large', 20261201, [6, 40, 90, 100, 60, 24], 2), ] const sorted = extraction => ({ diff --git a/packages/renderers/graph/fixtures/mcp-tools-after.json b/packages/renderers/graph/fixtures/mcp-tools-after.json new file mode 100644 index 000000000..44248aa6c --- /dev/null +++ b/packages/renderers/graph/fixtures/mcp-tools-after.json @@ -0,0 +1,3261 @@ +{ + "protocolVersion": 0, + "schema": "graph/v0", + "entities": [ + { + "id": "toolset:actions", + "kind": "toolset", + "label": "actions" + }, + { + "id": "tool:actions_get", + "kind": "tool", + "label": "actions_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_list", + "kind": "tool", + "label": "actions_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_run_trigger", + "kind": "tool", + "label": "actions_run_trigger", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_job_logs", + "kind": "tool", + "label": "get_job_logs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_quality", + "kind": "toolset", + "label": "code_quality" + }, + { + "id": "tool:get_code_quality_finding", + "kind": "tool", + "label": "get_code_quality_finding", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_quality_findings", + "kind": "tool", + "label": "list_code_quality_findings", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_security", + "kind": "toolset", + "label": "code_security" + }, + { + "id": "tool:get_code_scanning_alert", + "kind": "tool", + "label": "get_code_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_scanning_alerts", + "kind": "tool", + "label": "list_code_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_code_scanning_alert", + "kind": "tool", + "label": "update_code_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:context", + "kind": "toolset", + "label": "context" + }, + { + "id": "tool:get_me", + "kind": "tool", + "label": "get_me", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_team_members", + "kind": "tool", + "label": "get_team_members", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_teams", + "kind": "tool", + "label": "get_teams", + "data": { + "readOnly": true + } + }, + { + "id": "tool:ui_get", + "kind": "tool", + "label": "ui_get", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:copilot", + "kind": "toolset", + "label": "copilot" + }, + { + "id": "tool:assign_copilot_to_issue", + "kind": "tool", + "label": "assign_copilot_to_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_copilot_review", + "kind": "tool", + "label": "request_copilot_review", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:copilot_automations", + "kind": "toolset", + "label": "copilot_automations" + }, + { + "id": "tool:create_automation", + "kind": "tool", + "label": "create_automation", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_automation", + "kind": "tool", + "label": "delete_automation", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_automation", + "kind": "tool", + "label": "get_automation", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_automation_revision", + "kind": "tool", + "label": "get_automation_revision", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_automations_configuration_for_repository", + "kind": "tool", + "label": "get_automations_configuration_for_repository", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_automation_revisions", + "kind": "tool", + "label": "list_automation_revisions", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_automations", + "kind": "tool", + "label": "list_automations", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_available_automation_tools", + "kind": "tool", + "label": "list_available_automation_tools", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_available_automation_triggers", + "kind": "tool", + "label": "list_available_automation_triggers", + "data": { + "readOnly": true + } + }, + { + "id": "tool:run_automation", + "kind": "tool", + "label": "run_automation", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_automation", + "kind": "tool", + "label": "update_automation", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:copilot_issue_intents", + "kind": "toolset", + "label": "copilot_issue_intents" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent", + "kind": "tool", + "label": "assign_copilot_to_issue_with_intent", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:dependabot", + "kind": "toolset", + "label": "dependabot" + }, + { + "id": "tool:get_dependabot_alert", + "kind": "tool", + "label": "get_dependabot_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_dependabot_alerts", + "kind": "tool", + "label": "list_dependabot_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_dependabot_alert", + "kind": "tool", + "label": "update_dependabot_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:discussions", + "kind": "toolset", + "label": "discussions" + }, + { + "id": "tool:discussion_comment_write", + "kind": "tool", + "label": "discussion_comment_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_discussion", + "kind": "tool", + "label": "get_discussion", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_discussion_comments", + "kind": "tool", + "label": "get_discussion_comments", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussion_categories", + "kind": "tool", + "label": "list_discussion_categories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussions", + "kind": "tool", + "label": "list_discussions", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:gists", + "kind": "toolset", + "label": "gists" + }, + { + "id": "tool:create_gist", + "kind": "tool", + "label": "create_gist", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_gist", + "kind": "tool", + "label": "get_gist", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_gists", + "kind": "tool", + "label": "list_gists", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_gist", + "kind": "tool", + "label": "update_gist", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:git", + "kind": "toolset", + "label": "git" + }, + { + "id": "tool:get_repository_tree", + "kind": "tool", + "label": "get_repository_tree", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:governance", + "kind": "toolset", + "label": "governance" + }, + { + "id": "tool:create_repository_ruleset", + "kind": "tool", + "label": "create_repository_ruleset", + "data": { + "readOnly": false + } + }, + { + "id": "tool:custom_properties_read", + "kind": "tool", + "label": "custom_properties_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:custom_properties_write", + "kind": "tool", + "label": "custom_properties_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:repository_ruleset_read", + "kind": "tool", + "label": "repository_ruleset_read", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:issues", + "kind": "toolset", + "label": "issues" + }, + { + "id": "tool:add_issue_comment", + "kind": "tool", + "label": "add_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_comment_reaction", + "kind": "tool", + "label": "add_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_reaction", + "kind": "tool", + "label": "add_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_sub_issue", + "kind": "tool", + "label": "add_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_issue", + "kind": "tool", + "label": "create_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:find_duplicate", + "kind": "tool", + "label": "find_duplicate", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_label", + "kind": "tool", + "label": "get_label", + "data": { + "readOnly": true + } + }, + { + "id": "tool:hide_issue_comment", + "kind": "tool", + "label": "hide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_artifact_read", + "kind": "tool", + "label": "issue_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_artifact_write", + "kind": "tool", + "label": "issue_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_dependency_read", + "kind": "tool", + "label": "issue_dependency_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_dependency_write", + "kind": "tool", + "label": "issue_dependency_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_read", + "kind": "tool", + "label": "issue_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_write", + "kind": "tool", + "label": "issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_issue_fields", + "kind": "tool", + "label": "list_issue_fields", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issue_types", + "kind": "tool", + "label": "list_issue_types", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issues", + "kind": "tool", + "label": "list_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:remove_issue_comment_reaction", + "kind": "tool", + "label": "remove_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_issue_reaction", + "kind": "tool", + "label": "remove_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_sub_issue", + "kind": "tool", + "label": "remove_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:reprioritize_sub_issue", + "kind": "tool", + "label": "reprioritize_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_issues", + "kind": "tool", + "label": "search_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:set_issue_fields", + "kind": "tool", + "label": "set_issue_fields", + "data": { + "readOnly": false + } + }, + { + "id": "tool:sub_issue_write", + "kind": "tool", + "label": "sub_issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_issue_comment", + "kind": "tool", + "label": "unhide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_assignees", + "kind": "tool", + "label": "update_issue_assignees", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_body", + "kind": "tool", + "label": "update_issue_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_comment", + "kind": "tool", + "label": "update_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_labels", + "kind": "tool", + "label": "update_issue_labels", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_milestone", + "kind": "tool", + "label": "update_issue_milestone", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_state", + "kind": "tool", + "label": "update_issue_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_title", + "kind": "tool", + "label": "update_issue_title", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_type", + "kind": "tool", + "label": "update_issue_type", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:labels", + "kind": "toolset", + "label": "labels" + }, + { + "id": "tool:label_write", + "kind": "tool", + "label": "label_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_label", + "kind": "tool", + "label": "list_label", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:notifications", + "kind": "toolset", + "label": "notifications" + }, + { + "id": "tool:dismiss_notification", + "kind": "tool", + "label": "dismiss_notification", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_notification_details", + "kind": "tool", + "label": "get_notification_details", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_notifications", + "kind": "tool", + "label": "list_notifications", + "data": { + "readOnly": true + } + }, + { + "id": "tool:manage_notification_subscription", + "kind": "tool", + "label": "manage_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:manage_repository_notification_subscription", + "kind": "tool", + "label": "manage_repository_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:mark_all_notifications_read", + "kind": "tool", + "label": "mark_all_notifications_read", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:orgs", + "kind": "toolset", + "label": "orgs" + }, + { + "id": "tool:search_orgs", + "kind": "tool", + "label": "search_orgs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:projects", + "kind": "toolset", + "label": "projects" + }, + { + "id": "tool:projects_get", + "kind": "tool", + "label": "projects_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_list", + "kind": "tool", + "label": "projects_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_write", + "kind": "tool", + "label": "projects_write", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:pull_requests", + "kind": "toolset", + "label": "pull_requests" + }, + { + "id": "tool:add_comment_to_pending_review", + "kind": "tool", + "label": "add_comment_to_pending_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment", + "kind": "tool", + "label": "add_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment_reaction", + "kind": "tool", + "label": "add_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_reply_to_pull_request_comment", + "kind": "tool", + "label": "add_reply_to_pull_request_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request", + "kind": "tool", + "label": "create_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request_review", + "kind": "tool", + "label": "create_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_pending_pull_request_review", + "kind": "tool", + "label": "delete_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review", + "kind": "tool", + "label": "hide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review_comment", + "kind": "tool", + "label": "hide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_pull_requests", + "kind": "tool", + "label": "list_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:merge_pull_request", + "kind": "tool", + "label": "merge_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_artifact_read", + "kind": "tool", + "label": "pull_request_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_artifact_write", + "kind": "tool", + "label": "pull_request_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_read", + "kind": "tool", + "label": "pull_request_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_review_write", + "kind": "tool", + "label": "pull_request_review_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_pull_request_review_comment_reaction", + "kind": "tool", + "label": "remove_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_pull_request_reviewers", + "kind": "tool", + "label": "request_pull_request_reviewers", + "data": { + "readOnly": false + } + }, + { + "id": "tool:resolve_review_thread", + "kind": "tool", + "label": "resolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_pull_requests", + "kind": "tool", + "label": "search_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:submit_pending_pull_request_review", + "kind": "tool", + "label": "submit_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review", + "kind": "tool", + "label": "unhide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review_comment", + "kind": "tool", + "label": "unhide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unresolve_review_thread", + "kind": "tool", + "label": "unresolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request", + "kind": "tool", + "label": "update_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_body", + "kind": "tool", + "label": "update_pull_request_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_branch", + "kind": "tool", + "label": "update_pull_request_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_draft_state", + "kind": "tool", + "label": "update_pull_request_draft_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_state", + "kind": "tool", + "label": "update_pull_request_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_title", + "kind": "tool", + "label": "update_pull_request_title", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:repos", + "kind": "toolset", + "label": "repos" + }, + { + "id": "tool:create_branch", + "kind": "tool", + "label": "create_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_or_update_file", + "kind": "tool", + "label": "create_or_update_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_repository", + "kind": "tool", + "label": "create_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_file", + "kind": "tool", + "label": "delete_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_repository", + "kind": "tool", + "label": "delete_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:fork_repository", + "kind": "tool", + "label": "fork_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_commit", + "kind": "tool", + "label": "get_commit", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_blame", + "kind": "tool", + "label": "get_file_blame", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_contents", + "kind": "tool", + "label": "get_file_contents", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_latest_release", + "kind": "tool", + "label": "get_latest_release", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_release_by_tag", + "kind": "tool", + "label": "get_release_by_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_tag", + "kind": "tool", + "label": "get_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_branches", + "kind": "tool", + "label": "list_branches", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_commits", + "kind": "tool", + "label": "list_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_releases", + "kind": "tool", + "label": "list_releases", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_collaborators", + "kind": "tool", + "label": "list_repository_collaborators", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_tags", + "kind": "tool", + "label": "list_tags", + "data": { + "readOnly": true + } + }, + { + "id": "tool:push_files", + "kind": "tool", + "label": "push_files", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_code", + "kind": "tool", + "label": "search_code", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_commits", + "kind": "tool", + "label": "search_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_repositories", + "kind": "tool", + "label": "search_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:secret_protection", + "kind": "toolset", + "label": "secret_protection" + }, + { + "id": "tool:get_secret_scanning_alert", + "kind": "tool", + "label": "get_secret_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_secret_scanning_alerts", + "kind": "tool", + "label": "list_secret_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_secret_scanning_alert", + "kind": "tool", + "label": "update_secret_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:security_advisories", + "kind": "toolset", + "label": "security_advisories" + }, + { + "id": "tool:get_global_security_advisory", + "kind": "tool", + "label": "get_global_security_advisory", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_global_security_advisories", + "kind": "tool", + "label": "list_global_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_org_repository_security_advisories", + "kind": "tool", + "label": "list_org_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_security_advisories", + "kind": "tool", + "label": "list_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:stargazers", + "kind": "toolset", + "label": "stargazers" + }, + { + "id": "tool:list_starred_repositories", + "kind": "tool", + "label": "list_starred_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:star_repository", + "kind": "tool", + "label": "star_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unstar_repository", + "kind": "tool", + "label": "unstar_repository", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:users", + "kind": "toolset", + "label": "users" + }, + { + "id": "tool:search_users", + "kind": "tool", + "label": "search_users", + "data": { + "readOnly": true + } + }, + { + "id": "scope:admin:enterprise", + "kind": "scope", + "label": "admin:enterprise" + }, + { + "id": "scope:admin:org", + "kind": "scope", + "label": "admin:org" + }, + { + "id": "scope:delete_repo", + "kind": "scope", + "label": "delete_repo" + }, + { + "id": "scope:gist", + "kind": "scope", + "label": "gist" + }, + { + "id": "scope:notifications", + "kind": "scope", + "label": "notifications" + }, + { + "id": "scope:project", + "kind": "scope", + "label": "project" + }, + { + "id": "scope:read:enterprise", + "kind": "scope", + "label": "read:enterprise" + }, + { + "id": "scope:read:org", + "kind": "scope", + "label": "read:org" + }, + { + "id": "scope:read:project", + "kind": "scope", + "label": "read:project" + }, + { + "id": "scope:repo", + "kind": "scope", + "label": "repo" + }, + { + "id": "scope:security_events", + "kind": "scope", + "label": "security_events" + }, + { + "id": "scope:workflow", + "kind": "scope", + "label": "workflow" + } + ], + "relationships": [ + { + "id": "toolset:actions->tool:actions_get", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_get" + }, + { + "id": "tool:actions_get->scope:repo", + "kind": "requires", + "from": "tool:actions_get", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_list", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_list" + }, + { + "id": "tool:actions_list->scope:repo", + "kind": "requires", + "from": "tool:actions_list", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_run_trigger", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_run_trigger" + }, + { + "id": "tool:actions_run_trigger->scope:repo", + "kind": "requires", + "from": "tool:actions_run_trigger", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:get_job_logs", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:get_job_logs" + }, + { + "id": "tool:get_job_logs->scope:repo", + "kind": "requires", + "from": "tool:get_job_logs", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:get_code_quality_finding", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:get_code_quality_finding" + }, + { + "id": "tool:get_code_quality_finding->scope:repo", + "kind": "requires", + "from": "tool:get_code_quality_finding", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:list_code_quality_findings", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:list_code_quality_findings" + }, + { + "id": "tool:list_code_quality_findings->scope:repo", + "kind": "requires", + "from": "tool:list_code_quality_findings", + "to": "scope:repo" + }, + { + "id": "toolset:code_security->tool:get_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:get_code_scanning_alert" + }, + { + "id": "tool:get_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:list_code_scanning_alerts", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:list_code_scanning_alerts" + }, + { + "id": "tool:list_code_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_code_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:update_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:update_code_scanning_alert" + }, + { + "id": "tool:update_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:context->tool:get_me", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_me" + }, + { + "id": "toolset:context->tool:get_team_members", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_team_members" + }, + { + "id": "tool:get_team_members->scope:read:org", + "kind": "requires", + "from": "tool:get_team_members", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:get_teams", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_teams" + }, + { + "id": "tool:get_teams->scope:read:org", + "kind": "requires", + "from": "tool:get_teams", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:ui_get", + "kind": "contains", + "from": "toolset:context", + "to": "tool:ui_get" + }, + { + "id": "tool:ui_get->scope:repo", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:repo" + }, + { + "id": "tool:ui_get->scope:read:org", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:read:org" + }, + { + "id": "toolset:copilot->tool:assign_copilot_to_issue", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:assign_copilot_to_issue" + }, + { + "id": "tool:assign_copilot_to_issue->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue", + "to": "scope:repo" + }, + { + "id": "toolset:copilot->tool:request_copilot_review", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:request_copilot_review" + }, + { + "id": "tool:request_copilot_review->scope:repo", + "kind": "requires", + "from": "tool:request_copilot_review", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:create_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:create_automation" + }, + { + "id": "tool:create_automation->scope:repo", + "kind": "requires", + "from": "tool:create_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:delete_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:delete_automation" + }, + { + "id": "tool:delete_automation->scope:repo", + "kind": "requires", + "from": "tool:delete_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:get_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:get_automation" + }, + { + "id": "tool:get_automation->scope:repo", + "kind": "requires", + "from": "tool:get_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:get_automation_revision", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:get_automation_revision" + }, + { + "id": "tool:get_automation_revision->scope:repo", + "kind": "requires", + "from": "tool:get_automation_revision", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:get_automations_configuration_for_repository", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:get_automations_configuration_for_repository" + }, + { + "id": "tool:get_automations_configuration_for_repository->scope:repo", + "kind": "requires", + "from": "tool:get_automations_configuration_for_repository", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_automation_revisions", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_automation_revisions" + }, + { + "id": "tool:list_automation_revisions->scope:repo", + "kind": "requires", + "from": "tool:list_automation_revisions", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_automations", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_automations" + }, + { + "id": "tool:list_automations->scope:repo", + "kind": "requires", + "from": "tool:list_automations", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_available_automation_tools", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_available_automation_tools" + }, + { + "id": "tool:list_available_automation_tools->scope:repo", + "kind": "requires", + "from": "tool:list_available_automation_tools", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:list_available_automation_triggers", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:list_available_automation_triggers" + }, + { + "id": "tool:list_available_automation_triggers->scope:repo", + "kind": "requires", + "from": "tool:list_available_automation_triggers", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:run_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:run_automation" + }, + { + "id": "tool:run_automation->scope:repo", + "kind": "requires", + "from": "tool:run_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_automations->tool:update_automation", + "kind": "contains", + "from": "toolset:copilot_automations", + "to": "tool:update_automation" + }, + { + "id": "tool:update_automation->scope:repo", + "kind": "requires", + "from": "tool:update_automation", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_issue_intents->tool:assign_copilot_to_issue_with_intent", + "kind": "contains", + "from": "toolset:copilot_issue_intents", + "to": "tool:assign_copilot_to_issue_with_intent" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue_with_intent", + "to": "scope:repo" + }, + { + "id": "toolset:dependabot->tool:get_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:get_dependabot_alert" + }, + { + "id": "tool:get_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:list_dependabot_alerts", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:list_dependabot_alerts" + }, + { + "id": "tool:list_dependabot_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_dependabot_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:update_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:update_dependabot_alert" + }, + { + "id": "tool:update_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:discussions->tool:discussion_comment_write", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:discussion_comment_write" + }, + { + "id": "tool:discussion_comment_write->scope:repo", + "kind": "requires", + "from": "tool:discussion_comment_write", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion" + }, + { + "id": "tool:get_discussion->scope:repo", + "kind": "requires", + "from": "tool:get_discussion", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion_comments", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion_comments" + }, + { + "id": "tool:get_discussion_comments->scope:repo", + "kind": "requires", + "from": "tool:get_discussion_comments", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussion_categories", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussion_categories" + }, + { + "id": "tool:list_discussion_categories->scope:repo", + "kind": "requires", + "from": "tool:list_discussion_categories", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussions", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussions" + }, + { + "id": "tool:list_discussions->scope:repo", + "kind": "requires", + "from": "tool:list_discussions", + "to": "scope:repo" + }, + { + "id": "toolset:gists->tool:create_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:create_gist" + }, + { + "id": "tool:create_gist->scope:gist", + "kind": "requires", + "from": "tool:create_gist", + "to": "scope:gist" + }, + { + "id": "toolset:gists->tool:get_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:get_gist" + }, + { + "id": "toolset:gists->tool:list_gists", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:list_gists" + }, + { + "id": "toolset:gists->tool:update_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:update_gist" + }, + { + "id": "tool:update_gist->scope:gist", + "kind": "requires", + "from": "tool:update_gist", + "to": "scope:gist" + }, + { + "id": "toolset:git->tool:get_repository_tree", + "kind": "contains", + "from": "toolset:git", + "to": "tool:get_repository_tree" + }, + { + "id": "tool:get_repository_tree->scope:repo", + "kind": "requires", + "from": "tool:get_repository_tree", + "to": "scope:repo" + }, + { + "id": "toolset:governance->tool:create_repository_ruleset", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:create_repository_ruleset" + }, + { + "id": "tool:create_repository_ruleset->scope:repo", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:repo" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:org", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:org" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:enterprise", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_read" + }, + { + "id": "tool:custom_properties_read->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_read->scope:read:org", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:org" + }, + { + "id": "tool:custom_properties_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_write", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_write" + }, + { + "id": "tool:custom_properties_write->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_write->scope:admin:org", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:org" + }, + { + "id": "tool:custom_properties_write->scope:admin:enterprise", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:repository_ruleset_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:repository_ruleset_read" + }, + { + "id": "tool:repository_ruleset_read->scope:repo", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:repo" + }, + { + "id": "tool:repository_ruleset_read->scope:read:org", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:org" + }, + { + "id": "tool:repository_ruleset_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:issues->tool:add_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment" + }, + { + "id": "tool:add_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment_reaction" + }, + { + "id": "tool:add_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_reaction" + }, + { + "id": "tool:add_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_sub_issue" + }, + { + "id": "tool:add_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:add_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:create_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:create_issue" + }, + { + "id": "tool:create_issue->scope:repo", + "kind": "requires", + "from": "tool:create_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:find_duplicate", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:find_duplicate" + }, + { + "id": "tool:find_duplicate->scope:repo", + "kind": "requires", + "from": "tool:find_duplicate", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:get_label", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:get_label" + }, + { + "id": "tool:get_label->scope:repo", + "kind": "requires", + "from": "tool:get_label", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:hide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:hide_issue_comment" + }, + { + "id": "tool:hide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_read" + }, + { + "id": "tool:issue_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_write" + }, + { + "id": "tool:issue_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_read" + }, + { + "id": "tool:issue_dependency_read->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_write" + }, + { + "id": "tool:issue_dependency_write->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_read" + }, + { + "id": "tool:issue_read->scope:repo", + "kind": "requires", + "from": "tool:issue_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_write" + }, + { + "id": "tool:issue_write->scope:repo", + "kind": "requires", + "from": "tool:issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:list_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_fields" + }, + { + "id": "tool:list_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_fields->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issue_types", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_types" + }, + { + "id": "tool:list_issue_types->scope:repo", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_types->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issues" + }, + { + "id": "tool:list_issues->scope:repo", + "kind": "requires", + "from": "tool:list_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_comment_reaction" + }, + { + "id": "tool:remove_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_reaction" + }, + { + "id": "tool:remove_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_sub_issue" + }, + { + "id": "tool:remove_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:remove_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:reprioritize_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:reprioritize_sub_issue" + }, + { + "id": "tool:reprioritize_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:reprioritize_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:search_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:search_issues" + }, + { + "id": "tool:search_issues->scope:repo", + "kind": "requires", + "from": "tool:search_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:set_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:set_issue_fields" + }, + { + "id": "tool:set_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:set_issue_fields", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:sub_issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:sub_issue_write" + }, + { + "id": "tool:sub_issue_write->scope:repo", + "kind": "requires", + "from": "tool:sub_issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:unhide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:unhide_issue_comment" + }, + { + "id": "tool:unhide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_assignees", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_assignees" + }, + { + "id": "tool:update_issue_assignees->scope:repo", + "kind": "requires", + "from": "tool:update_issue_assignees", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_body", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_body" + }, + { + "id": "tool:update_issue_body->scope:repo", + "kind": "requires", + "from": "tool:update_issue_body", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_comment" + }, + { + "id": "tool:update_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:update_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_labels", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_labels" + }, + { + "id": "tool:update_issue_labels->scope:repo", + "kind": "requires", + "from": "tool:update_issue_labels", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_milestone", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_milestone" + }, + { + "id": "tool:update_issue_milestone->scope:repo", + "kind": "requires", + "from": "tool:update_issue_milestone", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_state", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_state" + }, + { + "id": "tool:update_issue_state->scope:repo", + "kind": "requires", + "from": "tool:update_issue_state", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_title", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_title" + }, + { + "id": "tool:update_issue_title->scope:repo", + "kind": "requires", + "from": "tool:update_issue_title", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_type", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_type" + }, + { + "id": "tool:update_issue_type->scope:repo", + "kind": "requires", + "from": "tool:update_issue_type", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:get_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:get_label" + }, + { + "id": "toolset:labels->tool:label_write", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:label_write" + }, + { + "id": "tool:label_write->scope:repo", + "kind": "requires", + "from": "tool:label_write", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:list_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:list_label" + }, + { + "id": "tool:list_label->scope:repo", + "kind": "requires", + "from": "tool:list_label", + "to": "scope:repo" + }, + { + "id": "toolset:notifications->tool:dismiss_notification", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:dismiss_notification" + }, + { + "id": "tool:dismiss_notification->scope:notifications", + "kind": "requires", + "from": "tool:dismiss_notification", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:get_notification_details", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:get_notification_details" + }, + { + "id": "tool:get_notification_details->scope:notifications", + "kind": "requires", + "from": "tool:get_notification_details", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:list_notifications", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:list_notifications" + }, + { + "id": "tool:list_notifications->scope:notifications", + "kind": "requires", + "from": "tool:list_notifications", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_notification_subscription" + }, + { + "id": "tool:manage_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_repository_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_repository_notification_subscription" + }, + { + "id": "tool:manage_repository_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_repository_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:mark_all_notifications_read", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:mark_all_notifications_read" + }, + { + "id": "tool:mark_all_notifications_read->scope:notifications", + "kind": "requires", + "from": "tool:mark_all_notifications_read", + "to": "scope:notifications" + }, + { + "id": "toolset:orgs->tool:search_orgs", + "kind": "contains", + "from": "toolset:orgs", + "to": "tool:search_orgs" + }, + { + "id": "tool:search_orgs->scope:read:org", + "kind": "requires", + "from": "tool:search_orgs", + "to": "scope:read:org" + }, + { + "id": "toolset:projects->tool:projects_get", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_get" + }, + { + "id": "tool:projects_get->scope:read:project", + "kind": "requires", + "from": "tool:projects_get", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_list", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_list" + }, + { + "id": "tool:projects_list->scope:read:project", + "kind": "requires", + "from": "tool:projects_list", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_write", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_write" + }, + { + "id": "tool:projects_write->scope:project", + "kind": "requires", + "from": "tool:projects_write", + "to": "scope:project" + }, + { + "id": "toolset:pull_requests->tool:add_comment_to_pending_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_comment_to_pending_review" + }, + { + "id": "tool:add_comment_to_pending_review->scope:repo", + "kind": "requires", + "from": "tool:add_comment_to_pending_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment" + }, + { + "id": "tool:add_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment_reaction" + }, + { + "id": "tool:add_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_reply_to_pull_request_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_reply_to_pull_request_comment" + }, + { + "id": "tool:add_reply_to_pull_request_comment->scope:repo", + "kind": "requires", + "from": "tool:add_reply_to_pull_request_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request" + }, + { + "id": "tool:create_pull_request->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request_review" + }, + { + "id": "tool:create_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:delete_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:delete_pending_pull_request_review" + }, + { + "id": "tool:delete_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:delete_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review" + }, + { + "id": "tool:hide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review_comment" + }, + { + "id": "tool:hide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:list_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:list_pull_requests" + }, + { + "id": "tool:list_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:list_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:merge_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:merge_pull_request" + }, + { + "id": "tool:merge_pull_request->scope:repo", + "kind": "requires", + "from": "tool:merge_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_read" + }, + { + "id": "tool:pull_request_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_write" + }, + { + "id": "tool:pull_request_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_read" + }, + { + "id": "tool:pull_request_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_review_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_review_write" + }, + { + "id": "tool:pull_request_review_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_review_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:remove_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:remove_pull_request_review_comment_reaction" + }, + { + "id": "tool:remove_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:request_pull_request_reviewers", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:request_pull_request_reviewers" + }, + { + "id": "tool:request_pull_request_reviewers->scope:repo", + "kind": "requires", + "from": "tool:request_pull_request_reviewers", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:resolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:resolve_review_thread" + }, + { + "id": "tool:resolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:resolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:search_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:search_pull_requests" + }, + { + "id": "tool:search_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:search_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:submit_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:submit_pending_pull_request_review" + }, + { + "id": "tool:submit_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:submit_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review" + }, + { + "id": "tool:unhide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review_comment" + }, + { + "id": "tool:unhide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unresolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unresolve_review_thread" + }, + { + "id": "tool:unresolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:unresolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request" + }, + { + "id": "tool:update_pull_request->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_body", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_body" + }, + { + "id": "tool:update_pull_request_body->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_body", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_branch", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_branch" + }, + { + "id": "tool:update_pull_request_branch->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_branch", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_draft_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_draft_state" + }, + { + "id": "tool:update_pull_request_draft_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_draft_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_state" + }, + { + "id": "tool:update_pull_request_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_title", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_title" + }, + { + "id": "tool:update_pull_request_title->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_title", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_branch", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_branch" + }, + { + "id": "tool:create_branch->scope:repo", + "kind": "requires", + "from": "tool:create_branch", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_or_update_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_or_update_file" + }, + { + "id": "tool:create_or_update_file->scope:repo", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:repo" + }, + { + "id": "tool:create_or_update_file->scope:workflow", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:create_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_repository" + }, + { + "id": "tool:create_repository->scope:repo", + "kind": "requires", + "from": "tool:create_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:delete_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_file" + }, + { + "id": "tool:delete_file->scope:repo", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:repo" + }, + { + "id": "tool:delete_file->scope:workflow", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:delete_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_repository" + }, + { + "id": "tool:delete_repository->scope:delete_repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:delete_repo" + }, + { + "id": "tool:delete_repository->scope:repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:fork_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:fork_repository" + }, + { + "id": "tool:fork_repository->scope:repo", + "kind": "requires", + "from": "tool:fork_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_commit", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_commit" + }, + { + "id": "tool:get_commit->scope:repo", + "kind": "requires", + "from": "tool:get_commit", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_blame", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_blame" + }, + { + "id": "tool:get_file_blame->scope:repo", + "kind": "requires", + "from": "tool:get_file_blame", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_contents", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_contents" + }, + { + "id": "tool:get_file_contents->scope:repo", + "kind": "requires", + "from": "tool:get_file_contents", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_latest_release", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_latest_release" + }, + { + "id": "tool:get_latest_release->scope:repo", + "kind": "requires", + "from": "tool:get_latest_release", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_release_by_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_release_by_tag" + }, + { + "id": "tool:get_release_by_tag->scope:repo", + "kind": "requires", + "from": "tool:get_release_by_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_tag" + }, + { + "id": "tool:get_tag->scope:repo", + "kind": "requires", + "from": "tool:get_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_branches", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_branches" + }, + { + "id": "tool:list_branches->scope:repo", + "kind": "requires", + "from": "tool:list_branches", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_commits" + }, + { + "id": "tool:list_commits->scope:repo", + "kind": "requires", + "from": "tool:list_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_releases", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_releases" + }, + { + "id": "tool:list_releases->scope:repo", + "kind": "requires", + "from": "tool:list_releases", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_repository_collaborators", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_repository_collaborators" + }, + { + "id": "tool:list_repository_collaborators->scope:repo", + "kind": "requires", + "from": "tool:list_repository_collaborators", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_tags", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_tags" + }, + { + "id": "tool:list_tags->scope:repo", + "kind": "requires", + "from": "tool:list_tags", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:push_files", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:push_files" + }, + { + "id": "tool:push_files->scope:repo", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:repo" + }, + { + "id": "tool:push_files->scope:workflow", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:search_code", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_code" + }, + { + "id": "tool:search_code->scope:repo", + "kind": "requires", + "from": "tool:search_code", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_commits" + }, + { + "id": "tool:search_commits->scope:repo", + "kind": "requires", + "from": "tool:search_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_repositories", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_repositories" + }, + { + "id": "tool:search_repositories->scope:repo", + "kind": "requires", + "from": "tool:search_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:secret_protection->tool:get_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:get_secret_scanning_alert" + }, + { + "id": "tool:get_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:list_secret_scanning_alerts", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:list_secret_scanning_alerts" + }, + { + "id": "tool:list_secret_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_secret_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:update_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:update_secret_scanning_alert" + }, + { + "id": "tool:update_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:get_global_security_advisory", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:get_global_security_advisory" + }, + { + "id": "tool:get_global_security_advisory->scope:security_events", + "kind": "requires", + "from": "tool:get_global_security_advisory", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_global_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_global_security_advisories" + }, + { + "id": "tool:list_global_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_global_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_org_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_org_repository_security_advisories" + }, + { + "id": "tool:list_org_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_org_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_repository_security_advisories" + }, + { + "id": "tool:list_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:stargazers->tool:list_starred_repositories", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:list_starred_repositories" + }, + { + "id": "tool:list_starred_repositories->scope:repo", + "kind": "requires", + "from": "tool:list_starred_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:star_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:star_repository" + }, + { + "id": "tool:star_repository->scope:repo", + "kind": "requires", + "from": "tool:star_repository", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:unstar_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:unstar_repository" + }, + { + "id": "tool:unstar_repository->scope:repo", + "kind": "requires", + "from": "tool:unstar_repository", + "to": "scope:repo" + }, + { + "id": "toolset:users->tool:search_users", + "kind": "contains", + "from": "toolset:users", + "to": "tool:search_users" + }, + { + "id": "tool:search_users->scope:repo", + "kind": "requires", + "from": "tool:search_users", + "to": "scope:repo" + } + ] +} diff --git a/packages/renderers/graph/fixtures/mcp-tools-before.json b/packages/renderers/graph/fixtures/mcp-tools-before.json new file mode 100644 index 000000000..508288f29 --- /dev/null +++ b/packages/renderers/graph/fixtures/mcp-tools-before.json @@ -0,0 +1,3036 @@ +{ + "protocolVersion": 0, + "schema": "graph/v0", + "entities": [ + { + "id": "toolset:actions", + "kind": "toolset", + "label": "actions" + }, + { + "id": "tool:actions_get", + "kind": "tool", + "label": "actions_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_list", + "kind": "tool", + "label": "actions_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:actions_run_trigger", + "kind": "tool", + "label": "actions_run_trigger", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_job_logs", + "kind": "tool", + "label": "get_job_logs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_quality", + "kind": "toolset", + "label": "code_quality" + }, + { + "id": "tool:get_code_quality_finding", + "kind": "tool", + "label": "get_code_quality_finding", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_quality_findings", + "kind": "tool", + "label": "list_code_quality_findings", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:code_security", + "kind": "toolset", + "label": "code_security" + }, + { + "id": "tool:get_code_scanning_alert", + "kind": "tool", + "label": "get_code_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_code_scanning_alerts", + "kind": "tool", + "label": "list_code_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_code_scanning_alert", + "kind": "tool", + "label": "update_code_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:context", + "kind": "toolset", + "label": "context" + }, + { + "id": "tool:get_me", + "kind": "tool", + "label": "get_me", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_team_members", + "kind": "tool", + "label": "get_team_members", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_teams", + "kind": "tool", + "label": "get_teams", + "data": { + "readOnly": true + } + }, + { + "id": "tool:ui_get", + "kind": "tool", + "label": "ui_get", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:copilot", + "kind": "toolset", + "label": "copilot" + }, + { + "id": "tool:assign_copilot_to_issue", + "kind": "tool", + "label": "assign_copilot_to_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_copilot_review", + "kind": "tool", + "label": "request_copilot_review", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:copilot_issue_intents", + "kind": "toolset", + "label": "copilot_issue_intents" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent", + "kind": "tool", + "label": "assign_copilot_to_issue_with_intent", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:dependabot", + "kind": "toolset", + "label": "dependabot" + }, + { + "id": "tool:get_dependabot_alert", + "kind": "tool", + "label": "get_dependabot_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_dependabot_alerts", + "kind": "tool", + "label": "list_dependabot_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_dependabot_alert", + "kind": "tool", + "label": "update_dependabot_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:discussions", + "kind": "toolset", + "label": "discussions" + }, + { + "id": "tool:discussion_comment_write", + "kind": "tool", + "label": "discussion_comment_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_discussion", + "kind": "tool", + "label": "get_discussion", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_discussion_comments", + "kind": "tool", + "label": "get_discussion_comments", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussion_categories", + "kind": "tool", + "label": "list_discussion_categories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_discussions", + "kind": "tool", + "label": "list_discussions", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:gists", + "kind": "toolset", + "label": "gists" + }, + { + "id": "tool:create_gist", + "kind": "tool", + "label": "create_gist", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_gist", + "kind": "tool", + "label": "get_gist", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_gists", + "kind": "tool", + "label": "list_gists", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_gist", + "kind": "tool", + "label": "update_gist", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:git", + "kind": "toolset", + "label": "git" + }, + { + "id": "tool:get_repository_tree", + "kind": "tool", + "label": "get_repository_tree", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:governance", + "kind": "toolset", + "label": "governance" + }, + { + "id": "tool:create_repository_ruleset", + "kind": "tool", + "label": "create_repository_ruleset", + "data": { + "readOnly": false + } + }, + { + "id": "tool:custom_properties_read", + "kind": "tool", + "label": "custom_properties_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:custom_properties_write", + "kind": "tool", + "label": "custom_properties_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:repository_ruleset_read", + "kind": "tool", + "label": "repository_ruleset_read", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:issues", + "kind": "toolset", + "label": "issues" + }, + { + "id": "tool:add_issue_comment", + "kind": "tool", + "label": "add_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_comment_reaction", + "kind": "tool", + "label": "add_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_issue_reaction", + "kind": "tool", + "label": "add_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_sub_issue", + "kind": "tool", + "label": "add_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_issue", + "kind": "tool", + "label": "create_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:find_duplicate", + "kind": "tool", + "label": "find_duplicate", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_label", + "kind": "tool", + "label": "get_label", + "data": { + "readOnly": true + } + }, + { + "id": "tool:hide_issue_comment", + "kind": "tool", + "label": "hide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_artifact_read", + "kind": "tool", + "label": "issue_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_artifact_write", + "kind": "tool", + "label": "issue_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_dependency_read", + "kind": "tool", + "label": "issue_dependency_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_dependency_write", + "kind": "tool", + "label": "issue_dependency_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:issue_read", + "kind": "tool", + "label": "issue_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:issue_write", + "kind": "tool", + "label": "issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_issue_fields", + "kind": "tool", + "label": "list_issue_fields", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issue_types", + "kind": "tool", + "label": "list_issue_types", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_issues", + "kind": "tool", + "label": "list_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:remove_issue_comment_reaction", + "kind": "tool", + "label": "remove_issue_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_issue_reaction", + "kind": "tool", + "label": "remove_issue_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_sub_issue", + "kind": "tool", + "label": "remove_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:reprioritize_sub_issue", + "kind": "tool", + "label": "reprioritize_sub_issue", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_issues", + "kind": "tool", + "label": "search_issues", + "data": { + "readOnly": true + } + }, + { + "id": "tool:set_issue_fields", + "kind": "tool", + "label": "set_issue_fields", + "data": { + "readOnly": false + } + }, + { + "id": "tool:sub_issue_write", + "kind": "tool", + "label": "sub_issue_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_issue_comment", + "kind": "tool", + "label": "unhide_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_assignees", + "kind": "tool", + "label": "update_issue_assignees", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_body", + "kind": "tool", + "label": "update_issue_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_comment", + "kind": "tool", + "label": "update_issue_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_labels", + "kind": "tool", + "label": "update_issue_labels", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_milestone", + "kind": "tool", + "label": "update_issue_milestone", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_state", + "kind": "tool", + "label": "update_issue_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_title", + "kind": "tool", + "label": "update_issue_title", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_issue_type", + "kind": "tool", + "label": "update_issue_type", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:labels", + "kind": "toolset", + "label": "labels" + }, + { + "id": "tool:label_write", + "kind": "tool", + "label": "label_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_label", + "kind": "tool", + "label": "list_label", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:notifications", + "kind": "toolset", + "label": "notifications" + }, + { + "id": "tool:dismiss_notification", + "kind": "tool", + "label": "dismiss_notification", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_notification_details", + "kind": "tool", + "label": "get_notification_details", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_notifications", + "kind": "tool", + "label": "list_notifications", + "data": { + "readOnly": true + } + }, + { + "id": "tool:manage_notification_subscription", + "kind": "tool", + "label": "manage_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:manage_repository_notification_subscription", + "kind": "tool", + "label": "manage_repository_notification_subscription", + "data": { + "readOnly": false + } + }, + { + "id": "tool:mark_all_notifications_read", + "kind": "tool", + "label": "mark_all_notifications_read", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:orgs", + "kind": "toolset", + "label": "orgs" + }, + { + "id": "tool:search_orgs", + "kind": "tool", + "label": "search_orgs", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:projects", + "kind": "toolset", + "label": "projects" + }, + { + "id": "tool:projects_get", + "kind": "tool", + "label": "projects_get", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_list", + "kind": "tool", + "label": "projects_list", + "data": { + "readOnly": true + } + }, + { + "id": "tool:projects_write", + "kind": "tool", + "label": "projects_write", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:pull_requests", + "kind": "toolset", + "label": "pull_requests" + }, + { + "id": "tool:add_comment_to_pending_review", + "kind": "tool", + "label": "add_comment_to_pending_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment", + "kind": "tool", + "label": "add_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_pull_request_review_comment_reaction", + "kind": "tool", + "label": "add_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:add_reply_to_pull_request_comment", + "kind": "tool", + "label": "add_reply_to_pull_request_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request", + "kind": "tool", + "label": "create_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_pull_request_review", + "kind": "tool", + "label": "create_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_pending_pull_request_review", + "kind": "tool", + "label": "delete_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review", + "kind": "tool", + "label": "hide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:hide_pull_request_review_comment", + "kind": "tool", + "label": "hide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:list_pull_requests", + "kind": "tool", + "label": "list_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:merge_pull_request", + "kind": "tool", + "label": "merge_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_artifact_read", + "kind": "tool", + "label": "pull_request_artifact_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_artifact_write", + "kind": "tool", + "label": "pull_request_artifact_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:pull_request_read", + "kind": "tool", + "label": "pull_request_read", + "data": { + "readOnly": true + } + }, + { + "id": "tool:pull_request_review_write", + "kind": "tool", + "label": "pull_request_review_write", + "data": { + "readOnly": false + } + }, + { + "id": "tool:remove_pull_request_review_comment_reaction", + "kind": "tool", + "label": "remove_pull_request_review_comment_reaction", + "data": { + "readOnly": false + } + }, + { + "id": "tool:request_pull_request_reviewers", + "kind": "tool", + "label": "request_pull_request_reviewers", + "data": { + "readOnly": false + } + }, + { + "id": "tool:resolve_review_thread", + "kind": "tool", + "label": "resolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_pull_requests", + "kind": "tool", + "label": "search_pull_requests", + "data": { + "readOnly": true + } + }, + { + "id": "tool:submit_pending_pull_request_review", + "kind": "tool", + "label": "submit_pending_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review", + "kind": "tool", + "label": "unhide_pull_request_review", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unhide_pull_request_review_comment", + "kind": "tool", + "label": "unhide_pull_request_review_comment", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unresolve_review_thread", + "kind": "tool", + "label": "unresolve_review_thread", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request", + "kind": "tool", + "label": "update_pull_request", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_body", + "kind": "tool", + "label": "update_pull_request_body", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_branch", + "kind": "tool", + "label": "update_pull_request_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_draft_state", + "kind": "tool", + "label": "update_pull_request_draft_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_state", + "kind": "tool", + "label": "update_pull_request_state", + "data": { + "readOnly": false + } + }, + { + "id": "tool:update_pull_request_title", + "kind": "tool", + "label": "update_pull_request_title", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:repos", + "kind": "toolset", + "label": "repos" + }, + { + "id": "tool:create_branch", + "kind": "tool", + "label": "create_branch", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_or_update_file", + "kind": "tool", + "label": "create_or_update_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:create_repository", + "kind": "tool", + "label": "create_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_file", + "kind": "tool", + "label": "delete_file", + "data": { + "readOnly": false + } + }, + { + "id": "tool:delete_repository", + "kind": "tool", + "label": "delete_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:fork_repository", + "kind": "tool", + "label": "fork_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:get_commit", + "kind": "tool", + "label": "get_commit", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_blame", + "kind": "tool", + "label": "get_file_blame", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_file_contents", + "kind": "tool", + "label": "get_file_contents", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_latest_release", + "kind": "tool", + "label": "get_latest_release", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_release_by_tag", + "kind": "tool", + "label": "get_release_by_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:get_tag", + "kind": "tool", + "label": "get_tag", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_branches", + "kind": "tool", + "label": "list_branches", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_commits", + "kind": "tool", + "label": "list_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_releases", + "kind": "tool", + "label": "list_releases", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_collaborators", + "kind": "tool", + "label": "list_repository_collaborators", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_tags", + "kind": "tool", + "label": "list_tags", + "data": { + "readOnly": true + } + }, + { + "id": "tool:push_files", + "kind": "tool", + "label": "push_files", + "data": { + "readOnly": false + } + }, + { + "id": "tool:search_code", + "kind": "tool", + "label": "search_code", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_commits", + "kind": "tool", + "label": "search_commits", + "data": { + "readOnly": true + } + }, + { + "id": "tool:search_repositories", + "kind": "tool", + "label": "search_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:secret_protection", + "kind": "toolset", + "label": "secret_protection" + }, + { + "id": "tool:get_secret_scanning_alert", + "kind": "tool", + "label": "get_secret_scanning_alert", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_secret_scanning_alerts", + "kind": "tool", + "label": "list_secret_scanning_alerts", + "data": { + "readOnly": true + } + }, + { + "id": "tool:update_secret_scanning_alert", + "kind": "tool", + "label": "update_secret_scanning_alert", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:security_advisories", + "kind": "toolset", + "label": "security_advisories" + }, + { + "id": "tool:get_global_security_advisory", + "kind": "tool", + "label": "get_global_security_advisory", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_global_security_advisories", + "kind": "tool", + "label": "list_global_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_org_repository_security_advisories", + "kind": "tool", + "label": "list_org_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:list_repository_security_advisories", + "kind": "tool", + "label": "list_repository_security_advisories", + "data": { + "readOnly": true + } + }, + { + "id": "toolset:stargazers", + "kind": "toolset", + "label": "stargazers" + }, + { + "id": "tool:list_starred_repositories", + "kind": "tool", + "label": "list_starred_repositories", + "data": { + "readOnly": true + } + }, + { + "id": "tool:star_repository", + "kind": "tool", + "label": "star_repository", + "data": { + "readOnly": false + } + }, + { + "id": "tool:unstar_repository", + "kind": "tool", + "label": "unstar_repository", + "data": { + "readOnly": false + } + }, + { + "id": "toolset:users", + "kind": "toolset", + "label": "users" + }, + { + "id": "tool:search_users", + "kind": "tool", + "label": "search_users", + "data": { + "readOnly": true + } + }, + { + "id": "scope:admin:enterprise", + "kind": "scope", + "label": "admin:enterprise" + }, + { + "id": "scope:admin:org", + "kind": "scope", + "label": "admin:org" + }, + { + "id": "scope:delete_repo", + "kind": "scope", + "label": "delete_repo" + }, + { + "id": "scope:gist", + "kind": "scope", + "label": "gist" + }, + { + "id": "scope:notifications", + "kind": "scope", + "label": "notifications" + }, + { + "id": "scope:project", + "kind": "scope", + "label": "project" + }, + { + "id": "scope:read:enterprise", + "kind": "scope", + "label": "read:enterprise" + }, + { + "id": "scope:read:org", + "kind": "scope", + "label": "read:org" + }, + { + "id": "scope:read:project", + "kind": "scope", + "label": "read:project" + }, + { + "id": "scope:repo", + "kind": "scope", + "label": "repo" + }, + { + "id": "scope:security_events", + "kind": "scope", + "label": "security_events" + }, + { + "id": "scope:workflow", + "kind": "scope", + "label": "workflow" + } + ], + "relationships": [ + { + "id": "toolset:actions->tool:actions_get", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_get" + }, + { + "id": "tool:actions_get->scope:repo", + "kind": "requires", + "from": "tool:actions_get", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_list", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_list" + }, + { + "id": "tool:actions_list->scope:repo", + "kind": "requires", + "from": "tool:actions_list", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:actions_run_trigger", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:actions_run_trigger" + }, + { + "id": "tool:actions_run_trigger->scope:repo", + "kind": "requires", + "from": "tool:actions_run_trigger", + "to": "scope:repo" + }, + { + "id": "toolset:actions->tool:get_job_logs", + "kind": "contains", + "from": "toolset:actions", + "to": "tool:get_job_logs" + }, + { + "id": "tool:get_job_logs->scope:repo", + "kind": "requires", + "from": "tool:get_job_logs", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:get_code_quality_finding", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:get_code_quality_finding" + }, + { + "id": "tool:get_code_quality_finding->scope:repo", + "kind": "requires", + "from": "tool:get_code_quality_finding", + "to": "scope:repo" + }, + { + "id": "toolset:code_quality->tool:list_code_quality_findings", + "kind": "contains", + "from": "toolset:code_quality", + "to": "tool:list_code_quality_findings" + }, + { + "id": "tool:list_code_quality_findings->scope:repo", + "kind": "requires", + "from": "tool:list_code_quality_findings", + "to": "scope:repo" + }, + { + "id": "toolset:code_security->tool:get_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:get_code_scanning_alert" + }, + { + "id": "tool:get_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:list_code_scanning_alerts", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:list_code_scanning_alerts" + }, + { + "id": "tool:list_code_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_code_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:code_security->tool:update_code_scanning_alert", + "kind": "contains", + "from": "toolset:code_security", + "to": "tool:update_code_scanning_alert" + }, + { + "id": "tool:update_code_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_code_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:context->tool:get_me", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_me" + }, + { + "id": "toolset:context->tool:get_team_members", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_team_members" + }, + { + "id": "tool:get_team_members->scope:read:org", + "kind": "requires", + "from": "tool:get_team_members", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:get_teams", + "kind": "contains", + "from": "toolset:context", + "to": "tool:get_teams" + }, + { + "id": "tool:get_teams->scope:read:org", + "kind": "requires", + "from": "tool:get_teams", + "to": "scope:read:org" + }, + { + "id": "toolset:context->tool:ui_get", + "kind": "contains", + "from": "toolset:context", + "to": "tool:ui_get" + }, + { + "id": "tool:ui_get->scope:repo", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:repo" + }, + { + "id": "tool:ui_get->scope:read:org", + "kind": "requires", + "from": "tool:ui_get", + "to": "scope:read:org" + }, + { + "id": "toolset:copilot->tool:assign_copilot_to_issue", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:assign_copilot_to_issue" + }, + { + "id": "tool:assign_copilot_to_issue->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue", + "to": "scope:repo" + }, + { + "id": "toolset:copilot->tool:request_copilot_review", + "kind": "contains", + "from": "toolset:copilot", + "to": "tool:request_copilot_review" + }, + { + "id": "tool:request_copilot_review->scope:repo", + "kind": "requires", + "from": "tool:request_copilot_review", + "to": "scope:repo" + }, + { + "id": "toolset:copilot_issue_intents->tool:assign_copilot_to_issue_with_intent", + "kind": "contains", + "from": "toolset:copilot_issue_intents", + "to": "tool:assign_copilot_to_issue_with_intent" + }, + { + "id": "tool:assign_copilot_to_issue_with_intent->scope:repo", + "kind": "requires", + "from": "tool:assign_copilot_to_issue_with_intent", + "to": "scope:repo" + }, + { + "id": "toolset:dependabot->tool:get_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:get_dependabot_alert" + }, + { + "id": "tool:get_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:list_dependabot_alerts", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:list_dependabot_alerts" + }, + { + "id": "tool:list_dependabot_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_dependabot_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:dependabot->tool:update_dependabot_alert", + "kind": "contains", + "from": "toolset:dependabot", + "to": "tool:update_dependabot_alert" + }, + { + "id": "tool:update_dependabot_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_dependabot_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:discussions->tool:discussion_comment_write", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:discussion_comment_write" + }, + { + "id": "tool:discussion_comment_write->scope:repo", + "kind": "requires", + "from": "tool:discussion_comment_write", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion" + }, + { + "id": "tool:get_discussion->scope:repo", + "kind": "requires", + "from": "tool:get_discussion", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:get_discussion_comments", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:get_discussion_comments" + }, + { + "id": "tool:get_discussion_comments->scope:repo", + "kind": "requires", + "from": "tool:get_discussion_comments", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussion_categories", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussion_categories" + }, + { + "id": "tool:list_discussion_categories->scope:repo", + "kind": "requires", + "from": "tool:list_discussion_categories", + "to": "scope:repo" + }, + { + "id": "toolset:discussions->tool:list_discussions", + "kind": "contains", + "from": "toolset:discussions", + "to": "tool:list_discussions" + }, + { + "id": "tool:list_discussions->scope:repo", + "kind": "requires", + "from": "tool:list_discussions", + "to": "scope:repo" + }, + { + "id": "toolset:gists->tool:create_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:create_gist" + }, + { + "id": "tool:create_gist->scope:gist", + "kind": "requires", + "from": "tool:create_gist", + "to": "scope:gist" + }, + { + "id": "toolset:gists->tool:get_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:get_gist" + }, + { + "id": "toolset:gists->tool:list_gists", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:list_gists" + }, + { + "id": "toolset:gists->tool:update_gist", + "kind": "contains", + "from": "toolset:gists", + "to": "tool:update_gist" + }, + { + "id": "tool:update_gist->scope:gist", + "kind": "requires", + "from": "tool:update_gist", + "to": "scope:gist" + }, + { + "id": "toolset:git->tool:get_repository_tree", + "kind": "contains", + "from": "toolset:git", + "to": "tool:get_repository_tree" + }, + { + "id": "tool:get_repository_tree->scope:repo", + "kind": "requires", + "from": "tool:get_repository_tree", + "to": "scope:repo" + }, + { + "id": "toolset:governance->tool:create_repository_ruleset", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:create_repository_ruleset" + }, + { + "id": "tool:create_repository_ruleset->scope:repo", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:repo" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:org", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:org" + }, + { + "id": "tool:create_repository_ruleset->scope:admin:enterprise", + "kind": "requires", + "from": "tool:create_repository_ruleset", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_read" + }, + { + "id": "tool:custom_properties_read->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_read->scope:read:org", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:org" + }, + { + "id": "tool:custom_properties_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:custom_properties_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:governance->tool:custom_properties_write", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:custom_properties_write" + }, + { + "id": "tool:custom_properties_write->scope:repo", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:repo" + }, + { + "id": "tool:custom_properties_write->scope:admin:org", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:org" + }, + { + "id": "tool:custom_properties_write->scope:admin:enterprise", + "kind": "requires", + "from": "tool:custom_properties_write", + "to": "scope:admin:enterprise" + }, + { + "id": "toolset:governance->tool:repository_ruleset_read", + "kind": "contains", + "from": "toolset:governance", + "to": "tool:repository_ruleset_read" + }, + { + "id": "tool:repository_ruleset_read->scope:repo", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:repo" + }, + { + "id": "tool:repository_ruleset_read->scope:read:org", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:org" + }, + { + "id": "tool:repository_ruleset_read->scope:read:enterprise", + "kind": "requires", + "from": "tool:repository_ruleset_read", + "to": "scope:read:enterprise" + }, + { + "id": "toolset:issues->tool:add_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment" + }, + { + "id": "tool:add_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_comment_reaction" + }, + { + "id": "tool:add_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_issue_reaction" + }, + { + "id": "tool:add_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:add_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:add_sub_issue" + }, + { + "id": "tool:add_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:add_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:create_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:create_issue" + }, + { + "id": "tool:create_issue->scope:repo", + "kind": "requires", + "from": "tool:create_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:find_duplicate", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:find_duplicate" + }, + { + "id": "tool:find_duplicate->scope:repo", + "kind": "requires", + "from": "tool:find_duplicate", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:get_label", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:get_label" + }, + { + "id": "tool:get_label->scope:repo", + "kind": "requires", + "from": "tool:get_label", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:hide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:hide_issue_comment" + }, + { + "id": "tool:hide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_read" + }, + { + "id": "tool:issue_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_artifact_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_artifact_write" + }, + { + "id": "tool:issue_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:issue_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_read" + }, + { + "id": "tool:issue_dependency_read->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_dependency_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_dependency_write" + }, + { + "id": "tool:issue_dependency_write->scope:repo", + "kind": "requires", + "from": "tool:issue_dependency_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_read", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_read" + }, + { + "id": "tool:issue_read->scope:repo", + "kind": "requires", + "from": "tool:issue_read", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:issue_write" + }, + { + "id": "tool:issue_write->scope:repo", + "kind": "requires", + "from": "tool:issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:list_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_fields" + }, + { + "id": "tool:list_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_fields->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_fields", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issue_types", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issue_types" + }, + { + "id": "tool:list_issue_types->scope:repo", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:repo" + }, + { + "id": "tool:list_issue_types->scope:read:org", + "kind": "requires", + "from": "tool:list_issue_types", + "to": "scope:read:org" + }, + { + "id": "toolset:issues->tool:list_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:list_issues" + }, + { + "id": "tool:list_issues->scope:repo", + "kind": "requires", + "from": "tool:list_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_comment_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_comment_reaction" + }, + { + "id": "tool:remove_issue_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_issue_reaction", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_issue_reaction" + }, + { + "id": "tool:remove_issue_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_issue_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:remove_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:remove_sub_issue" + }, + { + "id": "tool:remove_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:remove_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:reprioritize_sub_issue", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:reprioritize_sub_issue" + }, + { + "id": "tool:reprioritize_sub_issue->scope:repo", + "kind": "requires", + "from": "tool:reprioritize_sub_issue", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:search_issues", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:search_issues" + }, + { + "id": "tool:search_issues->scope:repo", + "kind": "requires", + "from": "tool:search_issues", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:set_issue_fields", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:set_issue_fields" + }, + { + "id": "tool:set_issue_fields->scope:repo", + "kind": "requires", + "from": "tool:set_issue_fields", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:sub_issue_write", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:sub_issue_write" + }, + { + "id": "tool:sub_issue_write->scope:repo", + "kind": "requires", + "from": "tool:sub_issue_write", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:unhide_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:unhide_issue_comment" + }, + { + "id": "tool:unhide_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_assignees", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_assignees" + }, + { + "id": "tool:update_issue_assignees->scope:repo", + "kind": "requires", + "from": "tool:update_issue_assignees", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_body", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_body" + }, + { + "id": "tool:update_issue_body->scope:repo", + "kind": "requires", + "from": "tool:update_issue_body", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_comment", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_comment" + }, + { + "id": "tool:update_issue_comment->scope:repo", + "kind": "requires", + "from": "tool:update_issue_comment", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_labels", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_labels" + }, + { + "id": "tool:update_issue_labels->scope:repo", + "kind": "requires", + "from": "tool:update_issue_labels", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_milestone", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_milestone" + }, + { + "id": "tool:update_issue_milestone->scope:repo", + "kind": "requires", + "from": "tool:update_issue_milestone", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_state", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_state" + }, + { + "id": "tool:update_issue_state->scope:repo", + "kind": "requires", + "from": "tool:update_issue_state", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_title", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_title" + }, + { + "id": "tool:update_issue_title->scope:repo", + "kind": "requires", + "from": "tool:update_issue_title", + "to": "scope:repo" + }, + { + "id": "toolset:issues->tool:update_issue_type", + "kind": "contains", + "from": "toolset:issues", + "to": "tool:update_issue_type" + }, + { + "id": "tool:update_issue_type->scope:repo", + "kind": "requires", + "from": "tool:update_issue_type", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:get_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:get_label" + }, + { + "id": "toolset:labels->tool:label_write", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:label_write" + }, + { + "id": "tool:label_write->scope:repo", + "kind": "requires", + "from": "tool:label_write", + "to": "scope:repo" + }, + { + "id": "toolset:labels->tool:list_label", + "kind": "contains", + "from": "toolset:labels", + "to": "tool:list_label" + }, + { + "id": "tool:list_label->scope:repo", + "kind": "requires", + "from": "tool:list_label", + "to": "scope:repo" + }, + { + "id": "toolset:notifications->tool:dismiss_notification", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:dismiss_notification" + }, + { + "id": "tool:dismiss_notification->scope:notifications", + "kind": "requires", + "from": "tool:dismiss_notification", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:get_notification_details", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:get_notification_details" + }, + { + "id": "tool:get_notification_details->scope:notifications", + "kind": "requires", + "from": "tool:get_notification_details", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:list_notifications", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:list_notifications" + }, + { + "id": "tool:list_notifications->scope:notifications", + "kind": "requires", + "from": "tool:list_notifications", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_notification_subscription" + }, + { + "id": "tool:manage_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:manage_repository_notification_subscription", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:manage_repository_notification_subscription" + }, + { + "id": "tool:manage_repository_notification_subscription->scope:notifications", + "kind": "requires", + "from": "tool:manage_repository_notification_subscription", + "to": "scope:notifications" + }, + { + "id": "toolset:notifications->tool:mark_all_notifications_read", + "kind": "contains", + "from": "toolset:notifications", + "to": "tool:mark_all_notifications_read" + }, + { + "id": "tool:mark_all_notifications_read->scope:notifications", + "kind": "requires", + "from": "tool:mark_all_notifications_read", + "to": "scope:notifications" + }, + { + "id": "toolset:orgs->tool:search_orgs", + "kind": "contains", + "from": "toolset:orgs", + "to": "tool:search_orgs" + }, + { + "id": "tool:search_orgs->scope:read:org", + "kind": "requires", + "from": "tool:search_orgs", + "to": "scope:read:org" + }, + { + "id": "toolset:projects->tool:projects_get", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_get" + }, + { + "id": "tool:projects_get->scope:read:project", + "kind": "requires", + "from": "tool:projects_get", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_list", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_list" + }, + { + "id": "tool:projects_list->scope:read:project", + "kind": "requires", + "from": "tool:projects_list", + "to": "scope:read:project" + }, + { + "id": "toolset:projects->tool:projects_write", + "kind": "contains", + "from": "toolset:projects", + "to": "tool:projects_write" + }, + { + "id": "tool:projects_write->scope:project", + "kind": "requires", + "from": "tool:projects_write", + "to": "scope:project" + }, + { + "id": "toolset:pull_requests->tool:add_comment_to_pending_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_comment_to_pending_review" + }, + { + "id": "tool:add_comment_to_pending_review->scope:repo", + "kind": "requires", + "from": "tool:add_comment_to_pending_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment" + }, + { + "id": "tool:add_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_pull_request_review_comment_reaction" + }, + { + "id": "tool:add_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:add_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:add_reply_to_pull_request_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:add_reply_to_pull_request_comment" + }, + { + "id": "tool:add_reply_to_pull_request_comment->scope:repo", + "kind": "requires", + "from": "tool:add_reply_to_pull_request_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request" + }, + { + "id": "tool:create_pull_request->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:create_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:create_pull_request_review" + }, + { + "id": "tool:create_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:create_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:delete_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:delete_pending_pull_request_review" + }, + { + "id": "tool:delete_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:delete_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review" + }, + { + "id": "tool:hide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:hide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:hide_pull_request_review_comment" + }, + { + "id": "tool:hide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:hide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:list_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:list_pull_requests" + }, + { + "id": "tool:list_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:list_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:merge_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:merge_pull_request" + }, + { + "id": "tool:merge_pull_request->scope:repo", + "kind": "requires", + "from": "tool:merge_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_read" + }, + { + "id": "tool:pull_request_artifact_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_artifact_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_artifact_write" + }, + { + "id": "tool:pull_request_artifact_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_artifact_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_read", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_read" + }, + { + "id": "tool:pull_request_read->scope:repo", + "kind": "requires", + "from": "tool:pull_request_read", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:pull_request_review_write", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:pull_request_review_write" + }, + { + "id": "tool:pull_request_review_write->scope:repo", + "kind": "requires", + "from": "tool:pull_request_review_write", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:remove_pull_request_review_comment_reaction", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:remove_pull_request_review_comment_reaction" + }, + { + "id": "tool:remove_pull_request_review_comment_reaction->scope:repo", + "kind": "requires", + "from": "tool:remove_pull_request_review_comment_reaction", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:request_pull_request_reviewers", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:request_pull_request_reviewers" + }, + { + "id": "tool:request_pull_request_reviewers->scope:repo", + "kind": "requires", + "from": "tool:request_pull_request_reviewers", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:resolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:resolve_review_thread" + }, + { + "id": "tool:resolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:resolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:search_pull_requests", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:search_pull_requests" + }, + { + "id": "tool:search_pull_requests->scope:repo", + "kind": "requires", + "from": "tool:search_pull_requests", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:submit_pending_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:submit_pending_pull_request_review" + }, + { + "id": "tool:submit_pending_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:submit_pending_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review" + }, + { + "id": "tool:unhide_pull_request_review->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unhide_pull_request_review_comment", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unhide_pull_request_review_comment" + }, + { + "id": "tool:unhide_pull_request_review_comment->scope:repo", + "kind": "requires", + "from": "tool:unhide_pull_request_review_comment", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:unresolve_review_thread", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:unresolve_review_thread" + }, + { + "id": "tool:unresolve_review_thread->scope:repo", + "kind": "requires", + "from": "tool:unresolve_review_thread", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request" + }, + { + "id": "tool:update_pull_request->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_body", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_body" + }, + { + "id": "tool:update_pull_request_body->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_body", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_branch", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_branch" + }, + { + "id": "tool:update_pull_request_branch->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_branch", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_draft_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_draft_state" + }, + { + "id": "tool:update_pull_request_draft_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_draft_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_state", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_state" + }, + { + "id": "tool:update_pull_request_state->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_state", + "to": "scope:repo" + }, + { + "id": "toolset:pull_requests->tool:update_pull_request_title", + "kind": "contains", + "from": "toolset:pull_requests", + "to": "tool:update_pull_request_title" + }, + { + "id": "tool:update_pull_request_title->scope:repo", + "kind": "requires", + "from": "tool:update_pull_request_title", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_branch", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_branch" + }, + { + "id": "tool:create_branch->scope:repo", + "kind": "requires", + "from": "tool:create_branch", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:create_or_update_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_or_update_file" + }, + { + "id": "tool:create_or_update_file->scope:repo", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:repo" + }, + { + "id": "tool:create_or_update_file->scope:workflow", + "kind": "requires", + "from": "tool:create_or_update_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:create_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:create_repository" + }, + { + "id": "tool:create_repository->scope:repo", + "kind": "requires", + "from": "tool:create_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:delete_file", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_file" + }, + { + "id": "tool:delete_file->scope:repo", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:repo" + }, + { + "id": "tool:delete_file->scope:workflow", + "kind": "requires", + "from": "tool:delete_file", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:delete_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:delete_repository" + }, + { + "id": "tool:delete_repository->scope:delete_repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:delete_repo" + }, + { + "id": "tool:delete_repository->scope:repo", + "kind": "requires", + "from": "tool:delete_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:fork_repository", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:fork_repository" + }, + { + "id": "tool:fork_repository->scope:repo", + "kind": "requires", + "from": "tool:fork_repository", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_commit", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_commit" + }, + { + "id": "tool:get_commit->scope:repo", + "kind": "requires", + "from": "tool:get_commit", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_blame", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_blame" + }, + { + "id": "tool:get_file_blame->scope:repo", + "kind": "requires", + "from": "tool:get_file_blame", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_file_contents", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_file_contents" + }, + { + "id": "tool:get_file_contents->scope:repo", + "kind": "requires", + "from": "tool:get_file_contents", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_latest_release", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_latest_release" + }, + { + "id": "tool:get_latest_release->scope:repo", + "kind": "requires", + "from": "tool:get_latest_release", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_release_by_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_release_by_tag" + }, + { + "id": "tool:get_release_by_tag->scope:repo", + "kind": "requires", + "from": "tool:get_release_by_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:get_tag", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:get_tag" + }, + { + "id": "tool:get_tag->scope:repo", + "kind": "requires", + "from": "tool:get_tag", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_branches", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_branches" + }, + { + "id": "tool:list_branches->scope:repo", + "kind": "requires", + "from": "tool:list_branches", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_commits" + }, + { + "id": "tool:list_commits->scope:repo", + "kind": "requires", + "from": "tool:list_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_releases", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_releases" + }, + { + "id": "tool:list_releases->scope:repo", + "kind": "requires", + "from": "tool:list_releases", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_repository_collaborators", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_repository_collaborators" + }, + { + "id": "tool:list_repository_collaborators->scope:repo", + "kind": "requires", + "from": "tool:list_repository_collaborators", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:list_tags", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:list_tags" + }, + { + "id": "tool:list_tags->scope:repo", + "kind": "requires", + "from": "tool:list_tags", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:push_files", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:push_files" + }, + { + "id": "tool:push_files->scope:repo", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:repo" + }, + { + "id": "tool:push_files->scope:workflow", + "kind": "requires", + "from": "tool:push_files", + "to": "scope:workflow" + }, + { + "id": "toolset:repos->tool:search_code", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_code" + }, + { + "id": "tool:search_code->scope:repo", + "kind": "requires", + "from": "tool:search_code", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_commits", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_commits" + }, + { + "id": "tool:search_commits->scope:repo", + "kind": "requires", + "from": "tool:search_commits", + "to": "scope:repo" + }, + { + "id": "toolset:repos->tool:search_repositories", + "kind": "contains", + "from": "toolset:repos", + "to": "tool:search_repositories" + }, + { + "id": "tool:search_repositories->scope:repo", + "kind": "requires", + "from": "tool:search_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:secret_protection->tool:get_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:get_secret_scanning_alert" + }, + { + "id": "tool:get_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:get_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:list_secret_scanning_alerts", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:list_secret_scanning_alerts" + }, + { + "id": "tool:list_secret_scanning_alerts->scope:security_events", + "kind": "requires", + "from": "tool:list_secret_scanning_alerts", + "to": "scope:security_events" + }, + { + "id": "toolset:secret_protection->tool:update_secret_scanning_alert", + "kind": "contains", + "from": "toolset:secret_protection", + "to": "tool:update_secret_scanning_alert" + }, + { + "id": "tool:update_secret_scanning_alert->scope:security_events", + "kind": "requires", + "from": "tool:update_secret_scanning_alert", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:get_global_security_advisory", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:get_global_security_advisory" + }, + { + "id": "tool:get_global_security_advisory->scope:security_events", + "kind": "requires", + "from": "tool:get_global_security_advisory", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_global_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_global_security_advisories" + }, + { + "id": "tool:list_global_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_global_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_org_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_org_repository_security_advisories" + }, + { + "id": "tool:list_org_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_org_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:security_advisories->tool:list_repository_security_advisories", + "kind": "contains", + "from": "toolset:security_advisories", + "to": "tool:list_repository_security_advisories" + }, + { + "id": "tool:list_repository_security_advisories->scope:security_events", + "kind": "requires", + "from": "tool:list_repository_security_advisories", + "to": "scope:security_events" + }, + { + "id": "toolset:stargazers->tool:list_starred_repositories", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:list_starred_repositories" + }, + { + "id": "tool:list_starred_repositories->scope:repo", + "kind": "requires", + "from": "tool:list_starred_repositories", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:star_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:star_repository" + }, + { + "id": "tool:star_repository->scope:repo", + "kind": "requires", + "from": "tool:star_repository", + "to": "scope:repo" + }, + { + "id": "toolset:stargazers->tool:unstar_repository", + "kind": "contains", + "from": "toolset:stargazers", + "to": "tool:unstar_repository" + }, + { + "id": "tool:unstar_repository->scope:repo", + "kind": "requires", + "from": "tool:unstar_repository", + "to": "scope:repo" + }, + { + "id": "toolset:users->tool:search_users", + "kind": "contains", + "from": "toolset:users", + "to": "tool:search_users" + }, + { + "id": "tool:search_users->scope:repo", + "kind": "requires", + "from": "tool:search_users", + "to": "scope:repo" + } + ] +} diff --git a/packages/renderers/graph/fixtures/module-graph-large-after.json b/packages/renderers/graph/fixtures/module-graph-large-after.json new file mode 100644 index 000000000..8b8e65149 --- /dev/null +++ b/packages/renderers/graph/fixtures/module-graph-large-after.json @@ -0,0 +1,915 @@ +{ + "protocolVersion": 0, + "schema": "graph/v0", + "entities": [ + {"id":"AppAccounts","kind":"module","label":"AppAccounts"}, + {"id":"AppClipboard","kind":"module","label":"AppClipboard"}, + {"id":"AppContacts","kind":"module","label":"AppContacts"}, + {"id":"AppNotes","kind":"module","label":"AppNotes"}, + {"id":"AppSettings","kind":"module","label":"AppSettings"}, + {"id":"AppUpdates","kind":"module","label":"AppUpdates"}, + {"id":"BaseAccounts","kind":"module","label":"BaseAccounts"}, + {"id":"BaseAccounts54","kind":"module","label":"BaseAccounts54"}, + {"id":"BaseActions","kind":"module","label":"BaseActions"}, + {"id":"BaseActions37","kind":"module","label":"BaseActions37"}, + {"id":"BaseAnalytics","kind":"module","label":"BaseAnalytics"}, + {"id":"BaseAnalytics50","kind":"module","label":"BaseAnalytics50"}, + {"id":"BaseBilling","kind":"module","label":"BaseBilling"}, + {"id":"BaseBilling33","kind":"module","label":"BaseBilling33"}, + {"id":"BaseCatalog","kind":"module","label":"BaseCatalog"}, + {"id":"BaseCatalog46","kind":"module","label":"BaseCatalog46"}, + {"id":"BaseClipboard","kind":"module","label":"BaseClipboard"}, + {"id":"BaseCommands","kind":"module","label":"BaseCommands"}, + {"id":"BaseCommands42","kind":"module","label":"BaseCommands42"}, + {"id":"BaseContacts","kind":"module","label":"BaseContacts"}, + {"id":"BaseContacts55","kind":"module","label":"BaseContacts55"}, + {"id":"BaseDocuments","kind":"module","label":"BaseDocuments"}, + {"id":"BaseDocuments38","kind":"module","label":"BaseDocuments38"}, + {"id":"BaseExtensions","kind":"module","label":"BaseExtensions"}, + {"id":"BaseExtensions51","kind":"module","label":"BaseExtensions51"}, + {"id":"BaseFavorites","kind":"module","label":"BaseFavorites"}, + {"id":"BaseFavorites34","kind":"module","label":"BaseFavorites34"}, + {"id":"BaseFiles","kind":"module","label":"BaseFiles"}, + {"id":"BaseFiles47","kind":"module","label":"BaseFiles47"}, + {"id":"BaseIndexing","kind":"module","label":"BaseIndexing"}, + {"id":"BaseIndexing30","kind":"module","label":"BaseIndexing30"}, + {"id":"BaseLicensing","kind":"module","label":"BaseLicensing"}, + {"id":"BaseLicensing43","kind":"module","label":"BaseLicensing43"}, + {"id":"BaseNotes","kind":"module","label":"BaseNotes"}, + {"id":"BaseNotes56","kind":"module","label":"BaseNotes56"}, + {"id":"BaseOnboarding","kind":"module","label":"BaseOnboarding"}, + {"id":"BaseOnboarding39","kind":"module","label":"BaseOnboarding39"}, + {"id":"BasePreferences","kind":"module","label":"BasePreferences"}, + {"id":"BasePreferences52","kind":"module","label":"BasePreferences52"}, + {"id":"BasePreviews","kind":"module","label":"BasePreviews"}, + {"id":"BasePreviews35","kind":"module","label":"BasePreviews35"}, + {"id":"BaseRanking","kind":"module","label":"BaseRanking"}, + {"id":"BaseRanking48","kind":"module","label":"BaseRanking48"}, + {"id":"BaseReminders","kind":"module","label":"BaseReminders"}, + {"id":"BaseReminders31","kind":"module","label":"BaseReminders31"}, + {"id":"BaseSearch","kind":"module","label":"BaseSearch"}, + {"id":"BaseSearch44","kind":"module","label":"BaseSearch44"}, + {"id":"BaseSettings","kind":"module","label":"BaseSettings"}, + {"id":"BaseSettings57","kind":"module","label":"BaseSettings57"}, + {"id":"BaseShortcuts","kind":"module","label":"BaseShortcuts"}, + {"id":"BaseShortcuts40","kind":"module","label":"BaseShortcuts40"}, + {"id":"BaseSnippets","kind":"module","label":"BaseSnippets"}, + {"id":"BaseSnippets53","kind":"module","label":"BaseSnippets53"}, + {"id":"BaseStorage","kind":"module","label":"BaseStorage"}, + {"id":"BaseStorage36","kind":"module","label":"BaseStorage36"}, + {"id":"BaseSync","kind":"module","label":"BaseSync"}, + {"id":"BaseSync49","kind":"module","label":"BaseSync49"}, + {"id":"BaseTelemetry","kind":"module","label":"BaseTelemetry"}, + {"id":"BaseTelemetry32","kind":"module","label":"BaseTelemetry32"}, + {"id":"BaseThemes","kind":"module","label":"BaseThemes"}, + {"id":"BaseThemes45","kind":"module","label":"BaseThemes45"}, + {"id":"BaseUpdates","kind":"module","label":"BaseUpdates"}, + {"id":"BaseUpdates58","kind":"module","label":"BaseUpdates58"}, + {"id":"BaseWindows","kind":"module","label":"BaseWindows"}, + {"id":"BaseWindows41","kind":"module","label":"BaseWindows41"}, + {"id":"CoreAccounts","kind":"module","label":"CoreAccounts"}, + {"id":"CoreAccounts33","kind":"module","label":"CoreAccounts33"}, + {"id":"CoreAccounts63","kind":"module","label":"CoreAccounts63"}, + {"id":"CoreAccounts93","kind":"module","label":"CoreAccounts93"}, + {"id":"CoreActions","kind":"module","label":"CoreActions"}, + {"id":"CoreActions46","kind":"module","label":"CoreActions46"}, + {"id":"CoreActions76","kind":"module","label":"CoreActions76"}, + {"id":"CoreAnalytics","kind":"module","label":"CoreAnalytics"}, + {"id":"CoreAnalytics59","kind":"module","label":"CoreAnalytics59"}, + {"id":"CoreAnalytics89","kind":"module","label":"CoreAnalytics89"}, + {"id":"CoreBilling","kind":"module","label":"CoreBilling"}, + {"id":"CoreBilling42","kind":"module","label":"CoreBilling42"}, + {"id":"CoreBilling72","kind":"module","label":"CoreBilling72"}, + {"id":"CoreCatalog","kind":"module","label":"CoreCatalog"}, + {"id":"CoreCatalog55","kind":"module","label":"CoreCatalog55"}, + {"id":"CoreCatalog85","kind":"module","label":"CoreCatalog85"}, + {"id":"CoreClipboard","kind":"module","label":"CoreClipboard"}, + {"id":"CoreClipboard38","kind":"module","label":"CoreClipboard38"}, + {"id":"CoreClipboard68","kind":"module","label":"CoreClipboard68"}, + {"id":"CoreClipboard98","kind":"module","label":"CoreClipboard98"}, + {"id":"CoreCommands","kind":"module","label":"CoreCommands"}, + {"id":"CoreCommands51","kind":"module","label":"CoreCommands51"}, + {"id":"CoreCommands81","kind":"module","label":"CoreCommands81"}, + {"id":"CoreContacts","kind":"module","label":"CoreContacts"}, + {"id":"CoreContacts34","kind":"module","label":"CoreContacts34"}, + {"id":"CoreContacts64","kind":"module","label":"CoreContacts64"}, + {"id":"CoreContacts94","kind":"module","label":"CoreContacts94"}, + {"id":"CoreDocuments","kind":"module","label":"CoreDocuments"}, + {"id":"CoreDocuments47","kind":"module","label":"CoreDocuments47"}, + {"id":"CoreDocuments77","kind":"module","label":"CoreDocuments77"}, + {"id":"CoreExtensions","kind":"module","label":"CoreExtensions"}, + {"id":"CoreExtensions30","kind":"module","label":"CoreExtensions30"}, + {"id":"CoreExtensions60","kind":"module","label":"CoreExtensions60"}, + {"id":"CoreExtensions90","kind":"module","label":"CoreExtensions90"}, + {"id":"CoreFavorites","kind":"module","label":"CoreFavorites"}, + {"id":"CoreFavorites43","kind":"module","label":"CoreFavorites43"}, + {"id":"CoreFavorites73","kind":"module","label":"CoreFavorites73"}, + {"id":"CoreFiles","kind":"module","label":"CoreFiles"}, + {"id":"CoreFiles56","kind":"module","label":"CoreFiles56"}, + {"id":"CoreFiles86","kind":"module","label":"CoreFiles86"}, + {"id":"CoreIndexing","kind":"module","label":"CoreIndexing"}, + {"id":"CoreIndexing39","kind":"module","label":"CoreIndexing39"}, + {"id":"CoreIndexing69","kind":"module","label":"CoreIndexing69"}, + {"id":"CoreIndexing99","kind":"module","label":"CoreIndexing99"}, + {"id":"CoreLicensing","kind":"module","label":"CoreLicensing"}, + {"id":"CoreLicensing52","kind":"module","label":"CoreLicensing52"}, + {"id":"CoreLicensing82","kind":"module","label":"CoreLicensing82"}, + {"id":"CoreNotes","kind":"module","label":"CoreNotes"}, + {"id":"CoreNotes35","kind":"module","label":"CoreNotes35"}, + {"id":"CoreNotes65","kind":"module","label":"CoreNotes65"}, + {"id":"CoreNotes95","kind":"module","label":"CoreNotes95"}, + {"id":"CoreOnboarding","kind":"module","label":"CoreOnboarding"}, + {"id":"CoreOnboarding48","kind":"module","label":"CoreOnboarding48"}, + {"id":"CoreOnboarding78","kind":"module","label":"CoreOnboarding78"}, + {"id":"CorePreferences","kind":"module","label":"CorePreferences"}, + {"id":"CorePreferences31","kind":"module","label":"CorePreferences31"}, + {"id":"CorePreferences61","kind":"module","label":"CorePreferences61"}, + {"id":"CorePreferences91","kind":"module","label":"CorePreferences91"}, + {"id":"CorePreviews","kind":"module","label":"CorePreviews"}, + {"id":"CorePreviews44","kind":"module","label":"CorePreviews44"}, + {"id":"CorePreviews74","kind":"module","label":"CorePreviews74"}, + {"id":"CoreRanking","kind":"module","label":"CoreRanking"}, + {"id":"CoreRanking57","kind":"module","label":"CoreRanking57"}, + {"id":"CoreRanking87","kind":"module","label":"CoreRanking87"}, + {"id":"CoreReminders","kind":"module","label":"CoreReminders"}, + {"id":"CoreReminders40","kind":"module","label":"CoreReminders40"}, + {"id":"CoreReminders70","kind":"module","label":"CoreReminders70"}, + {"id":"CoreSearch","kind":"module","label":"CoreSearch"}, + {"id":"CoreSearch53","kind":"module","label":"CoreSearch53"}, + {"id":"CoreSearch83","kind":"module","label":"CoreSearch83"}, + {"id":"CoreSettings","kind":"module","label":"CoreSettings"}, + {"id":"CoreSettings36","kind":"module","label":"CoreSettings36"}, + {"id":"CoreSettings66","kind":"module","label":"CoreSettings66"}, + {"id":"CoreSettings96","kind":"module","label":"CoreSettings96"}, + {"id":"CoreShortcuts","kind":"module","label":"CoreShortcuts"}, + {"id":"CoreShortcuts49","kind":"module","label":"CoreShortcuts49"}, + {"id":"CoreShortcuts79","kind":"module","label":"CoreShortcuts79"}, + {"id":"CoreSnippets","kind":"module","label":"CoreSnippets"}, + {"id":"CoreSnippets32","kind":"module","label":"CoreSnippets32"}, + {"id":"CoreSnippets62","kind":"module","label":"CoreSnippets62"}, + {"id":"CoreSnippets92","kind":"module","label":"CoreSnippets92"}, + {"id":"CoreStorage","kind":"module","label":"CoreStorage"}, + {"id":"CoreStorage45","kind":"module","label":"CoreStorage45"}, + {"id":"CoreStorage75","kind":"module","label":"CoreStorage75"}, + {"id":"CoreSync","kind":"module","label":"CoreSync"}, + {"id":"CoreSync58","kind":"module","label":"CoreSync58"}, + {"id":"CoreSync88","kind":"module","label":"CoreSync88"}, + {"id":"CoreTelemetry","kind":"module","label":"CoreTelemetry"}, + {"id":"CoreTelemetry41","kind":"module","label":"CoreTelemetry41"}, + {"id":"CoreTelemetry71","kind":"module","label":"CoreTelemetry71"}, + {"id":"CoreThemes","kind":"module","label":"CoreThemes"}, + {"id":"CoreThemes54","kind":"module","label":"CoreThemes54"}, + {"id":"CoreThemes84","kind":"module","label":"CoreThemes84"}, + {"id":"CoreUpdates","kind":"module","label":"CoreUpdates"}, + {"id":"CoreUpdates37","kind":"module","label":"CoreUpdates37"}, + {"id":"CoreUpdates67","kind":"module","label":"CoreUpdates67"}, + {"id":"CoreUpdates97","kind":"module","label":"CoreUpdates97"}, + {"id":"CoreWindows","kind":"module","label":"CoreWindows"}, + {"id":"CoreWindows50","kind":"module","label":"CoreWindows50"}, + {"id":"CoreWindows80","kind":"module","label":"CoreWindows80"}, + {"id":"FeatureAccounts","kind":"module","label":"FeatureAccounts"}, + {"id":"FeatureActions","kind":"module","label":"FeatureActions"}, + {"id":"FeatureActions34","kind":"module","label":"FeatureActions34"}, + {"id":"FeatureAnalytics","kind":"module","label":"FeatureAnalytics"}, + {"id":"FeatureBilling","kind":"module","label":"FeatureBilling"}, + {"id":"FeatureBilling30","kind":"module","label":"FeatureBilling30"}, + {"id":"FeatureCatalog","kind":"module","label":"FeatureCatalog"}, + {"id":"FeatureClipboard","kind":"module","label":"FeatureClipboard"}, + {"id":"FeatureCommands","kind":"module","label":"FeatureCommands"}, + {"id":"FeatureCommands39","kind":"module","label":"FeatureCommands39"}, + {"id":"FeatureContacts","kind":"module","label":"FeatureContacts"}, + {"id":"FeatureDocuments","kind":"module","label":"FeatureDocuments"}, + {"id":"FeatureDocuments35","kind":"module","label":"FeatureDocuments35"}, + {"id":"FeatureExtensions","kind":"module","label":"FeatureExtensions"}, + {"id":"FeatureFavorites","kind":"module","label":"FeatureFavorites"}, + {"id":"FeatureFavorites31","kind":"module","label":"FeatureFavorites31"}, + {"id":"FeatureFiles","kind":"module","label":"FeatureFiles"}, + {"id":"FeatureIndexing","kind":"module","label":"FeatureIndexing"}, + {"id":"FeatureLicensing","kind":"module","label":"FeatureLicensing"}, + {"id":"FeatureNotes","kind":"module","label":"FeatureNotes"}, + {"id":"FeatureOnboarding","kind":"module","label":"FeatureOnboarding"}, + {"id":"FeatureOnboarding36","kind":"module","label":"FeatureOnboarding36"}, + {"id":"FeaturePreferences","kind":"module","label":"FeaturePreferences"}, + {"id":"FeaturePreviews","kind":"module","label":"FeaturePreviews"}, + {"id":"FeaturePreviews32","kind":"module","label":"FeaturePreviews32"}, + {"id":"FeatureQuickLook","kind":"module","label":"FeatureQuickLook"}, + {"id":"FeatureRanking","kind":"module","label":"FeatureRanking"}, + {"id":"FeatureReminders","kind":"module","label":"FeatureReminders"}, + {"id":"FeatureSearch","kind":"module","label":"FeatureSearch"}, + {"id":"FeatureSettings","kind":"module","label":"FeatureSettings"}, + {"id":"FeatureShortcuts","kind":"module","label":"FeatureShortcuts"}, + {"id":"FeatureShortcuts37","kind":"module","label":"FeatureShortcuts37"}, + {"id":"FeatureSnippets","kind":"module","label":"FeatureSnippets"}, + {"id":"FeatureStorage","kind":"module","label":"FeatureStorage"}, + {"id":"FeatureStorage33","kind":"module","label":"FeatureStorage33"}, + {"id":"FeatureSync","kind":"module","label":"FeatureSync"}, + {"id":"FeatureTelemetry","kind":"module","label":"FeatureTelemetry"}, + {"id":"FeatureThemes","kind":"module","label":"FeatureThemes"}, + {"id":"FeatureUpdates","kind":"module","label":"FeatureUpdates"}, + {"id":"FeatureWindows","kind":"module","label":"FeatureWindows"}, + {"id":"FeatureWindows38","kind":"module","label":"FeatureWindows38"}, + {"id":"KitAccounts","kind":"module","label":"KitAccounts"}, + {"id":"KitAccounts42","kind":"module","label":"KitAccounts42"}, + {"id":"KitAccounts72","kind":"module","label":"KitAccounts72"}, + {"id":"KitActions","kind":"module","label":"KitActions"}, + {"id":"KitActions55","kind":"module","label":"KitActions55"}, + {"id":"KitActions85","kind":"module","label":"KitActions85"}, + {"id":"KitAnalytics","kind":"module","label":"KitAnalytics"}, + {"id":"KitAnalytics38","kind":"module","label":"KitAnalytics38"}, + {"id":"KitAnalytics68","kind":"module","label":"KitAnalytics68"}, + {"id":"KitBilling","kind":"module","label":"KitBilling"}, + {"id":"KitBilling51","kind":"module","label":"KitBilling51"}, + {"id":"KitBilling81","kind":"module","label":"KitBilling81"}, + {"id":"KitCatalog","kind":"module","label":"KitCatalog"}, + {"id":"KitCatalog34","kind":"module","label":"KitCatalog34"}, + {"id":"KitCatalog64","kind":"module","label":"KitCatalog64"}, + {"id":"KitClipboard","kind":"module","label":"KitClipboard"}, + {"id":"KitClipboard47","kind":"module","label":"KitClipboard47"}, + {"id":"KitClipboard77","kind":"module","label":"KitClipboard77"}, + {"id":"KitCommands","kind":"module","label":"KitCommands"}, + {"id":"KitCommands30","kind":"module","label":"KitCommands30"}, + {"id":"KitCommands60","kind":"module","label":"KitCommands60"}, + {"id":"KitContacts","kind":"module","label":"KitContacts"}, + {"id":"KitContacts43","kind":"module","label":"KitContacts43"}, + {"id":"KitContacts73","kind":"module","label":"KitContacts73"}, + {"id":"KitDocuments","kind":"module","label":"KitDocuments"}, + {"id":"KitDocuments56","kind":"module","label":"KitDocuments56"}, + {"id":"KitDocuments86","kind":"module","label":"KitDocuments86"}, + {"id":"KitExtensions","kind":"module","label":"KitExtensions"}, + {"id":"KitExtensions39","kind":"module","label":"KitExtensions39"}, + {"id":"KitExtensions69","kind":"module","label":"KitExtensions69"}, + {"id":"KitFavorites","kind":"module","label":"KitFavorites"}, + {"id":"KitFavorites52","kind":"module","label":"KitFavorites52"}, + {"id":"KitFavorites82","kind":"module","label":"KitFavorites82"}, + {"id":"KitFiles","kind":"module","label":"KitFiles"}, + {"id":"KitFiles35","kind":"module","label":"KitFiles35"}, + {"id":"KitFiles65","kind":"module","label":"KitFiles65"}, + {"id":"KitIndexing","kind":"module","label":"KitIndexing"}, + {"id":"KitIndexing48","kind":"module","label":"KitIndexing48"}, + {"id":"KitIndexing78","kind":"module","label":"KitIndexing78"}, + {"id":"KitLicensing","kind":"module","label":"KitLicensing"}, + {"id":"KitLicensing31","kind":"module","label":"KitLicensing31"}, + {"id":"KitLicensing61","kind":"module","label":"KitLicensing61"}, + {"id":"KitNotes","kind":"module","label":"KitNotes"}, + {"id":"KitNotes44","kind":"module","label":"KitNotes44"}, + {"id":"KitNotes74","kind":"module","label":"KitNotes74"}, + {"id":"KitOnboarding","kind":"module","label":"KitOnboarding"}, + {"id":"KitOnboarding57","kind":"module","label":"KitOnboarding57"}, + {"id":"KitOnboarding87","kind":"module","label":"KitOnboarding87"}, + {"id":"KitPreferences","kind":"module","label":"KitPreferences"}, + {"id":"KitPreferences40","kind":"module","label":"KitPreferences40"}, + {"id":"KitPreferences70","kind":"module","label":"KitPreferences70"}, + {"id":"KitPreviews","kind":"module","label":"KitPreviews"}, + {"id":"KitPreviews53","kind":"module","label":"KitPreviews53"}, + {"id":"KitPreviews83","kind":"module","label":"KitPreviews83"}, + {"id":"KitRanking","kind":"module","label":"KitRanking"}, + {"id":"KitRanking36","kind":"module","label":"KitRanking36"}, + {"id":"KitRanking66","kind":"module","label":"KitRanking66"}, + {"id":"KitReminders","kind":"module","label":"KitReminders"}, + {"id":"KitReminders49","kind":"module","label":"KitReminders49"}, + {"id":"KitReminders79","kind":"module","label":"KitReminders79"}, + {"id":"KitSearch","kind":"module","label":"KitSearch"}, + {"id":"KitSearch32","kind":"module","label":"KitSearch32"}, + {"id":"KitSearch62","kind":"module","label":"KitSearch62"}, + {"id":"KitSettings","kind":"module","label":"KitSettings"}, + {"id":"KitSettings45","kind":"module","label":"KitSettings45"}, + {"id":"KitSettings75","kind":"module","label":"KitSettings75"}, + {"id":"KitShortcuts","kind":"module","label":"KitShortcuts"}, + {"id":"KitShortcuts58","kind":"module","label":"KitShortcuts58"}, + {"id":"KitShortcuts88","kind":"module","label":"KitShortcuts88"}, + {"id":"KitSnippets","kind":"module","label":"KitSnippets"}, + {"id":"KitSnippets41","kind":"module","label":"KitSnippets41"}, + {"id":"KitSnippets71","kind":"module","label":"KitSnippets71"}, + {"id":"KitStorage","kind":"module","label":"KitStorage"}, + {"id":"KitStorage54","kind":"module","label":"KitStorage54"}, + {"id":"KitStorage84","kind":"module","label":"KitStorage84"}, + {"id":"KitSync","kind":"module","label":"KitSync"}, + {"id":"KitSync37","kind":"module","label":"KitSync37"}, + {"id":"KitSync67","kind":"module","label":"KitSync67"}, + {"id":"KitTelemetry","kind":"module","label":"KitTelemetry"}, + {"id":"KitTelemetry50","kind":"module","label":"KitTelemetry50"}, + {"id":"KitTelemetry80","kind":"module","label":"KitTelemetry80"}, + {"id":"KitThemes","kind":"module","label":"KitThemes"}, + {"id":"KitThemes33","kind":"module","label":"KitThemes33"}, + {"id":"KitThemes63","kind":"module","label":"KitThemes63"}, + {"id":"KitUpdates","kind":"module","label":"KitUpdates"}, + {"id":"KitUpdates46","kind":"module","label":"KitUpdates46"}, + {"id":"KitUpdates76","kind":"module","label":"KitUpdates76"}, + {"id":"KitWindows","kind":"module","label":"KitWindows"}, + {"id":"KitWindows59","kind":"module","label":"KitWindows59"}, + {"id":"KitWindows89","kind":"module","label":"KitWindows89"}, + {"id":"LibAccounts","kind":"package","label":"LibAccounts"}, + {"id":"LibAnalytics","kind":"package","label":"LibAnalytics"}, + {"id":"LibCatalog","kind":"package","label":"LibCatalog"}, + {"id":"LibClipboard","kind":"package","label":"LibClipboard"}, + {"id":"LibCommands","kind":"package","label":"LibCommands"}, + {"id":"LibContacts","kind":"package","label":"LibContacts"}, + {"id":"LibExtensions","kind":"package","label":"LibExtensions"}, + {"id":"LibFiles","kind":"package","label":"LibFiles"}, + {"id":"LibIndexing","kind":"package","label":"LibIndexing"}, + {"id":"LibLicensing","kind":"package","label":"LibLicensing"}, + {"id":"LibNotes","kind":"package","label":"LibNotes"}, + {"id":"LibOnboarding","kind":"package","label":"LibOnboarding"}, + {"id":"LibPreferences","kind":"package","label":"LibPreferences"}, + {"id":"LibRanking","kind":"package","label":"LibRanking"}, + {"id":"LibReminders","kind":"package","label":"LibReminders"}, + {"id":"LibSearch","kind":"package","label":"LibSearch"}, + {"id":"LibSettings","kind":"package","label":"LibSettings"}, + {"id":"LibShortcuts","kind":"package","label":"LibShortcuts"}, + {"id":"LibSnippets","kind":"package","label":"LibSnippets"}, + {"id":"LibSync","kind":"package","label":"LibSync"}, + {"id":"LibTelemetry","kind":"package","label":"LibTelemetry"}, + {"id":"LibThemes","kind":"package","label":"LibThemes"}, + {"id":"LibUpdates","kind":"package","label":"LibUpdates"}, + {"id":"LibWindows","kind":"package","label":"LibWindows"} + ], + "relationships": [ + {"id":"AppAccounts->CoreDocuments47","kind":"imports","from":"AppAccounts","to":"CoreDocuments47"}, + {"id":"AppAccounts->FeatureContacts","kind":"imports","from":"AppAccounts","to":"FeatureContacts"}, + {"id":"AppAccounts->FeatureQuickLook","kind":"imports","from":"AppAccounts","to":"FeatureQuickLook"}, + {"id":"AppClipboard->CoreSnippets32","kind":"imports","from":"AppClipboard","to":"CoreSnippets32"}, + {"id":"AppClipboard->FeatureIndexing","kind":"imports","from":"AppClipboard","to":"FeatureIndexing"}, + {"id":"AppContacts->CoreExtensions30","kind":"imports","from":"AppContacts","to":"CoreExtensions30"}, + {"id":"AppContacts->FeatureThemes","kind":"imports","from":"AppContacts","to":"FeatureThemes"}, + {"id":"AppNotes->FeatureClipboard","kind":"imports","from":"AppNotes","to":"FeatureClipboard"}, + {"id":"AppNotes->FeatureStorage","kind":"imports","from":"AppNotes","to":"FeatureStorage"}, + {"id":"AppSettings->CoreWindows","kind":"imports","from":"AppSettings","to":"CoreWindows"}, + {"id":"AppSettings->FeatureAnalytics","kind":"imports","from":"AppSettings","to":"FeatureAnalytics"}, + {"id":"AppUpdates->CoreReminders70","kind":"imports","from":"AppUpdates","to":"CoreReminders70"}, + {"id":"AppUpdates->FeatureBilling","kind":"imports","from":"AppUpdates","to":"FeatureBilling"}, + {"id":"BaseAccounts->LibReminders","kind":"imports","from":"BaseAccounts","to":"LibReminders"}, + {"id":"BaseAccounts->LibThemes","kind":"imports","from":"BaseAccounts","to":"LibThemes"}, + {"id":"BaseAccounts54->LibOnboarding","kind":"imports","from":"BaseAccounts54","to":"LibOnboarding"}, + {"id":"BaseAccounts54->LibSettings","kind":"imports","from":"BaseAccounts54","to":"LibSettings"}, + {"id":"BaseActions->LibCommands","kind":"imports","from":"BaseActions","to":"LibCommands"}, + {"id":"BaseActions->LibSearch","kind":"imports","from":"BaseActions","to":"LibSearch"}, + {"id":"BaseActions37->LibAccounts","kind":"imports","from":"BaseActions37","to":"LibAccounts"}, + {"id":"BaseActions37->LibTelemetry","kind":"imports","from":"BaseActions37","to":"LibTelemetry"}, + {"id":"BaseAnalytics->LibAnalytics","kind":"imports","from":"BaseAnalytics","to":"LibAnalytics"}, + {"id":"BaseAnalytics->LibContacts","kind":"imports","from":"BaseAnalytics","to":"LibContacts"}, + {"id":"BaseAnalytics50->LibPreferences","kind":"imports","from":"BaseAnalytics50","to":"LibPreferences"}, + {"id":"BaseAnalytics50->LibSync","kind":"imports","from":"BaseAnalytics50","to":"LibSync"}, + {"id":"BaseBilling->LibLicensing","kind":"imports","from":"BaseBilling","to":"LibLicensing"}, + {"id":"BaseBilling->LibSnippets","kind":"imports","from":"BaseBilling","to":"LibSnippets"}, + {"id":"BaseBilling33->LibCommands","kind":"imports","from":"BaseBilling33","to":"LibCommands"}, + {"id":"BaseBilling33->LibSettings","kind":"imports","from":"BaseBilling33","to":"LibSettings"}, + {"id":"BaseCatalog->LibCommands","kind":"imports","from":"BaseCatalog","to":"LibCommands"}, + {"id":"BaseCatalog->LibSearch","kind":"imports","from":"BaseCatalog","to":"LibSearch"}, + {"id":"BaseCatalog46->LibIndexing","kind":"imports","from":"BaseCatalog46","to":"LibIndexing"}, + {"id":"BaseCatalog46->LibThemes","kind":"imports","from":"BaseCatalog46","to":"LibThemes"}, + {"id":"BaseClipboard->LibExtensions","kind":"imports","from":"BaseClipboard","to":"LibExtensions"}, + {"id":"BaseClipboard->LibLicensing","kind":"imports","from":"BaseClipboard","to":"LibLicensing"}, + {"id":"BaseCommands->LibCatalog","kind":"imports","from":"BaseCommands","to":"LibCatalog"}, + {"id":"BaseCommands->LibShortcuts","kind":"imports","from":"BaseCommands","to":"LibShortcuts"}, + {"id":"BaseCommands42->LibAccounts","kind":"imports","from":"BaseCommands42","to":"LibAccounts"}, + {"id":"BaseCommands42->LibLicensing","kind":"imports","from":"BaseCommands42","to":"LibLicensing"}, + {"id":"BaseContacts->LibAnalytics","kind":"imports","from":"BaseContacts","to":"LibAnalytics"}, + {"id":"BaseContacts->LibSnippets","kind":"imports","from":"BaseContacts","to":"LibSnippets"}, + {"id":"BaseContacts55->LibContacts","kind":"imports","from":"BaseContacts55","to":"LibContacts"}, + {"id":"BaseContacts55->LibFiles","kind":"imports","from":"BaseContacts55","to":"LibFiles"}, + {"id":"BaseDocuments->LibAnalytics","kind":"imports","from":"BaseDocuments","to":"LibAnalytics"}, + {"id":"BaseDocuments->LibPreferences","kind":"imports","from":"BaseDocuments","to":"LibPreferences"}, + {"id":"BaseDocuments38->LibIndexing","kind":"imports","from":"BaseDocuments38","to":"LibIndexing"}, + {"id":"BaseDocuments38->LibSnippets","kind":"imports","from":"BaseDocuments38","to":"LibSnippets"}, + {"id":"BaseExtensions->LibExtensions","kind":"imports","from":"BaseExtensions","to":"LibExtensions"}, + {"id":"BaseExtensions->LibTelemetry","kind":"imports","from":"BaseExtensions","to":"LibTelemetry"}, + {"id":"BaseExtensions51->LibIndexing","kind":"imports","from":"BaseExtensions51","to":"LibIndexing"}, + {"id":"BaseExtensions51->LibWindows","kind":"imports","from":"BaseExtensions51","to":"LibWindows"}, + {"id":"BaseFavorites->LibContacts","kind":"imports","from":"BaseFavorites","to":"LibContacts"}, + {"id":"BaseFavorites->LibShortcuts","kind":"imports","from":"BaseFavorites","to":"LibShortcuts"}, + {"id":"BaseFavorites34->LibCommands","kind":"imports","from":"BaseFavorites34","to":"LibCommands"}, + {"id":"BaseFavorites34->LibTelemetry","kind":"imports","from":"BaseFavorites34","to":"LibTelemetry"}, + {"id":"BaseFiles->LibCatalog","kind":"imports","from":"BaseFiles","to":"LibCatalog"}, + {"id":"BaseFiles->LibClipboard","kind":"imports","from":"BaseFiles","to":"LibClipboard"}, + {"id":"BaseFiles47->LibAnalytics","kind":"imports","from":"BaseFiles47","to":"LibAnalytics"}, + {"id":"BaseFiles47->LibShortcuts","kind":"imports","from":"BaseFiles47","to":"LibShortcuts"}, + {"id":"BaseIndexing->LibFiles","kind":"imports","from":"BaseIndexing","to":"LibFiles"}, + {"id":"BaseIndexing->LibUpdates","kind":"imports","from":"BaseIndexing","to":"LibUpdates"}, + {"id":"BaseIndexing30->LibIndexing","kind":"imports","from":"BaseIndexing30","to":"LibIndexing"}, + {"id":"BaseIndexing30->LibThemes","kind":"imports","from":"BaseIndexing30","to":"LibThemes"}, + {"id":"BaseLicensing->LibIndexing","kind":"imports","from":"BaseLicensing","to":"LibIndexing"}, + {"id":"BaseLicensing->LibLicensing","kind":"imports","from":"BaseLicensing","to":"LibLicensing"}, + {"id":"BaseLicensing43->LibTelemetry","kind":"imports","from":"BaseLicensing43","to":"LibTelemetry"}, + {"id":"BaseLicensing43->LibUpdates","kind":"imports","from":"BaseLicensing43","to":"LibUpdates"}, + {"id":"BaseNotes->LibOnboarding","kind":"imports","from":"BaseNotes","to":"LibOnboarding"}, + {"id":"BaseNotes->LibSnippets","kind":"imports","from":"BaseNotes","to":"LibSnippets"}, + {"id":"BaseNotes56->LibFiles","kind":"imports","from":"BaseNotes56","to":"LibFiles"}, + {"id":"BaseNotes56->LibTelemetry","kind":"imports","from":"BaseNotes56","to":"LibTelemetry"}, + {"id":"BaseOnboarding->LibSnippets","kind":"imports","from":"BaseOnboarding","to":"LibSnippets"}, + {"id":"BaseOnboarding->LibSync","kind":"imports","from":"BaseOnboarding","to":"LibSync"}, + {"id":"BaseOnboarding39->LibClipboard","kind":"imports","from":"BaseOnboarding39","to":"LibClipboard"}, + {"id":"BaseOnboarding39->LibLicensing","kind":"imports","from":"BaseOnboarding39","to":"LibLicensing"}, + {"id":"BasePreferences->LibCatalog","kind":"imports","from":"BasePreferences","to":"LibCatalog"}, + {"id":"BasePreferences->LibIndexing","kind":"imports","from":"BasePreferences","to":"LibIndexing"}, + {"id":"BasePreferences52->LibCommands","kind":"imports","from":"BasePreferences52","to":"LibCommands"}, + {"id":"BasePreferences52->LibNotes","kind":"imports","from":"BasePreferences52","to":"LibNotes"}, + {"id":"BasePreviews->LibReminders","kind":"imports","from":"BasePreviews","to":"LibReminders"}, + {"id":"BasePreviews->LibSnippets","kind":"imports","from":"BasePreviews","to":"LibSnippets"}, + {"id":"BasePreviews35->LibFiles","kind":"imports","from":"BasePreviews35","to":"LibFiles"}, + {"id":"BasePreviews35->LibSnippets","kind":"imports","from":"BasePreviews35","to":"LibSnippets"}, + {"id":"BaseRanking->LibCatalog","kind":"imports","from":"BaseRanking","to":"LibCatalog"}, + {"id":"BaseRanking->LibSnippets","kind":"imports","from":"BaseRanking","to":"LibSnippets"}, + {"id":"BaseRanking48->LibPreferences","kind":"imports","from":"BaseRanking48","to":"LibPreferences"}, + {"id":"BaseRanking48->LibRanking","kind":"imports","from":"BaseRanking48","to":"LibRanking"}, + {"id":"BaseReminders->LibExtensions","kind":"imports","from":"BaseReminders","to":"LibExtensions"}, + {"id":"BaseReminders->LibSync","kind":"imports","from":"BaseReminders","to":"LibSync"}, + {"id":"BaseReminders31->LibNotes","kind":"imports","from":"BaseReminders31","to":"LibNotes"}, + {"id":"BaseReminders31->LibWindows","kind":"imports","from":"BaseReminders31","to":"LibWindows"}, + {"id":"BaseSearch->LibCommands","kind":"imports","from":"BaseSearch","to":"LibCommands"}, + {"id":"BaseSearch->LibUpdates","kind":"imports","from":"BaseSearch","to":"LibUpdates"}, + {"id":"BaseSearch44->LibCatalog","kind":"imports","from":"BaseSearch44","to":"LibCatalog"}, + {"id":"BaseSearch44->LibSettings","kind":"imports","from":"BaseSearch44","to":"LibSettings"}, + {"id":"BaseSettings->LibClipboard","kind":"imports","from":"BaseSettings","to":"LibClipboard"}, + {"id":"BaseSettings->LibNotes","kind":"imports","from":"BaseSettings","to":"LibNotes"}, + {"id":"BaseSettings57->LibSync","kind":"imports","from":"BaseSettings57","to":"LibSync"}, + {"id":"BaseSettings57->LibThemes","kind":"imports","from":"BaseSettings57","to":"LibThemes"}, + {"id":"BaseShortcuts->LibCatalog","kind":"imports","from":"BaseShortcuts","to":"LibCatalog"}, + {"id":"BaseShortcuts->LibRanking","kind":"imports","from":"BaseShortcuts","to":"LibRanking"}, + {"id":"BaseShortcuts40->LibAnalytics","kind":"imports","from":"BaseShortcuts40","to":"LibAnalytics"}, + {"id":"BaseShortcuts40->LibShortcuts","kind":"imports","from":"BaseShortcuts40","to":"LibShortcuts"}, + {"id":"BaseSnippets->LibClipboard","kind":"imports","from":"BaseSnippets","to":"LibClipboard"}, + {"id":"BaseSnippets->LibNotes","kind":"imports","from":"BaseSnippets","to":"LibNotes"}, + {"id":"BaseSnippets53->LibOnboarding","kind":"imports","from":"BaseSnippets53","to":"LibOnboarding"}, + {"id":"BaseSnippets53->LibTelemetry","kind":"imports","from":"BaseSnippets53","to":"LibTelemetry"}, + {"id":"BaseStorage->LibNotes","kind":"imports","from":"BaseStorage","to":"LibNotes"}, + {"id":"BaseStorage->LibRanking","kind":"imports","from":"BaseStorage","to":"LibRanking"}, + {"id":"BaseStorage36->LibCatalog","kind":"imports","from":"BaseStorage36","to":"LibCatalog"}, + {"id":"BaseStorage36->LibCommands","kind":"imports","from":"BaseStorage36","to":"LibCommands"}, + {"id":"BaseSync->LibNotes","kind":"imports","from":"BaseSync","to":"LibNotes"}, + {"id":"BaseSync->LibOnboarding","kind":"imports","from":"BaseSync","to":"LibOnboarding"}, + {"id":"BaseSync49->LibCommands","kind":"imports","from":"BaseSync49","to":"LibCommands"}, + {"id":"BaseSync49->LibThemes","kind":"imports","from":"BaseSync49","to":"LibThemes"}, + {"id":"BaseTelemetry->LibSnippets","kind":"imports","from":"BaseTelemetry","to":"LibSnippets"}, + {"id":"BaseTelemetry->LibWindows","kind":"imports","from":"BaseTelemetry","to":"LibWindows"}, + {"id":"BaseTelemetry32->LibIndexing","kind":"imports","from":"BaseTelemetry32","to":"LibIndexing"}, + {"id":"BaseTelemetry32->LibUpdates","kind":"imports","from":"BaseTelemetry32","to":"LibUpdates"}, + {"id":"BaseThemes->LibLicensing","kind":"imports","from":"BaseThemes","to":"LibLicensing"}, + {"id":"BaseThemes->LibSync","kind":"imports","from":"BaseThemes","to":"LibSync"}, + {"id":"BaseThemes45->LibPreferences","kind":"imports","from":"BaseThemes45","to":"LibPreferences"}, + {"id":"BaseThemes45->LibShortcuts","kind":"imports","from":"BaseThemes45","to":"LibShortcuts"}, + {"id":"BaseUpdates->LibAccounts","kind":"imports","from":"BaseUpdates","to":"LibAccounts"}, + {"id":"BaseUpdates->LibTelemetry","kind":"imports","from":"BaseUpdates","to":"LibTelemetry"}, + {"id":"BaseUpdates58->LibPreferences","kind":"imports","from":"BaseUpdates58","to":"LibPreferences"}, + {"id":"BaseUpdates58->LibWindows","kind":"imports","from":"BaseUpdates58","to":"LibWindows"}, + {"id":"BaseWindows->LibAccounts","kind":"imports","from":"BaseWindows","to":"LibAccounts"}, + {"id":"BaseWindows->LibContacts","kind":"imports","from":"BaseWindows","to":"LibContacts"}, + {"id":"BaseWindows41->LibCommands","kind":"imports","from":"BaseWindows41","to":"LibCommands"}, + {"id":"BaseWindows41->LibOnboarding","kind":"imports","from":"BaseWindows41","to":"LibOnboarding"}, + {"id":"CoreAccounts->BaseCatalog","kind":"imports","from":"CoreAccounts","to":"BaseCatalog"}, + {"id":"CoreAccounts->BaseOnboarding","kind":"imports","from":"CoreAccounts","to":"BaseOnboarding"}, + {"id":"CoreAccounts33->BaseDocuments","kind":"imports","from":"CoreAccounts33","to":"BaseDocuments"}, + {"id":"CoreAccounts33->BaseTelemetry32","kind":"imports","from":"CoreAccounts33","to":"BaseTelemetry32"}, + {"id":"CoreAccounts63->BaseSettings","kind":"imports","from":"CoreAccounts63","to":"BaseSettings"}, + {"id":"CoreAccounts63->LibSearch","kind":"imports","from":"CoreAccounts63","to":"LibSearch"}, + {"id":"CoreAccounts93->BaseActions37","kind":"imports","from":"CoreAccounts93","to":"BaseActions37"}, + {"id":"CoreAccounts93->BaseCommands","kind":"imports","from":"CoreAccounts93","to":"BaseCommands"}, + {"id":"CoreActions->BaseCommands42","kind":"imports","from":"CoreActions","to":"BaseCommands42"}, + {"id":"CoreActions->BaseStorage36","kind":"imports","from":"CoreActions","to":"BaseStorage36"}, + {"id":"CoreActions46->BaseNotes","kind":"imports","from":"CoreActions46","to":"BaseNotes"}, + {"id":"CoreActions46->BaseShortcuts","kind":"imports","from":"CoreActions46","to":"BaseShortcuts"}, + {"id":"CoreActions76->BaseBilling","kind":"imports","from":"CoreActions76","to":"BaseBilling"}, + {"id":"CoreActions76->BaseCatalog","kind":"imports","from":"CoreActions76","to":"BaseCatalog"}, + {"id":"CoreAnalytics->BaseDocuments","kind":"imports","from":"CoreAnalytics","to":"BaseDocuments"}, + {"id":"CoreAnalytics->LibTelemetry","kind":"imports","from":"CoreAnalytics","to":"LibTelemetry"}, + {"id":"CoreAnalytics59->BaseSettings","kind":"imports","from":"CoreAnalytics59","to":"BaseSettings"}, + {"id":"CoreAnalytics59->BaseSnippets","kind":"imports","from":"CoreAnalytics59","to":"BaseSnippets"}, + {"id":"CoreAnalytics89->BaseFavorites","kind":"imports","from":"CoreAnalytics89","to":"BaseFavorites"}, + {"id":"CoreAnalytics89->BaseShortcuts","kind":"imports","from":"CoreAnalytics89","to":"BaseShortcuts"}, + {"id":"CoreBilling->BasePreferences52","kind":"imports","from":"CoreBilling","to":"BasePreferences52"}, + {"id":"CoreBilling->BaseWindows","kind":"imports","from":"CoreBilling","to":"BaseWindows"}, + {"id":"CoreBilling42->BaseContacts55","kind":"imports","from":"CoreBilling42","to":"BaseContacts55"}, + {"id":"CoreBilling42->BasePreferences","kind":"imports","from":"CoreBilling42","to":"BasePreferences"}, + {"id":"CoreBilling72->BaseDocuments","kind":"imports","from":"CoreBilling72","to":"BaseDocuments"}, + {"id":"CoreBilling72->BaseRanking","kind":"imports","from":"CoreBilling72","to":"BaseRanking"}, + {"id":"CoreCatalog->BaseCatalog","kind":"imports","from":"CoreCatalog","to":"BaseCatalog"}, + {"id":"CoreCatalog->BaseSync49","kind":"imports","from":"CoreCatalog","to":"BaseSync49"}, + {"id":"CoreCatalog55->BaseSnippets53","kind":"imports","from":"CoreCatalog55","to":"BaseSnippets53"}, + {"id":"CoreCatalog55->BaseStorage36","kind":"imports","from":"CoreCatalog55","to":"BaseStorage36"}, + {"id":"CoreCatalog85->BaseLicensing","kind":"imports","from":"CoreCatalog85","to":"BaseLicensing"}, + {"id":"CoreCatalog85->LibCatalog","kind":"imports","from":"CoreCatalog85","to":"LibCatalog"}, + {"id":"CoreClipboard->BasePreviews35","kind":"imports","from":"CoreClipboard","to":"BasePreviews35"}, + {"id":"CoreClipboard->BaseUpdates58","kind":"imports","from":"CoreClipboard","to":"BaseUpdates58"}, + {"id":"CoreClipboard38->BaseActions37","kind":"imports","from":"CoreClipboard38","to":"BaseActions37"}, + {"id":"CoreClipboard38->BaseSettings","kind":"imports","from":"CoreClipboard38","to":"BaseSettings"}, + {"id":"CoreClipboard68->BaseActions","kind":"imports","from":"CoreClipboard68","to":"BaseActions"}, + {"id":"CoreClipboard68->BaseFiles","kind":"imports","from":"CoreClipboard68","to":"BaseFiles"}, + {"id":"CoreClipboard98->BaseIndexing","kind":"imports","from":"CoreClipboard98","to":"BaseIndexing"}, + {"id":"CoreClipboard98->BaseSnippets","kind":"imports","from":"CoreClipboard98","to":"BaseSnippets"}, + {"id":"CoreCommands->BaseSettings57","kind":"imports","from":"CoreCommands","to":"BaseSettings57"}, + {"id":"CoreCommands->LibSearch","kind":"imports","from":"CoreCommands","to":"LibSearch"}, + {"id":"CoreCommands51->BaseFavorites","kind":"imports","from":"CoreCommands51","to":"BaseFavorites"}, + {"id":"CoreCommands81->BaseAnalytics","kind":"imports","from":"CoreCommands81","to":"BaseAnalytics"}, + {"id":"CoreCommands81->BaseStorage36","kind":"imports","from":"CoreCommands81","to":"BaseStorage36"}, + {"id":"CoreContacts->BaseClipboard","kind":"imports","from":"CoreContacts","to":"BaseClipboard"}, + {"id":"CoreContacts->BaseSettings57","kind":"imports","from":"CoreContacts","to":"BaseSettings57"}, + {"id":"CoreContacts34->BaseLicensing43","kind":"imports","from":"CoreContacts34","to":"BaseLicensing43"}, + {"id":"CoreContacts34->BaseThemes","kind":"imports","from":"CoreContacts34","to":"BaseThemes"}, + {"id":"CoreContacts64->BaseRanking","kind":"imports","from":"CoreContacts64","to":"BaseRanking"}, + {"id":"CoreContacts64->BaseReminders","kind":"imports","from":"CoreContacts64","to":"BaseReminders"}, + {"id":"CoreContacts94->BaseOnboarding","kind":"imports","from":"CoreContacts94","to":"BaseOnboarding"}, + {"id":"CoreContacts94->LibSync","kind":"imports","from":"CoreContacts94","to":"LibSync"}, + {"id":"CoreDocuments->BaseFavorites","kind":"imports","from":"CoreDocuments","to":"BaseFavorites"}, + {"id":"CoreDocuments47->BaseActions","kind":"imports","from":"CoreDocuments47","to":"BaseActions"}, + {"id":"CoreDocuments47->BasePreviews","kind":"imports","from":"CoreDocuments47","to":"BasePreviews"}, + {"id":"CoreDocuments77->BaseContacts","kind":"imports","from":"CoreDocuments77","to":"BaseContacts"}, + {"id":"CoreDocuments77->BaseOnboarding","kind":"imports","from":"CoreDocuments77","to":"BaseOnboarding"}, + {"id":"CoreExtensions->BaseExtensions51","kind":"imports","from":"CoreExtensions","to":"BaseExtensions51"}, + {"id":"CoreExtensions->BaseIndexing","kind":"imports","from":"CoreExtensions","to":"BaseIndexing"}, + {"id":"CoreExtensions30->BaseOnboarding39","kind":"imports","from":"CoreExtensions30","to":"BaseOnboarding39"}, + {"id":"CoreExtensions30->BaseSettings57","kind":"imports","from":"CoreExtensions30","to":"BaseSettings57"}, + {"id":"CoreExtensions60->BaseAnalytics","kind":"imports","from":"CoreExtensions60","to":"BaseAnalytics"}, + {"id":"CoreExtensions60->BaseExtensions","kind":"imports","from":"CoreExtensions60","to":"BaseExtensions"}, + {"id":"CoreExtensions90->BaseOnboarding","kind":"imports","from":"CoreExtensions90","to":"BaseOnboarding"}, + {"id":"CoreFavorites->BaseSnippets53","kind":"imports","from":"CoreFavorites","to":"BaseSnippets53"}, + {"id":"CoreFavorites->LibNotes","kind":"imports","from":"CoreFavorites","to":"LibNotes"}, + {"id":"CoreFavorites43->BaseLicensing","kind":"imports","from":"CoreFavorites43","to":"BaseLicensing"}, + {"id":"CoreFavorites43->BaseStorage36","kind":"imports","from":"CoreFavorites43","to":"BaseStorage36"}, + {"id":"CoreFavorites73->BaseContacts","kind":"imports","from":"CoreFavorites73","to":"BaseContacts"}, + {"id":"CoreFavorites73->BaseNotes56","kind":"imports","from":"CoreFavorites73","to":"BaseNotes56"}, + {"id":"CoreFiles->BaseLicensing","kind":"imports","from":"CoreFiles","to":"BaseLicensing"}, + {"id":"CoreFiles->BaseUpdates58","kind":"imports","from":"CoreFiles","to":"BaseUpdates58"}, + {"id":"CoreFiles56->BaseAnalytics50","kind":"imports","from":"CoreFiles56","to":"BaseAnalytics50"}, + {"id":"CoreFiles56->BaseShortcuts40","kind":"imports","from":"CoreFiles56","to":"BaseShortcuts40"}, + {"id":"CoreFiles86->BaseFavorites34","kind":"imports","from":"CoreFiles86","to":"BaseFavorites34"}, + {"id":"CoreFiles86->LibThemes","kind":"imports","from":"CoreFiles86","to":"LibThemes"}, + {"id":"CoreIndexing->BaseContacts","kind":"imports","from":"CoreIndexing","to":"BaseContacts"}, + {"id":"CoreIndexing->BaseWindows","kind":"imports","from":"CoreIndexing","to":"BaseWindows"}, + {"id":"CoreIndexing39->BaseAccounts54","kind":"imports","from":"CoreIndexing39","to":"BaseAccounts54"}, + {"id":"CoreIndexing39->BaseLicensing","kind":"imports","from":"CoreIndexing39","to":"BaseLicensing"}, + {"id":"CoreIndexing69->BaseAccounts54","kind":"imports","from":"CoreIndexing69","to":"BaseAccounts54"}, + {"id":"CoreIndexing69->BaseIndexing","kind":"imports","from":"CoreIndexing69","to":"BaseIndexing"}, + {"id":"CoreIndexing99->BaseDocuments","kind":"imports","from":"CoreIndexing99","to":"BaseDocuments"}, + {"id":"CoreIndexing99->BasePreviews35","kind":"imports","from":"CoreIndexing99","to":"BasePreviews35"}, + {"id":"CoreLicensing->BaseCatalog46","kind":"imports","from":"CoreLicensing","to":"BaseCatalog46"}, + {"id":"CoreLicensing->BaseSearch","kind":"imports","from":"CoreLicensing","to":"BaseSearch"}, + {"id":"CoreLicensing52->BaseSettings57","kind":"imports","from":"CoreLicensing52","to":"BaseSettings57"}, + {"id":"CoreLicensing52->BaseTelemetry32","kind":"imports","from":"CoreLicensing52","to":"BaseTelemetry32"}, + {"id":"CoreLicensing82->BaseSnippets","kind":"imports","from":"CoreLicensing82","to":"BaseSnippets"}, + {"id":"CoreLicensing82->BaseThemes45","kind":"imports","from":"CoreLicensing82","to":"BaseThemes45"}, + {"id":"CoreNotes->BaseShortcuts","kind":"imports","from":"CoreNotes","to":"BaseShortcuts"}, + {"id":"CoreNotes->BaseSync","kind":"imports","from":"CoreNotes","to":"BaseSync"}, + {"id":"CoreNotes35->BaseCommands42","kind":"imports","from":"CoreNotes35","to":"BaseCommands42"}, + {"id":"CoreNotes35->BaseDocuments","kind":"imports","from":"CoreNotes35","to":"BaseDocuments"}, + {"id":"CoreNotes65->LibReminders","kind":"imports","from":"CoreNotes65","to":"LibReminders"}, + {"id":"CoreNotes95->BasePreviews35","kind":"imports","from":"CoreNotes95","to":"BasePreviews35"}, + {"id":"CoreNotes95->LibPreferences","kind":"imports","from":"CoreNotes95","to":"LibPreferences"}, + {"id":"CoreOnboarding->BaseClipboard","kind":"imports","from":"CoreOnboarding","to":"BaseClipboard"}, + {"id":"CoreOnboarding->BaseThemes","kind":"imports","from":"CoreOnboarding","to":"BaseThemes"}, + {"id":"CoreOnboarding48->BaseExtensions51","kind":"imports","from":"CoreOnboarding48","to":"BaseExtensions51"}, + {"id":"CoreOnboarding48->BaseSync49","kind":"imports","from":"CoreOnboarding48","to":"BaseSync49"}, + {"id":"CoreOnboarding78->BaseShortcuts","kind":"imports","from":"CoreOnboarding78","to":"BaseShortcuts"}, + {"id":"CoreOnboarding78->BaseSync49","kind":"imports","from":"CoreOnboarding78","to":"BaseSync49"}, + {"id":"CorePreferences->BaseRanking48","kind":"imports","from":"CorePreferences","to":"BaseRanking48"}, + {"id":"CorePreferences->LibIndexing","kind":"imports","from":"CorePreferences","to":"LibIndexing"}, + {"id":"CorePreferences31->BaseSnippets","kind":"imports","from":"CorePreferences31","to":"BaseSnippets"}, + {"id":"CorePreferences31->BaseTelemetry","kind":"imports","from":"CorePreferences31","to":"BaseTelemetry"}, + {"id":"CorePreferences61->BaseIndexing","kind":"imports","from":"CorePreferences61","to":"BaseIndexing"}, + {"id":"CorePreferences61->BaseThemes45","kind":"imports","from":"CorePreferences61","to":"BaseThemes45"}, + {"id":"CorePreferences91->BaseLicensing43","kind":"imports","from":"CorePreferences91","to":"BaseLicensing43"}, + {"id":"CorePreferences91->LibLicensing","kind":"imports","from":"CorePreferences91","to":"LibLicensing"}, + {"id":"CorePreviews->BaseBilling33","kind":"imports","from":"CorePreviews","to":"BaseBilling33"}, + {"id":"CorePreviews->BaseFavorites","kind":"imports","from":"CorePreviews","to":"BaseFavorites"}, + {"id":"CorePreviews44->BaseActions","kind":"imports","from":"CorePreviews44","to":"BaseActions"}, + {"id":"CorePreviews44->BaseShortcuts40","kind":"imports","from":"CorePreviews44","to":"BaseShortcuts40"}, + {"id":"CorePreviews74->BaseAnalytics","kind":"imports","from":"CorePreviews74","to":"BaseAnalytics"}, + {"id":"CorePreviews74->BaseNotes","kind":"imports","from":"CorePreviews74","to":"BaseNotes"}, + {"id":"CoreRanking->BaseActions37","kind":"imports","from":"CoreRanking","to":"BaseActions37"}, + {"id":"CoreRanking->LibWindows","kind":"imports","from":"CoreRanking","to":"LibWindows"}, + {"id":"CoreRanking57->BasePreviews","kind":"imports","from":"CoreRanking57","to":"BasePreviews"}, + {"id":"CoreRanking57->BaseReminders31","kind":"imports","from":"CoreRanking57","to":"BaseReminders31"}, + {"id":"CoreRanking87->BaseRanking","kind":"imports","from":"CoreRanking87","to":"BaseRanking"}, + {"id":"CoreRanking87->LibLicensing","kind":"imports","from":"CoreRanking87","to":"LibLicensing"}, + {"id":"CoreReminders->BaseDocuments","kind":"imports","from":"CoreReminders","to":"BaseDocuments"}, + {"id":"CoreReminders->LibRanking","kind":"imports","from":"CoreReminders","to":"LibRanking"}, + {"id":"CoreReminders40->BaseThemes","kind":"imports","from":"CoreReminders40","to":"BaseThemes"}, + {"id":"CoreReminders40->LibLicensing","kind":"imports","from":"CoreReminders40","to":"LibLicensing"}, + {"id":"CoreReminders70->BaseAccounts","kind":"imports","from":"CoreReminders70","to":"BaseAccounts"}, + {"id":"CoreReminders70->BaseShortcuts40","kind":"imports","from":"CoreReminders70","to":"BaseShortcuts40"}, + {"id":"CoreSearch->BaseContacts55","kind":"imports","from":"CoreSearch","to":"BaseContacts55"}, + {"id":"CoreSearch->LibOnboarding","kind":"imports","from":"CoreSearch","to":"LibOnboarding"}, + {"id":"CoreSearch53->BaseAccounts","kind":"imports","from":"CoreSearch53","to":"BaseAccounts"}, + {"id":"CoreSearch53->BaseRanking","kind":"imports","from":"CoreSearch53","to":"BaseRanking"}, + {"id":"CoreSearch83->BaseDocuments38","kind":"imports","from":"CoreSearch83","to":"BaseDocuments38"}, + {"id":"CoreSearch83->BaseRanking48","kind":"imports","from":"CoreSearch83","to":"BaseRanking48"}, + {"id":"CoreSettings->BaseCommands","kind":"imports","from":"CoreSettings","to":"BaseCommands"}, + {"id":"CoreSettings->BaseDocuments","kind":"imports","from":"CoreSettings","to":"BaseDocuments"}, + {"id":"CoreSettings36->BaseShortcuts40","kind":"imports","from":"CoreSettings36","to":"BaseShortcuts40"}, + {"id":"CoreSettings36->LibSync","kind":"imports","from":"CoreSettings36","to":"LibSync"}, + {"id":"CoreSettings66->BaseFiles","kind":"imports","from":"CoreSettings66","to":"BaseFiles"}, + {"id":"CoreSettings66->BaseOnboarding39","kind":"imports","from":"CoreSettings66","to":"BaseOnboarding39"}, + {"id":"CoreSettings96->BasePreviews35","kind":"imports","from":"CoreSettings96","to":"BasePreviews35"}, + {"id":"CoreSettings96->BaseSync49","kind":"imports","from":"CoreSettings96","to":"BaseSync49"}, + {"id":"CoreShortcuts->BaseDocuments38","kind":"imports","from":"CoreShortcuts","to":"BaseDocuments38"}, + {"id":"CoreShortcuts->BaseShortcuts40","kind":"imports","from":"CoreShortcuts","to":"BaseShortcuts40"}, + {"id":"CoreShortcuts49->LibOnboarding","kind":"imports","from":"CoreShortcuts49","to":"LibOnboarding"}, + {"id":"CoreShortcuts79->BaseOnboarding","kind":"imports","from":"CoreShortcuts79","to":"BaseOnboarding"}, + {"id":"CoreShortcuts79->BaseUpdates","kind":"imports","from":"CoreShortcuts79","to":"BaseUpdates"}, + {"id":"CoreSnippets->BaseBilling33","kind":"imports","from":"CoreSnippets","to":"BaseBilling33"}, + {"id":"CoreSnippets->BasePreviews35","kind":"imports","from":"CoreSnippets","to":"BasePreviews35"}, + {"id":"CoreSnippets32->BasePreviews35","kind":"imports","from":"CoreSnippets32","to":"BasePreviews35"}, + {"id":"CoreSnippets32->BaseSync49","kind":"imports","from":"CoreSnippets32","to":"BaseSync49"}, + {"id":"CoreSnippets62->BaseBilling33","kind":"imports","from":"CoreSnippets62","to":"BaseBilling33"}, + {"id":"CoreSnippets62->BaseSearch44","kind":"imports","from":"CoreSnippets62","to":"BaseSearch44"}, + {"id":"CoreSnippets92->BaseAccounts","kind":"imports","from":"CoreSnippets92","to":"BaseAccounts"}, + {"id":"CoreSnippets92->BaseExtensions51","kind":"imports","from":"CoreSnippets92","to":"BaseExtensions51"}, + {"id":"CoreStorage->BaseContacts55","kind":"imports","from":"CoreStorage","to":"BaseContacts55"}, + {"id":"CoreStorage->BaseRanking","kind":"imports","from":"CoreStorage","to":"BaseRanking"}, + {"id":"CoreStorage45->BaseActions37","kind":"imports","from":"CoreStorage45","to":"BaseActions37"}, + {"id":"CoreStorage45->BaseIndexing30","kind":"imports","from":"CoreStorage45","to":"BaseIndexing30"}, + {"id":"CoreStorage75->BaseAnalytics","kind":"imports","from":"CoreStorage75","to":"BaseAnalytics"}, + {"id":"CoreStorage75->BaseFavorites","kind":"imports","from":"CoreStorage75","to":"BaseFavorites"}, + {"id":"CoreSync->BaseWindows41","kind":"imports","from":"CoreSync","to":"BaseWindows41"}, + {"id":"CoreSync->LibOnboarding","kind":"imports","from":"CoreSync","to":"LibOnboarding"}, + {"id":"CoreSync58->BaseTelemetry","kind":"imports","from":"CoreSync58","to":"BaseTelemetry"}, + {"id":"CoreSync58->LibSync","kind":"imports","from":"CoreSync58","to":"LibSync"}, + {"id":"CoreSync88->BaseAnalytics50","kind":"imports","from":"CoreSync88","to":"BaseAnalytics50"}, + {"id":"CoreSync88->BaseShortcuts40","kind":"imports","from":"CoreSync88","to":"BaseShortcuts40"}, + {"id":"CoreTelemetry->BaseCommands","kind":"imports","from":"CoreTelemetry","to":"BaseCommands"}, + {"id":"CoreTelemetry->BaseUpdates","kind":"imports","from":"CoreTelemetry","to":"BaseUpdates"}, + {"id":"CoreTelemetry41->BaseAccounts54","kind":"imports","from":"CoreTelemetry41","to":"BaseAccounts54"}, + {"id":"CoreTelemetry41->LibFiles","kind":"imports","from":"CoreTelemetry41","to":"LibFiles"}, + {"id":"CoreTelemetry71->BaseDocuments","kind":"imports","from":"CoreTelemetry71","to":"BaseDocuments"}, + {"id":"CoreTelemetry71->BaseSettings57","kind":"imports","from":"CoreTelemetry71","to":"BaseSettings57"}, + {"id":"CoreThemes->BaseFavorites","kind":"imports","from":"CoreThemes","to":"BaseFavorites"}, + {"id":"CoreThemes54->BaseFavorites","kind":"imports","from":"CoreThemes54","to":"BaseFavorites"}, + {"id":"CoreThemes54->BaseWindows","kind":"imports","from":"CoreThemes54","to":"BaseWindows"}, + {"id":"CoreThemes84->BaseContacts","kind":"imports","from":"CoreThemes84","to":"BaseContacts"}, + {"id":"CoreThemes84->BaseShortcuts","kind":"imports","from":"CoreThemes84","to":"BaseShortcuts"}, + {"id":"CoreUpdates->BaseContacts55","kind":"imports","from":"CoreUpdates","to":"BaseContacts55"}, + {"id":"CoreUpdates->BaseUpdates","kind":"imports","from":"CoreUpdates","to":"BaseUpdates"}, + {"id":"CoreUpdates37->BasePreferences","kind":"imports","from":"CoreUpdates37","to":"BasePreferences"}, + {"id":"CoreUpdates37->LibUpdates","kind":"imports","from":"CoreUpdates37","to":"LibUpdates"}, + {"id":"CoreUpdates67->BaseStorage36","kind":"imports","from":"CoreUpdates67","to":"BaseStorage36"}, + {"id":"CoreUpdates67->LibContacts","kind":"imports","from":"CoreUpdates67","to":"LibContacts"}, + {"id":"CoreUpdates97->BasePreferences","kind":"imports","from":"CoreUpdates97","to":"BasePreferences"}, + {"id":"CoreUpdates97->BaseSync49","kind":"imports","from":"CoreUpdates97","to":"BaseSync49"}, + {"id":"CoreWindows->BaseCatalog46","kind":"imports","from":"CoreWindows","to":"BaseCatalog46"}, + {"id":"CoreWindows->BaseStorage","kind":"imports","from":"CoreWindows","to":"BaseStorage"}, + {"id":"CoreWindows50->BaseAccounts","kind":"imports","from":"CoreWindows50","to":"BaseAccounts"}, + {"id":"CoreWindows50->BaseSync","kind":"imports","from":"CoreWindows50","to":"BaseSync"}, + {"id":"CoreWindows80->BaseAnalytics50","kind":"imports","from":"CoreWindows80","to":"BaseAnalytics50"}, + {"id":"CoreWindows80->BaseReminders","kind":"imports","from":"CoreWindows80","to":"BaseReminders"}, + {"id":"FeatureAccounts->BaseSearch44","kind":"imports","from":"FeatureAccounts","to":"BaseSearch44"}, + {"id":"FeatureAccounts->KitDocuments86","kind":"imports","from":"FeatureAccounts","to":"KitDocuments86"}, + {"id":"FeatureActions->KitBilling","kind":"imports","from":"FeatureActions","to":"KitBilling"}, + {"id":"FeatureActions->LibSnippets","kind":"imports","from":"FeatureActions","to":"LibSnippets"}, + {"id":"FeatureActions34->KitCatalog64","kind":"imports","from":"FeatureActions34","to":"KitCatalog64"}, + {"id":"FeatureActions34->KitTelemetry","kind":"imports","from":"FeatureActions34","to":"KitTelemetry"}, + {"id":"FeatureAnalytics->KitShortcuts88","kind":"imports","from":"FeatureAnalytics","to":"KitShortcuts88"}, + {"id":"FeatureAnalytics->LibExtensions","kind":"imports","from":"FeatureAnalytics","to":"LibExtensions"}, + {"id":"FeatureBilling->CoreTelemetry41","kind":"imports","from":"FeatureBilling","to":"CoreTelemetry41"}, + {"id":"FeatureBilling->KitBilling81","kind":"imports","from":"FeatureBilling","to":"KitBilling81"}, + {"id":"FeatureBilling30->BaseRanking48","kind":"imports","from":"FeatureBilling30","to":"BaseRanking48"}, + {"id":"FeatureBilling30->KitCatalog","kind":"imports","from":"FeatureBilling30","to":"KitCatalog"}, + {"id":"FeatureCatalog->KitCommands60","kind":"imports","from":"FeatureCatalog","to":"KitCommands60"}, + {"id":"FeatureCatalog->KitFiles65","kind":"imports","from":"FeatureCatalog","to":"KitFiles65"}, + {"id":"FeatureClipboard->BaseSettings57","kind":"imports","from":"FeatureClipboard","to":"BaseSettings57"}, + {"id":"FeatureClipboard->KitContacts","kind":"imports","from":"FeatureClipboard","to":"KitContacts"}, + {"id":"FeatureCommands->CoreUpdates97","kind":"imports","from":"FeatureCommands","to":"CoreUpdates97"}, + {"id":"FeatureCommands->KitShortcuts","kind":"imports","from":"FeatureCommands","to":"KitShortcuts"}, + {"id":"FeatureCommands39->KitFavorites52","kind":"imports","from":"FeatureCommands39","to":"KitFavorites52"}, + {"id":"FeatureCommands39->KitOnboarding","kind":"imports","from":"FeatureCommands39","to":"KitOnboarding"}, + {"id":"FeatureContacts->CoreAccounts33","kind":"imports","from":"FeatureContacts","to":"CoreAccounts33"}, + {"id":"FeatureContacts->KitContacts43","kind":"imports","from":"FeatureContacts","to":"KitContacts43"}, + {"id":"FeatureDocuments->BaseOnboarding39","kind":"imports","from":"FeatureDocuments","to":"BaseOnboarding39"}, + {"id":"FeatureDocuments->KitContacts","kind":"imports","from":"FeatureDocuments","to":"KitContacts"}, + {"id":"FeatureDocuments35->KitCatalog64","kind":"imports","from":"FeatureDocuments35","to":"KitCatalog64"}, + {"id":"FeatureDocuments35->KitLicensing61","kind":"imports","from":"FeatureDocuments35","to":"KitLicensing61"}, + {"id":"FeatureExtensions->KitOnboarding57","kind":"imports","from":"FeatureExtensions","to":"KitOnboarding57"}, + {"id":"FeatureExtensions->KitPreferences40","kind":"imports","from":"FeatureExtensions","to":"KitPreferences40"}, + {"id":"FeatureFavorites->KitPreviews","kind":"imports","from":"FeatureFavorites","to":"KitPreviews"}, + {"id":"FeatureFavorites->KitStorage84","kind":"imports","from":"FeatureFavorites","to":"KitStorage84"}, + {"id":"FeatureFavorites31->KitAnalytics38","kind":"imports","from":"FeatureFavorites31","to":"KitAnalytics38"}, + {"id":"FeatureFavorites31->KitShortcuts58","kind":"imports","from":"FeatureFavorites31","to":"KitShortcuts58"}, + {"id":"FeatureFiles->BaseShortcuts40","kind":"imports","from":"FeatureFiles","to":"BaseShortcuts40"}, + {"id":"FeatureFiles->KitUpdates46","kind":"imports","from":"FeatureFiles","to":"KitUpdates46"}, + {"id":"FeatureIndexing->CoreCatalog","kind":"imports","from":"FeatureIndexing","to":"CoreCatalog"}, + {"id":"FeatureIndexing->KitSearch32","kind":"imports","from":"FeatureIndexing","to":"KitSearch32"}, + {"id":"FeatureLicensing->KitClipboard77","kind":"imports","from":"FeatureLicensing","to":"KitClipboard77"}, + {"id":"FeatureLicensing->KitNotes","kind":"imports","from":"FeatureLicensing","to":"KitNotes"}, + {"id":"FeatureNotes->KitAnalytics","kind":"imports","from":"FeatureNotes","to":"KitAnalytics"}, + {"id":"FeatureNotes->KitThemes","kind":"imports","from":"FeatureNotes","to":"KitThemes"}, + {"id":"FeatureOnboarding->BaseSync49","kind":"imports","from":"FeatureOnboarding","to":"BaseSync49"}, + {"id":"FeatureOnboarding->KitPreferences40","kind":"imports","from":"FeatureOnboarding","to":"KitPreferences40"}, + {"id":"FeatureOnboarding36->BaseOnboarding","kind":"imports","from":"FeatureOnboarding36","to":"BaseOnboarding"}, + {"id":"FeatureOnboarding36->KitShortcuts58","kind":"imports","from":"FeatureOnboarding36","to":"KitShortcuts58"}, + {"id":"FeaturePreferences->KitAnalytics68","kind":"imports","from":"FeaturePreferences","to":"KitAnalytics68"}, + {"id":"FeaturePreferences->KitDocuments86","kind":"imports","from":"FeaturePreferences","to":"KitDocuments86"}, + {"id":"FeaturePreviews->CoreActions46","kind":"imports","from":"FeaturePreviews","to":"CoreActions46"}, + {"id":"FeaturePreviews->KitBilling51","kind":"imports","from":"FeaturePreviews","to":"KitBilling51"}, + {"id":"FeaturePreviews32->CorePreferences91","kind":"imports","from":"FeaturePreviews32","to":"CorePreferences91"}, + {"id":"FeaturePreviews32->KitShortcuts88","kind":"imports","from":"FeaturePreviews32","to":"KitShortcuts88"}, + {"id":"FeatureQuickLook->LibOnboarding","kind":"imports","from":"FeatureQuickLook","to":"LibOnboarding"}, + {"id":"FeatureQuickLook->LibShortcuts","kind":"imports","from":"FeatureQuickLook","to":"LibShortcuts"}, + {"id":"FeatureRanking->KitOnboarding57","kind":"imports","from":"FeatureRanking","to":"KitOnboarding57"}, + {"id":"FeatureRanking->LibTelemetry","kind":"imports","from":"FeatureRanking","to":"LibTelemetry"}, + {"id":"FeatureReminders->BaseOnboarding39","kind":"imports","from":"FeatureReminders","to":"BaseOnboarding39"}, + {"id":"FeatureReminders->KitOnboarding87","kind":"imports","from":"FeatureReminders","to":"KitOnboarding87"}, + {"id":"FeatureSearch->CoreLicensing82","kind":"imports","from":"FeatureSearch","to":"CoreLicensing82"}, + {"id":"FeatureSearch->KitLicensing","kind":"imports","from":"FeatureSearch","to":"KitLicensing"}, + {"id":"FeatureSettings->BaseSnippets","kind":"imports","from":"FeatureSettings","to":"BaseSnippets"}, + {"id":"FeatureSettings->KitAccounts","kind":"imports","from":"FeatureSettings","to":"KitAccounts"}, + {"id":"FeatureShortcuts->CoreFiles56","kind":"imports","from":"FeatureShortcuts","to":"CoreFiles56"}, + {"id":"FeatureShortcuts->KitAccounts","kind":"imports","from":"FeatureShortcuts","to":"KitAccounts"}, + {"id":"FeatureShortcuts37->KitClipboard77","kind":"imports","from":"FeatureShortcuts37","to":"KitClipboard77"}, + {"id":"FeatureShortcuts37->KitStorage84","kind":"imports","from":"FeatureShortcuts37","to":"KitStorage84"}, + {"id":"FeatureSnippets->BaseSearch","kind":"imports","from":"FeatureSnippets","to":"BaseSearch"}, + {"id":"FeatureSnippets->KitPreviews53","kind":"imports","from":"FeatureSnippets","to":"KitPreviews53"}, + {"id":"FeatureStorage->KitSearch","kind":"imports","from":"FeatureStorage","to":"KitSearch"}, + {"id":"FeatureStorage->KitTelemetry50","kind":"imports","from":"FeatureStorage","to":"KitTelemetry50"}, + {"id":"FeatureStorage33->KitClipboard47","kind":"imports","from":"FeatureStorage33","to":"KitClipboard47"}, + {"id":"FeatureStorage33->KitRanking36","kind":"imports","from":"FeatureStorage33","to":"KitRanking36"}, + {"id":"FeatureSync->KitClipboard77","kind":"imports","from":"FeatureSync","to":"KitClipboard77"}, + {"id":"FeatureSync->KitSnippets71","kind":"imports","from":"FeatureSync","to":"KitSnippets71"}, + {"id":"FeatureTelemetry->KitAnalytics","kind":"imports","from":"FeatureTelemetry","to":"KitAnalytics"}, + {"id":"FeatureTelemetry->KitNotes74","kind":"imports","from":"FeatureTelemetry","to":"KitNotes74"}, + {"id":"FeatureThemes->BaseContacts55","kind":"imports","from":"FeatureThemes","to":"BaseContacts55"}, + {"id":"FeatureThemes->KitUpdates","kind":"imports","from":"FeatureThemes","to":"KitUpdates"}, + {"id":"FeatureUpdates->CoreAnalytics59","kind":"imports","from":"FeatureUpdates","to":"CoreAnalytics59"}, + {"id":"FeatureUpdates->KitFavorites","kind":"imports","from":"FeatureUpdates","to":"KitFavorites"}, + {"id":"FeatureWindows->CoreUpdates67","kind":"imports","from":"FeatureWindows","to":"CoreUpdates67"}, + {"id":"FeatureWindows->KitFavorites52","kind":"imports","from":"FeatureWindows","to":"KitFavorites52"}, + {"id":"FeatureWindows38->KitLicensing61","kind":"imports","from":"FeatureWindows38","to":"KitLicensing61"}, + {"id":"FeatureWindows38->KitOnboarding87","kind":"imports","from":"FeatureWindows38","to":"KitOnboarding87"}, + {"id":"KitAccounts->CoreSync88","kind":"imports","from":"KitAccounts","to":"CoreSync88"}, + {"id":"KitAccounts->CoreUpdates37","kind":"imports","from":"KitAccounts","to":"CoreUpdates37"}, + {"id":"KitAccounts42->CoreBilling","kind":"imports","from":"KitAccounts42","to":"CoreBilling"}, + {"id":"KitAccounts42->CoreReminders","kind":"imports","from":"KitAccounts42","to":"CoreReminders"}, + {"id":"KitAccounts72->CoreCatalog55","kind":"imports","from":"KitAccounts72","to":"CoreCatalog55"}, + {"id":"KitAccounts72->CoreCommands81","kind":"imports","from":"KitAccounts72","to":"CoreCommands81"}, + {"id":"KitActions->BaseStorage","kind":"imports","from":"KitActions","to":"BaseStorage"}, + {"id":"KitActions->CoreIndexing69","kind":"imports","from":"KitActions","to":"CoreIndexing69"}, + {"id":"KitActions55->CoreAccounts33","kind":"imports","from":"KitActions55","to":"CoreAccounts33"}, + {"id":"KitActions55->CoreClipboard38","kind":"imports","from":"KitActions55","to":"CoreClipboard38"}, + {"id":"KitActions85->CoreCatalog","kind":"imports","from":"KitActions85","to":"CoreCatalog"}, + {"id":"KitActions85->CoreExtensions30","kind":"imports","from":"KitActions85","to":"CoreExtensions30"}, + {"id":"KitAnalytics->CoreNotes65","kind":"imports","from":"KitAnalytics","to":"CoreNotes65"}, + {"id":"KitAnalytics->LibCommands","kind":"imports","from":"KitAnalytics","to":"LibCommands"}, + {"id":"KitAnalytics38->CoreIndexing","kind":"imports","from":"KitAnalytics38","to":"CoreIndexing"}, + {"id":"KitAnalytics38->LibCommands","kind":"imports","from":"KitAnalytics38","to":"LibCommands"}, + {"id":"KitAnalytics68->BaseShortcuts","kind":"imports","from":"KitAnalytics68","to":"BaseShortcuts"}, + {"id":"KitAnalytics68->CoreThemes84","kind":"imports","from":"KitAnalytics68","to":"CoreThemes84"}, + {"id":"KitBilling->CoreFiles","kind":"imports","from":"KitBilling","to":"CoreFiles"}, + {"id":"KitBilling->LibIndexing","kind":"imports","from":"KitBilling","to":"LibIndexing"}, + {"id":"KitBilling51->CoreBilling72","kind":"imports","from":"KitBilling51","to":"CoreBilling72"}, + {"id":"KitBilling51->CoreWindows80","kind":"imports","from":"KitBilling51","to":"CoreWindows80"}, + {"id":"KitBilling81->CoreFiles","kind":"imports","from":"KitBilling81","to":"CoreFiles"}, + {"id":"KitBilling81->CorePreferences31","kind":"imports","from":"KitBilling81","to":"CorePreferences31"}, + {"id":"KitCatalog->BaseSettings57","kind":"imports","from":"KitCatalog","to":"BaseSettings57"}, + {"id":"KitCatalog->CoreThemes84","kind":"imports","from":"KitCatalog","to":"CoreThemes84"}, + {"id":"KitCatalog34->CoreClipboard68","kind":"imports","from":"KitCatalog34","to":"CoreClipboard68"}, + {"id":"KitCatalog34->CoreSettings96","kind":"imports","from":"KitCatalog34","to":"CoreSettings96"}, + {"id":"KitCatalog64->CoreAccounts63","kind":"imports","from":"KitCatalog64","to":"CoreAccounts63"}, + {"id":"KitCatalog64->CoreCatalog55","kind":"imports","from":"KitCatalog64","to":"CoreCatalog55"}, + {"id":"KitClipboard->CoreReminders70","kind":"imports","from":"KitClipboard","to":"CoreReminders70"}, + {"id":"KitClipboard->CoreSettings","kind":"imports","from":"KitClipboard","to":"CoreSettings"}, + {"id":"KitClipboard47->CoreCatalog55","kind":"imports","from":"KitClipboard47","to":"CoreCatalog55"}, + {"id":"KitClipboard47->CorePreferences","kind":"imports","from":"KitClipboard47","to":"CorePreferences"}, + {"id":"KitClipboard77->CoreContacts34","kind":"imports","from":"KitClipboard77","to":"CoreContacts34"}, + {"id":"KitClipboard77->CoreFavorites43","kind":"imports","from":"KitClipboard77","to":"CoreFavorites43"}, + {"id":"KitCommands->BaseSync","kind":"imports","from":"KitCommands","to":"BaseSync"}, + {"id":"KitCommands->CoreShortcuts49","kind":"imports","from":"KitCommands","to":"CoreShortcuts49"}, + {"id":"KitCommands30->BaseWindows41","kind":"imports","from":"KitCommands30","to":"BaseWindows41"}, + {"id":"KitCommands30->CoreShortcuts49","kind":"imports","from":"KitCommands30","to":"CoreShortcuts49"}, + {"id":"KitCommands60->CoreBilling72","kind":"imports","from":"KitCommands60","to":"CoreBilling72"}, + {"id":"KitCommands60->CoreShortcuts79","kind":"imports","from":"KitCommands60","to":"CoreShortcuts79"}, + {"id":"KitContacts->CorePreferences31","kind":"imports","from":"KitContacts","to":"CorePreferences31"}, + {"id":"KitContacts->LibSettings","kind":"imports","from":"KitContacts","to":"LibSettings"}, + {"id":"KitContacts43->CoreActions76","kind":"imports","from":"KitContacts43","to":"CoreActions76"}, + {"id":"KitContacts43->CoreFavorites73","kind":"imports","from":"KitContacts43","to":"CoreFavorites73"}, + {"id":"KitContacts73->BaseReminders31","kind":"imports","from":"KitContacts73","to":"BaseReminders31"}, + {"id":"KitContacts73->CoreRanking87","kind":"imports","from":"KitContacts73","to":"CoreRanking87"}, + {"id":"KitDocuments->CoreCommands","kind":"imports","from":"KitDocuments","to":"CoreCommands"}, + {"id":"KitDocuments->CoreFiles","kind":"imports","from":"KitDocuments","to":"CoreFiles"}, + {"id":"KitDocuments56->BaseStorage36","kind":"imports","from":"KitDocuments56","to":"BaseStorage36"}, + {"id":"KitDocuments56->CoreCatalog85","kind":"imports","from":"KitDocuments56","to":"CoreCatalog85"}, + {"id":"KitDocuments86->CoreExtensions90","kind":"imports","from":"KitDocuments86","to":"CoreExtensions90"}, + {"id":"KitDocuments86->CoreNotes95","kind":"imports","from":"KitDocuments86","to":"CoreNotes95"}, + {"id":"KitExtensions->BaseRanking48","kind":"imports","from":"KitExtensions","to":"BaseRanking48"}, + {"id":"KitExtensions->CoreClipboard38","kind":"imports","from":"KitExtensions","to":"CoreClipboard38"}, + {"id":"KitExtensions39->BaseExtensions","kind":"imports","from":"KitExtensions39","to":"BaseExtensions"}, + {"id":"KitExtensions39->CoreWindows","kind":"imports","from":"KitExtensions39","to":"CoreWindows"}, + {"id":"KitExtensions69->CoreSettings66","kind":"imports","from":"KitExtensions69","to":"CoreSettings66"}, + {"id":"KitExtensions69->CoreShortcuts79","kind":"imports","from":"KitExtensions69","to":"CoreShortcuts79"}, + {"id":"KitFavorites->BaseSnippets53","kind":"imports","from":"KitFavorites","to":"BaseSnippets53"}, + {"id":"KitFavorites->CoreWindows50","kind":"imports","from":"KitFavorites","to":"CoreWindows50"}, + {"id":"KitFavorites52->CoreFavorites","kind":"imports","from":"KitFavorites52","to":"CoreFavorites"}, + {"id":"KitFavorites52->LibClipboard","kind":"imports","from":"KitFavorites52","to":"LibClipboard"}, + {"id":"KitFavorites82->CoreLicensing82","kind":"imports","from":"KitFavorites82","to":"CoreLicensing82"}, + {"id":"KitFavorites82->CoreRanking","kind":"imports","from":"KitFavorites82","to":"CoreRanking"}, + {"id":"KitFiles->CoreSearch83","kind":"imports","from":"KitFiles","to":"CoreSearch83"}, + {"id":"KitFiles->CoreSync58","kind":"imports","from":"KitFiles","to":"CoreSync58"}, + {"id":"KitFiles35->CoreContacts64","kind":"imports","from":"KitFiles35","to":"CoreContacts64"}, + {"id":"KitFiles35->LibWindows","kind":"imports","from":"KitFiles35","to":"LibWindows"}, + {"id":"KitFiles65->CoreContacts","kind":"imports","from":"KitFiles65","to":"CoreContacts"}, + {"id":"KitFiles65->CoreExtensions30","kind":"imports","from":"KitFiles65","to":"CoreExtensions30"}, + {"id":"KitIndexing->CoreIndexing69","kind":"imports","from":"KitIndexing","to":"CoreIndexing69"}, + {"id":"KitIndexing->CoreSettings36","kind":"imports","from":"KitIndexing","to":"CoreSettings36"}, + {"id":"KitIndexing48->CoreAccounts93","kind":"imports","from":"KitIndexing48","to":"CoreAccounts93"}, + {"id":"KitIndexing48->CoreExtensions30","kind":"imports","from":"KitIndexing48","to":"CoreExtensions30"}, + {"id":"KitIndexing78->BaseRanking","kind":"imports","from":"KitIndexing78","to":"BaseRanking"}, + {"id":"KitIndexing78->CoreFiles56","kind":"imports","from":"KitIndexing78","to":"CoreFiles56"}, + {"id":"KitLicensing->CoreReminders","kind":"imports","from":"KitLicensing","to":"CoreReminders"}, + {"id":"KitLicensing->CoreShortcuts79","kind":"imports","from":"KitLicensing","to":"CoreShortcuts79"}, + {"id":"KitLicensing31->BaseUpdates58","kind":"imports","from":"KitLicensing31","to":"BaseUpdates58"}, + {"id":"KitLicensing31->CoreCommands81","kind":"imports","from":"KitLicensing31","to":"CoreCommands81"}, + {"id":"KitLicensing61->CoreContacts34","kind":"imports","from":"KitLicensing61","to":"CoreContacts34"}, + {"id":"KitLicensing61->CorePreferences31","kind":"imports","from":"KitLicensing61","to":"CorePreferences31"}, + {"id":"KitNotes->BaseAnalytics","kind":"imports","from":"KitNotes","to":"BaseAnalytics"}, + {"id":"KitNotes->CoreWindows50","kind":"imports","from":"KitNotes","to":"CoreWindows50"}, + {"id":"KitNotes44->BaseRanking","kind":"imports","from":"KitNotes44","to":"BaseRanking"}, + {"id":"KitNotes44->CoreNotes95","kind":"imports","from":"KitNotes44","to":"CoreNotes95"}, + {"id":"KitNotes74->CoreFavorites","kind":"imports","from":"KitNotes74","to":"CoreFavorites"}, + {"id":"KitNotes74->CorePreferences","kind":"imports","from":"KitNotes74","to":"CorePreferences"}, + {"id":"KitOnboarding->BaseReminders31","kind":"imports","from":"KitOnboarding","to":"BaseReminders31"}, + {"id":"KitOnboarding->CoreAnalytics89","kind":"imports","from":"KitOnboarding","to":"CoreAnalytics89"}, + {"id":"KitOnboarding57->CorePreferences31","kind":"imports","from":"KitOnboarding57","to":"CorePreferences31"}, + {"id":"KitOnboarding57->CoreSettings96","kind":"imports","from":"KitOnboarding57","to":"CoreSettings96"}, + {"id":"KitOnboarding87->BaseThemes","kind":"imports","from":"KitOnboarding87","to":"BaseThemes"}, + {"id":"KitOnboarding87->CoreNotes95","kind":"imports","from":"KitOnboarding87","to":"CoreNotes95"}, + {"id":"KitPreferences->CoreLicensing82","kind":"imports","from":"KitPreferences","to":"CoreLicensing82"}, + {"id":"KitPreferences->CoreRanking","kind":"imports","from":"KitPreferences","to":"CoreRanking"}, + {"id":"KitPreferences40->CoreCatalog85","kind":"imports","from":"KitPreferences40","to":"CoreCatalog85"}, + {"id":"KitPreferences40->CorePreviews44","kind":"imports","from":"KitPreferences40","to":"CorePreviews44"}, + {"id":"KitPreferences70->BaseNotes56","kind":"imports","from":"KitPreferences70","to":"BaseNotes56"}, + {"id":"KitPreferences70->CoreClipboard98","kind":"imports","from":"KitPreferences70","to":"CoreClipboard98"}, + {"id":"KitPreviews->CoreFavorites73","kind":"imports","from":"KitPreviews","to":"CoreFavorites73"}, + {"id":"KitPreviews->CoreShortcuts","kind":"imports","from":"KitPreviews","to":"CoreShortcuts"}, + {"id":"KitPreviews53->CoreNotes95","kind":"imports","from":"KitPreviews53","to":"CoreNotes95"}, + {"id":"KitPreviews53->CoreSnippets92","kind":"imports","from":"KitPreviews53","to":"CoreSnippets92"}, + {"id":"KitPreviews83->CoreCommands","kind":"imports","from":"KitPreviews83","to":"CoreCommands"}, + {"id":"KitPreviews83->CoreFiles56","kind":"imports","from":"KitPreviews83","to":"CoreFiles56"}, + {"id":"KitRanking->CoreContacts","kind":"imports","from":"KitRanking","to":"CoreContacts"}, + {"id":"KitRanking->CoreNotes35","kind":"imports","from":"KitRanking","to":"CoreNotes35"}, + {"id":"KitRanking36->CoreCatalog","kind":"imports","from":"KitRanking36","to":"CoreCatalog"}, + {"id":"KitRanking36->LibTelemetry","kind":"imports","from":"KitRanking36","to":"LibTelemetry"}, + {"id":"KitRanking66->BaseThemes","kind":"imports","from":"KitRanking66","to":"BaseThemes"}, + {"id":"KitRanking66->CoreAccounts","kind":"imports","from":"KitRanking66","to":"CoreAccounts"}, + {"id":"KitReminders->CoreIndexing","kind":"imports","from":"KitReminders","to":"CoreIndexing"}, + {"id":"KitReminders->CoreOnboarding","kind":"imports","from":"KitReminders","to":"CoreOnboarding"}, + {"id":"KitReminders49->BaseContacts","kind":"imports","from":"KitReminders49","to":"BaseContacts"}, + {"id":"KitReminders49->CoreActions76","kind":"imports","from":"KitReminders49","to":"CoreActions76"}, + {"id":"KitReminders79->BaseOnboarding","kind":"imports","from":"KitReminders79","to":"BaseOnboarding"}, + {"id":"KitReminders79->CoreRanking","kind":"imports","from":"KitReminders79","to":"CoreRanking"}, + {"id":"KitSearch->CoreClipboard38","kind":"imports","from":"KitSearch","to":"CoreClipboard38"}, + {"id":"KitSearch->CoreSnippets32","kind":"imports","from":"KitSearch","to":"CoreSnippets32"}, + {"id":"KitSearch32->CoreCommands51","kind":"imports","from":"KitSearch32","to":"CoreCommands51"}, + {"id":"KitSearch32->LibContacts","kind":"imports","from":"KitSearch32","to":"LibContacts"}, + {"id":"KitSearch62->CoreDocuments47","kind":"imports","from":"KitSearch62","to":"CoreDocuments47"}, + {"id":"KitSearch62->CoreOnboarding48","kind":"imports","from":"KitSearch62","to":"CoreOnboarding48"}, + {"id":"KitSettings->CoreCommands51","kind":"imports","from":"KitSettings","to":"CoreCommands51"}, + {"id":"KitSettings->CorePreviews","kind":"imports","from":"KitSettings","to":"CorePreviews"}, + {"id":"KitSettings45->CoreRanking87","kind":"imports","from":"KitSettings45","to":"CoreRanking87"}, + {"id":"KitSettings45->CoreSearch53","kind":"imports","from":"KitSettings45","to":"CoreSearch53"}, + {"id":"KitSettings75->CoreIndexing39","kind":"imports","from":"KitSettings75","to":"CoreIndexing39"}, + {"id":"KitSettings75->CoreShortcuts","kind":"imports","from":"KitSettings75","to":"CoreShortcuts"}, + {"id":"KitShortcuts->CoreRanking87","kind":"imports","from":"KitShortcuts","to":"CoreRanking87"}, + {"id":"KitShortcuts->CoreWindows80","kind":"imports","from":"KitShortcuts","to":"CoreWindows80"}, + {"id":"KitShortcuts58->CoreExtensions60","kind":"imports","from":"KitShortcuts58","to":"CoreExtensions60"}, + {"id":"KitShortcuts58->CoreSync58","kind":"imports","from":"KitShortcuts58","to":"CoreSync58"}, + {"id":"KitShortcuts88->BaseCommands42","kind":"imports","from":"KitShortcuts88","to":"BaseCommands42"}, + {"id":"KitShortcuts88->CoreTelemetry","kind":"imports","from":"KitShortcuts88","to":"CoreTelemetry"}, + {"id":"KitSnippets->BaseAccounts54","kind":"imports","from":"KitSnippets","to":"BaseAccounts54"}, + {"id":"KitSnippets->CoreClipboard","kind":"imports","from":"KitSnippets","to":"CoreClipboard"}, + {"id":"KitSnippets41->CoreDocuments","kind":"imports","from":"KitSnippets41","to":"CoreDocuments"}, + {"id":"KitSnippets41->CorePreferences91","kind":"imports","from":"KitSnippets41","to":"CorePreferences91"}, + {"id":"KitSnippets71->CoreFiles86","kind":"imports","from":"KitSnippets71","to":"CoreFiles86"}, + {"id":"KitSnippets71->CoreSnippets92","kind":"imports","from":"KitSnippets71","to":"CoreSnippets92"}, + {"id":"KitStorage->CoreShortcuts49","kind":"imports","from":"KitStorage","to":"CoreShortcuts49"}, + {"id":"KitStorage->CoreStorage","kind":"imports","from":"KitStorage","to":"CoreStorage"}, + {"id":"KitStorage54->CoreActions76","kind":"imports","from":"KitStorage54","to":"CoreActions76"}, + {"id":"KitStorage54->CoreIndexing","kind":"imports","from":"KitStorage54","to":"CoreIndexing"}, + {"id":"KitStorage84->CoreIndexing99","kind":"imports","from":"KitStorage84","to":"CoreIndexing99"}, + {"id":"KitStorage84->CoreReminders70","kind":"imports","from":"KitStorage84","to":"CoreReminders70"}, + {"id":"KitSync->BaseShortcuts40","kind":"imports","from":"KitSync","to":"BaseShortcuts40"}, + {"id":"KitSync->CoreTelemetry71","kind":"imports","from":"KitSync","to":"CoreTelemetry71"}, + {"id":"KitSync37->BaseAccounts","kind":"imports","from":"KitSync37","to":"BaseAccounts"}, + {"id":"KitSync37->CoreCommands81","kind":"imports","from":"KitSync37","to":"CoreCommands81"}, + {"id":"KitSync67->CoreFiles56","kind":"imports","from":"KitSync67","to":"CoreFiles56"}, + {"id":"KitSync67->CorePreviews74","kind":"imports","from":"KitSync67","to":"CorePreviews74"}, + {"id":"KitTelemetry->BaseDocuments","kind":"imports","from":"KitTelemetry","to":"BaseDocuments"}, + {"id":"KitTelemetry->CoreCatalog85","kind":"imports","from":"KitTelemetry","to":"CoreCatalog85"}, + {"id":"KitTelemetry50->CoreClipboard98","kind":"imports","from":"KitTelemetry50","to":"CoreClipboard98"}, + {"id":"KitTelemetry50->CoreCommands","kind":"imports","from":"KitTelemetry50","to":"CoreCommands"}, + {"id":"KitTelemetry80->CoreContacts64","kind":"imports","from":"KitTelemetry80","to":"CoreContacts64"}, + {"id":"KitTelemetry80->CoreOnboarding78","kind":"imports","from":"KitTelemetry80","to":"CoreOnboarding78"}, + {"id":"KitThemes->BaseFiles47","kind":"imports","from":"KitThemes","to":"BaseFiles47"}, + {"id":"KitThemes->CoreClipboard38","kind":"imports","from":"KitThemes","to":"CoreClipboard38"}, + {"id":"KitThemes33->CoreContacts94","kind":"imports","from":"KitThemes33","to":"CoreContacts94"}, + {"id":"KitThemes33->CoreTelemetry71","kind":"imports","from":"KitThemes33","to":"CoreTelemetry71"}, + {"id":"KitThemes63->CoreNotes","kind":"imports","from":"KitThemes63","to":"CoreNotes"}, + {"id":"KitThemes63->CoreSync88","kind":"imports","from":"KitThemes63","to":"CoreSync88"}, + {"id":"KitUpdates->CoreAccounts93","kind":"imports","from":"KitUpdates","to":"CoreAccounts93"}, + {"id":"KitUpdates->CoreCommands81","kind":"imports","from":"KitUpdates","to":"CoreCommands81"}, + {"id":"KitUpdates46->BaseCommands42","kind":"imports","from":"KitUpdates46","to":"BaseCommands42"}, + {"id":"KitUpdates46->CoreReminders70","kind":"imports","from":"KitUpdates46","to":"CoreReminders70"}, + {"id":"KitUpdates76->CoreCatalog85","kind":"imports","from":"KitUpdates76","to":"CoreCatalog85"}, + {"id":"KitUpdates76->CoreWindows","kind":"imports","from":"KitUpdates76","to":"CoreWindows"}, + {"id":"KitWindows->BasePreferences52","kind":"imports","from":"KitWindows","to":"BasePreferences52"}, + {"id":"KitWindows->CoreCommands81","kind":"imports","from":"KitWindows","to":"CoreCommands81"}, + {"id":"KitWindows59->CoreReminders40","kind":"imports","from":"KitWindows59","to":"CoreReminders40"}, + {"id":"KitWindows59->CoreStorage75","kind":"imports","from":"KitWindows59","to":"CoreStorage75"}, + {"id":"KitWindows89->CoreBilling42","kind":"imports","from":"KitWindows89","to":"CoreBilling42"}, + {"id":"KitWindows89->LibAccounts","kind":"imports","from":"KitWindows89","to":"LibAccounts"} + ] +} diff --git a/packages/renderers/graph/fixtures/module-graph-large-before.json b/packages/renderers/graph/fixtures/module-graph-large-before.json new file mode 100644 index 000000000..1a2bb74f7 --- /dev/null +++ b/packages/renderers/graph/fixtures/module-graph-large-before.json @@ -0,0 +1,920 @@ +{ + "protocolVersion": 0, + "schema": "graph/v0", + "entities": [ + {"id":"AppAccounts","kind":"module","label":"AppAccounts"}, + {"id":"AppClipboard","kind":"module","label":"AppClipboard"}, + {"id":"AppContacts","kind":"module","label":"AppContacts"}, + {"id":"AppNotes","kind":"module","label":"AppNotes"}, + {"id":"AppSettings","kind":"module","label":"AppSettings"}, + {"id":"AppUpdates","kind":"module","label":"AppUpdates"}, + {"id":"BaseAccounts","kind":"module","label":"BaseAccounts"}, + {"id":"BaseAccounts54","kind":"module","label":"BaseAccounts54"}, + {"id":"BaseActions","kind":"module","label":"BaseActions"}, + {"id":"BaseActions37","kind":"module","label":"BaseActions37"}, + {"id":"BaseAnalytics","kind":"module","label":"BaseAnalytics"}, + {"id":"BaseAnalytics50","kind":"module","label":"BaseAnalytics50"}, + {"id":"BaseBilling","kind":"module","label":"BaseBilling"}, + {"id":"BaseBilling33","kind":"module","label":"BaseBilling33"}, + {"id":"BaseCatalog","kind":"module","label":"BaseCatalog"}, + {"id":"BaseCatalog46","kind":"module","label":"BaseCatalog46"}, + {"id":"BaseClipboard","kind":"module","label":"BaseClipboard"}, + {"id":"BaseClipboard59","kind":"module","label":"BaseClipboard59"}, + {"id":"BaseCommands","kind":"module","label":"BaseCommands"}, + {"id":"BaseCommands42","kind":"module","label":"BaseCommands42"}, + {"id":"BaseContacts","kind":"module","label":"BaseContacts"}, + {"id":"BaseContacts55","kind":"module","label":"BaseContacts55"}, + {"id":"BaseDocuments","kind":"module","label":"BaseDocuments"}, + {"id":"BaseDocuments38","kind":"module","label":"BaseDocuments38"}, + {"id":"BaseExtensions","kind":"module","label":"BaseExtensions"}, + {"id":"BaseExtensions51","kind":"module","label":"BaseExtensions51"}, + {"id":"BaseFavorites","kind":"module","label":"BaseFavorites"}, + {"id":"BaseFavorites34","kind":"module","label":"BaseFavorites34"}, + {"id":"BaseFiles","kind":"module","label":"BaseFiles"}, + {"id":"BaseFiles47","kind":"module","label":"BaseFiles47"}, + {"id":"BaseIndexing","kind":"module","label":"BaseIndexing"}, + {"id":"BaseIndexing30","kind":"module","label":"BaseIndexing30"}, + {"id":"BaseLicensing","kind":"module","label":"BaseLicensing"}, + {"id":"BaseLicensing43","kind":"module","label":"BaseLicensing43"}, + {"id":"BaseNotes","kind":"module","label":"BaseNotes"}, + {"id":"BaseNotes56","kind":"module","label":"BaseNotes56"}, + {"id":"BaseOnboarding","kind":"module","label":"BaseOnboarding"}, + {"id":"BaseOnboarding39","kind":"module","label":"BaseOnboarding39"}, + {"id":"BasePreferences","kind":"module","label":"BasePreferences"}, + {"id":"BasePreferences52","kind":"module","label":"BasePreferences52"}, + {"id":"BasePreviews","kind":"module","label":"BasePreviews"}, + {"id":"BasePreviews35","kind":"module","label":"BasePreviews35"}, + {"id":"BaseRanking","kind":"module","label":"BaseRanking"}, + {"id":"BaseRanking48","kind":"module","label":"BaseRanking48"}, + {"id":"BaseReminders","kind":"module","label":"BaseReminders"}, + {"id":"BaseReminders31","kind":"module","label":"BaseReminders31"}, + {"id":"BaseSearch","kind":"module","label":"BaseSearch"}, + {"id":"BaseSearch44","kind":"module","label":"BaseSearch44"}, + {"id":"BaseSettings","kind":"module","label":"BaseSettings"}, + {"id":"BaseSettings57","kind":"module","label":"BaseSettings57"}, + {"id":"BaseShortcuts","kind":"module","label":"BaseShortcuts"}, + {"id":"BaseShortcuts40","kind":"module","label":"BaseShortcuts40"}, + {"id":"BaseSnippets","kind":"module","label":"BaseSnippets"}, + {"id":"BaseSnippets53","kind":"module","label":"BaseSnippets53"}, + {"id":"BaseStorage","kind":"module","label":"BaseStorage"}, + {"id":"BaseStorage36","kind":"module","label":"BaseStorage36"}, + {"id":"BaseSync","kind":"module","label":"BaseSync"}, + {"id":"BaseSync49","kind":"module","label":"BaseSync49"}, + {"id":"BaseTelemetry","kind":"module","label":"BaseTelemetry"}, + {"id":"BaseTelemetry32","kind":"module","label":"BaseTelemetry32"}, + {"id":"BaseThemes","kind":"module","label":"BaseThemes"}, + {"id":"BaseThemes45","kind":"module","label":"BaseThemes45"}, + {"id":"BaseUpdates","kind":"module","label":"BaseUpdates"}, + {"id":"BaseUpdates58","kind":"module","label":"BaseUpdates58"}, + {"id":"BaseWindows","kind":"module","label":"BaseWindows"}, + {"id":"BaseWindows41","kind":"module","label":"BaseWindows41"}, + {"id":"CoreAccounts","kind":"module","label":"CoreAccounts"}, + {"id":"CoreAccounts33","kind":"module","label":"CoreAccounts33"}, + {"id":"CoreAccounts63","kind":"module","label":"CoreAccounts63"}, + {"id":"CoreAccounts93","kind":"module","label":"CoreAccounts93"}, + {"id":"CoreActions","kind":"module","label":"CoreActions"}, + {"id":"CoreActions46","kind":"module","label":"CoreActions46"}, + {"id":"CoreActions76","kind":"module","label":"CoreActions76"}, + {"id":"CoreAnalytics","kind":"module","label":"CoreAnalytics"}, + {"id":"CoreAnalytics59","kind":"module","label":"CoreAnalytics59"}, + {"id":"CoreAnalytics89","kind":"module","label":"CoreAnalytics89"}, + {"id":"CoreBilling","kind":"module","label":"CoreBilling"}, + {"id":"CoreBilling42","kind":"module","label":"CoreBilling42"}, + {"id":"CoreBilling72","kind":"module","label":"CoreBilling72"}, + {"id":"CoreCatalog","kind":"module","label":"CoreCatalog"}, + {"id":"CoreCatalog55","kind":"module","label":"CoreCatalog55"}, + {"id":"CoreCatalog85","kind":"module","label":"CoreCatalog85"}, + {"id":"CoreClipboard","kind":"module","label":"CoreClipboard"}, + {"id":"CoreClipboard38","kind":"module","label":"CoreClipboard38"}, + {"id":"CoreClipboard68","kind":"module","label":"CoreClipboard68"}, + {"id":"CoreClipboard98","kind":"module","label":"CoreClipboard98"}, + {"id":"CoreCommands","kind":"module","label":"CoreCommands"}, + {"id":"CoreCommands51","kind":"module","label":"CoreCommands51"}, + {"id":"CoreCommands81","kind":"module","label":"CoreCommands81"}, + {"id":"CoreContacts","kind":"module","label":"CoreContacts"}, + {"id":"CoreContacts34","kind":"module","label":"CoreContacts34"}, + {"id":"CoreContacts64","kind":"module","label":"CoreContacts64"}, + {"id":"CoreContacts94","kind":"module","label":"CoreContacts94"}, + {"id":"CoreDocuments","kind":"module","label":"CoreDocuments"}, + {"id":"CoreDocuments47","kind":"module","label":"CoreDocuments47"}, + {"id":"CoreDocuments77","kind":"module","label":"CoreDocuments77"}, + {"id":"CoreExtensions","kind":"module","label":"CoreExtensions"}, + {"id":"CoreExtensions30","kind":"module","label":"CoreExtensions30"}, + {"id":"CoreExtensions60","kind":"module","label":"CoreExtensions60"}, + {"id":"CoreExtensions90","kind":"module","label":"CoreExtensions90"}, + {"id":"CoreFavorites","kind":"module","label":"CoreFavorites"}, + {"id":"CoreFavorites43","kind":"module","label":"CoreFavorites43"}, + {"id":"CoreFavorites73","kind":"module","label":"CoreFavorites73"}, + {"id":"CoreFiles","kind":"module","label":"CoreFiles"}, + {"id":"CoreFiles56","kind":"module","label":"CoreFiles56"}, + {"id":"CoreFiles86","kind":"module","label":"CoreFiles86"}, + {"id":"CoreIndexing","kind":"module","label":"CoreIndexing"}, + {"id":"CoreIndexing39","kind":"module","label":"CoreIndexing39"}, + {"id":"CoreIndexing69","kind":"module","label":"CoreIndexing69"}, + {"id":"CoreIndexing99","kind":"module","label":"CoreIndexing99"}, + {"id":"CoreLicensing","kind":"module","label":"CoreLicensing"}, + {"id":"CoreLicensing52","kind":"module","label":"CoreLicensing52"}, + {"id":"CoreLicensing82","kind":"module","label":"CoreLicensing82"}, + {"id":"CoreNotes","kind":"module","label":"CoreNotes"}, + {"id":"CoreNotes35","kind":"module","label":"CoreNotes35"}, + {"id":"CoreNotes65","kind":"module","label":"CoreNotes65"}, + {"id":"CoreNotes95","kind":"module","label":"CoreNotes95"}, + {"id":"CoreOnboarding","kind":"module","label":"CoreOnboarding"}, + {"id":"CoreOnboarding48","kind":"module","label":"CoreOnboarding48"}, + {"id":"CoreOnboarding78","kind":"module","label":"CoreOnboarding78"}, + {"id":"CorePreferences","kind":"module","label":"CorePreferences"}, + {"id":"CorePreferences31","kind":"module","label":"CorePreferences31"}, + {"id":"CorePreferences61","kind":"module","label":"CorePreferences61"}, + {"id":"CorePreferences91","kind":"module","label":"CorePreferences91"}, + {"id":"CorePreviews","kind":"module","label":"CorePreviews"}, + {"id":"CorePreviews44","kind":"module","label":"CorePreviews44"}, + {"id":"CorePreviews74","kind":"module","label":"CorePreviews74"}, + {"id":"CoreRanking","kind":"module","label":"CoreRanking"}, + {"id":"CoreRanking57","kind":"module","label":"CoreRanking57"}, + {"id":"CoreRanking87","kind":"module","label":"CoreRanking87"}, + {"id":"CoreReminders","kind":"module","label":"CoreReminders"}, + {"id":"CoreReminders40","kind":"module","label":"CoreReminders40"}, + {"id":"CoreReminders70","kind":"module","label":"CoreReminders70"}, + {"id":"CoreSearch","kind":"module","label":"CoreSearch"}, + {"id":"CoreSearch53","kind":"module","label":"CoreSearch53"}, + {"id":"CoreSearch83","kind":"module","label":"CoreSearch83"}, + {"id":"CoreSettings","kind":"module","label":"CoreSettings"}, + {"id":"CoreSettings36","kind":"module","label":"CoreSettings36"}, + {"id":"CoreSettings66","kind":"module","label":"CoreSettings66"}, + {"id":"CoreSettings96","kind":"module","label":"CoreSettings96"}, + {"id":"CoreShortcuts","kind":"module","label":"CoreShortcuts"}, + {"id":"CoreShortcuts49","kind":"module","label":"CoreShortcuts49"}, + {"id":"CoreShortcuts79","kind":"module","label":"CoreShortcuts79"}, + {"id":"CoreSnippets","kind":"module","label":"CoreSnippets"}, + {"id":"CoreSnippets32","kind":"module","label":"CoreSnippets32"}, + {"id":"CoreSnippets62","kind":"module","label":"CoreSnippets62"}, + {"id":"CoreSnippets92","kind":"module","label":"CoreSnippets92"}, + {"id":"CoreStorage","kind":"module","label":"CoreStorage"}, + {"id":"CoreStorage45","kind":"module","label":"CoreStorage45"}, + {"id":"CoreStorage75","kind":"module","label":"CoreStorage75"}, + {"id":"CoreSync","kind":"module","label":"CoreSync"}, + {"id":"CoreSync58","kind":"module","label":"CoreSync58"}, + {"id":"CoreSync88","kind":"module","label":"CoreSync88"}, + {"id":"CoreTelemetry","kind":"module","label":"CoreTelemetry"}, + {"id":"CoreTelemetry41","kind":"module","label":"CoreTelemetry41"}, + {"id":"CoreTelemetry71","kind":"module","label":"CoreTelemetry71"}, + {"id":"CoreThemes","kind":"module","label":"CoreThemes"}, + {"id":"CoreThemes54","kind":"module","label":"CoreThemes54"}, + {"id":"CoreThemes84","kind":"module","label":"CoreThemes84"}, + {"id":"CoreUpdates","kind":"module","label":"CoreUpdates"}, + {"id":"CoreUpdates37","kind":"module","label":"CoreUpdates37"}, + {"id":"CoreUpdates67","kind":"module","label":"CoreUpdates67"}, + {"id":"CoreUpdates97","kind":"module","label":"CoreUpdates97"}, + {"id":"CoreWindows","kind":"module","label":"CoreWindows"}, + {"id":"CoreWindows50","kind":"module","label":"CoreWindows50"}, + {"id":"CoreWindows80","kind":"module","label":"CoreWindows80"}, + {"id":"FeatureAccounts","kind":"module","label":"FeatureAccounts"}, + {"id":"FeatureActions","kind":"module","label":"FeatureActions"}, + {"id":"FeatureActions34","kind":"module","label":"FeatureActions34"}, + {"id":"FeatureAnalytics","kind":"module","label":"FeatureAnalytics"}, + {"id":"FeatureBilling","kind":"module","label":"FeatureBilling"}, + {"id":"FeatureBilling30","kind":"module","label":"FeatureBilling30"}, + {"id":"FeatureCatalog","kind":"module","label":"FeatureCatalog"}, + {"id":"FeatureClipboard","kind":"module","label":"FeatureClipboard"}, + {"id":"FeatureCommands","kind":"module","label":"FeatureCommands"}, + {"id":"FeatureCommands39","kind":"module","label":"FeatureCommands39"}, + {"id":"FeatureContacts","kind":"module","label":"FeatureContacts"}, + {"id":"FeatureDocuments","kind":"module","label":"FeatureDocuments"}, + {"id":"FeatureDocuments35","kind":"module","label":"FeatureDocuments35"}, + {"id":"FeatureExtensions","kind":"module","label":"FeatureExtensions"}, + {"id":"FeatureFavorites","kind":"module","label":"FeatureFavorites"}, + {"id":"FeatureFavorites31","kind":"module","label":"FeatureFavorites31"}, + {"id":"FeatureFiles","kind":"module","label":"FeatureFiles"}, + {"id":"FeatureIndexing","kind":"module","label":"FeatureIndexing"}, + {"id":"FeatureLicensing","kind":"module","label":"FeatureLicensing"}, + {"id":"FeatureNotes","kind":"module","label":"FeatureNotes"}, + {"id":"FeatureOnboarding","kind":"module","label":"FeatureOnboarding"}, + {"id":"FeatureOnboarding36","kind":"module","label":"FeatureOnboarding36"}, + {"id":"FeaturePreferences","kind":"module","label":"FeaturePreferences"}, + {"id":"FeaturePreviews","kind":"module","label":"FeaturePreviews"}, + {"id":"FeaturePreviews32","kind":"module","label":"FeaturePreviews32"}, + {"id":"FeatureRanking","kind":"module","label":"FeatureRanking"}, + {"id":"FeatureReminders","kind":"module","label":"FeatureReminders"}, + {"id":"FeatureSearch","kind":"module","label":"FeatureSearch"}, + {"id":"FeatureSettings","kind":"module","label":"FeatureSettings"}, + {"id":"FeatureShortcuts","kind":"module","label":"FeatureShortcuts"}, + {"id":"FeatureShortcuts37","kind":"module","label":"FeatureShortcuts37"}, + {"id":"FeatureSnippets","kind":"module","label":"FeatureSnippets"}, + {"id":"FeatureStorage","kind":"module","label":"FeatureStorage"}, + {"id":"FeatureStorage33","kind":"module","label":"FeatureStorage33"}, + {"id":"FeatureSync","kind":"module","label":"FeatureSync"}, + {"id":"FeatureTelemetry","kind":"module","label":"FeatureTelemetry"}, + {"id":"FeatureThemes","kind":"module","label":"FeatureThemes"}, + {"id":"FeatureUpdates","kind":"module","label":"FeatureUpdates"}, + {"id":"FeatureWindows","kind":"module","label":"FeatureWindows"}, + {"id":"FeatureWindows38","kind":"module","label":"FeatureWindows38"}, + {"id":"KitAccounts","kind":"module","label":"KitAccounts"}, + {"id":"KitAccounts42","kind":"module","label":"KitAccounts42"}, + {"id":"KitAccounts72","kind":"module","label":"KitAccounts72"}, + {"id":"KitActions","kind":"module","label":"KitActions"}, + {"id":"KitActions55","kind":"module","label":"KitActions55"}, + {"id":"KitActions85","kind":"module","label":"KitActions85"}, + {"id":"KitAnalytics","kind":"module","label":"KitAnalytics"}, + {"id":"KitAnalytics38","kind":"module","label":"KitAnalytics38"}, + {"id":"KitAnalytics68","kind":"module","label":"KitAnalytics68"}, + {"id":"KitBilling","kind":"module","label":"KitBilling"}, + {"id":"KitBilling51","kind":"module","label":"KitBilling51"}, + {"id":"KitBilling81","kind":"module","label":"KitBilling81"}, + {"id":"KitCatalog","kind":"module","label":"KitCatalog"}, + {"id":"KitCatalog34","kind":"module","label":"KitCatalog34"}, + {"id":"KitCatalog64","kind":"module","label":"KitCatalog64"}, + {"id":"KitClipboard","kind":"module","label":"KitClipboard"}, + {"id":"KitClipboard47","kind":"module","label":"KitClipboard47"}, + {"id":"KitClipboard77","kind":"module","label":"KitClipboard77"}, + {"id":"KitCommands","kind":"module","label":"KitCommands"}, + {"id":"KitCommands30","kind":"module","label":"KitCommands30"}, + {"id":"KitCommands60","kind":"module","label":"KitCommands60"}, + {"id":"KitContacts","kind":"module","label":"KitContacts"}, + {"id":"KitContacts43","kind":"module","label":"KitContacts43"}, + {"id":"KitContacts73","kind":"module","label":"KitContacts73"}, + {"id":"KitDocuments","kind":"module","label":"KitDocuments"}, + {"id":"KitDocuments56","kind":"module","label":"KitDocuments56"}, + {"id":"KitDocuments86","kind":"module","label":"KitDocuments86"}, + {"id":"KitExtensions","kind":"module","label":"KitExtensions"}, + {"id":"KitExtensions39","kind":"module","label":"KitExtensions39"}, + {"id":"KitExtensions69","kind":"module","label":"KitExtensions69"}, + {"id":"KitFavorites","kind":"module","label":"KitFavorites"}, + {"id":"KitFavorites52","kind":"module","label":"KitFavorites52"}, + {"id":"KitFavorites82","kind":"module","label":"KitFavorites82"}, + {"id":"KitFiles","kind":"module","label":"KitFiles"}, + {"id":"KitFiles35","kind":"module","label":"KitFiles35"}, + {"id":"KitFiles65","kind":"module","label":"KitFiles65"}, + {"id":"KitIndexing","kind":"module","label":"KitIndexing"}, + {"id":"KitIndexing48","kind":"module","label":"KitIndexing48"}, + {"id":"KitIndexing78","kind":"module","label":"KitIndexing78"}, + {"id":"KitLicensing","kind":"module","label":"KitLicensing"}, + {"id":"KitLicensing31","kind":"module","label":"KitLicensing31"}, + {"id":"KitLicensing61","kind":"module","label":"KitLicensing61"}, + {"id":"KitNotes","kind":"module","label":"KitNotes"}, + {"id":"KitNotes44","kind":"module","label":"KitNotes44"}, + {"id":"KitNotes74","kind":"module","label":"KitNotes74"}, + {"id":"KitOnboarding","kind":"module","label":"KitOnboarding"}, + {"id":"KitOnboarding57","kind":"module","label":"KitOnboarding57"}, + {"id":"KitOnboarding87","kind":"module","label":"KitOnboarding87"}, + {"id":"KitPreferences","kind":"module","label":"KitPreferences"}, + {"id":"KitPreferences40","kind":"module","label":"KitPreferences40"}, + {"id":"KitPreferences70","kind":"module","label":"KitPreferences70"}, + {"id":"KitPreviews","kind":"module","label":"KitPreviews"}, + {"id":"KitPreviews53","kind":"module","label":"KitPreviews53"}, + {"id":"KitPreviews83","kind":"module","label":"KitPreviews83"}, + {"id":"KitRanking","kind":"module","label":"KitRanking"}, + {"id":"KitRanking36","kind":"module","label":"KitRanking36"}, + {"id":"KitRanking66","kind":"module","label":"KitRanking66"}, + {"id":"KitReminders","kind":"module","label":"KitReminders"}, + {"id":"KitReminders49","kind":"module","label":"KitReminders49"}, + {"id":"KitReminders79","kind":"module","label":"KitReminders79"}, + {"id":"KitSearch","kind":"module","label":"KitSearch"}, + {"id":"KitSearch32","kind":"module","label":"KitSearch32"}, + {"id":"KitSearch62","kind":"module","label":"KitSearch62"}, + {"id":"KitSettings","kind":"module","label":"KitSettings"}, + {"id":"KitSettings45","kind":"module","label":"KitSettings45"}, + {"id":"KitSettings75","kind":"module","label":"KitSettings75"}, + {"id":"KitShortcuts","kind":"module","label":"KitShortcuts"}, + {"id":"KitShortcuts58","kind":"module","label":"KitShortcuts58"}, + {"id":"KitShortcuts88","kind":"module","label":"KitShortcuts88"}, + {"id":"KitSnippets","kind":"module","label":"KitSnippets"}, + {"id":"KitSnippets41","kind":"module","label":"KitSnippets41"}, + {"id":"KitSnippets71","kind":"module","label":"KitSnippets71"}, + {"id":"KitStorage","kind":"module","label":"KitStorage"}, + {"id":"KitStorage54","kind":"module","label":"KitStorage54"}, + {"id":"KitStorage84","kind":"module","label":"KitStorage84"}, + {"id":"KitSync","kind":"module","label":"KitSync"}, + {"id":"KitSync37","kind":"module","label":"KitSync37"}, + {"id":"KitSync67","kind":"module","label":"KitSync67"}, + {"id":"KitTelemetry","kind":"module","label":"KitTelemetry"}, + {"id":"KitTelemetry50","kind":"module","label":"KitTelemetry50"}, + {"id":"KitTelemetry80","kind":"module","label":"KitTelemetry80"}, + {"id":"KitThemes","kind":"module","label":"KitThemes"}, + {"id":"KitThemes33","kind":"module","label":"KitThemes33"}, + {"id":"KitThemes63","kind":"module","label":"KitThemes63"}, + {"id":"KitUpdates","kind":"module","label":"KitUpdates"}, + {"id":"KitUpdates46","kind":"module","label":"KitUpdates46"}, + {"id":"KitUpdates76","kind":"module","label":"KitUpdates76"}, + {"id":"KitWindows","kind":"module","label":"KitWindows"}, + {"id":"KitWindows59","kind":"module","label":"KitWindows59"}, + {"id":"KitWindows89","kind":"module","label":"KitWindows89"}, + {"id":"LibAccounts","kind":"package","label":"LibAccounts"}, + {"id":"LibAnalytics","kind":"package","label":"LibAnalytics"}, + {"id":"LibCatalog","kind":"package","label":"LibCatalog"}, + {"id":"LibClipboard","kind":"package","label":"LibClipboard"}, + {"id":"LibCommands","kind":"package","label":"LibCommands"}, + {"id":"LibContacts","kind":"package","label":"LibContacts"}, + {"id":"LibExtensions","kind":"package","label":"LibExtensions"}, + {"id":"LibFiles","kind":"package","label":"LibFiles"}, + {"id":"LibIndexing","kind":"package","label":"LibIndexing"}, + {"id":"LibLicensing","kind":"package","label":"LibLicensing"}, + {"id":"LibNotes","kind":"package","label":"LibNotes"}, + {"id":"LibOnboarding","kind":"package","label":"LibOnboarding"}, + {"id":"LibPreferences","kind":"package","label":"LibPreferences"}, + {"id":"LibRanking","kind":"package","label":"LibRanking"}, + {"id":"LibReminders","kind":"package","label":"LibReminders"}, + {"id":"LibSearch","kind":"package","label":"LibSearch"}, + {"id":"LibSettings","kind":"package","label":"LibSettings"}, + {"id":"LibShortcuts","kind":"package","label":"LibShortcuts"}, + {"id":"LibSnippets","kind":"package","label":"LibSnippets"}, + {"id":"LibSync","kind":"package","label":"LibSync"}, + {"id":"LibTelemetry","kind":"package","label":"LibTelemetry"}, + {"id":"LibThemes","kind":"package","label":"LibThemes"}, + {"id":"LibUpdates","kind":"package","label":"LibUpdates"}, + {"id":"LibWindows","kind":"package","label":"LibWindows"} + ], + "relationships": [ + {"id":"AppAccounts->CoreDocuments47","kind":"imports","from":"AppAccounts","to":"CoreDocuments47"}, + {"id":"AppAccounts->FeatureContacts","kind":"imports","from":"AppAccounts","to":"FeatureContacts"}, + {"id":"AppClipboard->CoreSnippets32","kind":"imports","from":"AppClipboard","to":"CoreSnippets32"}, + {"id":"AppClipboard->FeatureIndexing","kind":"imports","from":"AppClipboard","to":"FeatureIndexing"}, + {"id":"AppContacts->CoreExtensions30","kind":"imports","from":"AppContacts","to":"CoreExtensions30"}, + {"id":"AppContacts->FeatureThemes","kind":"imports","from":"AppContacts","to":"FeatureThemes"}, + {"id":"AppNotes->FeatureClipboard","kind":"imports","from":"AppNotes","to":"FeatureClipboard"}, + {"id":"AppNotes->FeatureStorage","kind":"imports","from":"AppNotes","to":"FeatureStorage"}, + {"id":"AppSettings->CoreWindows","kind":"imports","from":"AppSettings","to":"CoreWindows"}, + {"id":"AppSettings->FeatureAnalytics","kind":"imports","from":"AppSettings","to":"FeatureAnalytics"}, + {"id":"AppUpdates->CoreReminders70","kind":"imports","from":"AppUpdates","to":"CoreReminders70"}, + {"id":"AppUpdates->FeatureBilling","kind":"imports","from":"AppUpdates","to":"FeatureBilling"}, + {"id":"BaseAccounts->LibReminders","kind":"imports","from":"BaseAccounts","to":"LibReminders"}, + {"id":"BaseAccounts->LibThemes","kind":"imports","from":"BaseAccounts","to":"LibThemes"}, + {"id":"BaseAccounts54->LibOnboarding","kind":"imports","from":"BaseAccounts54","to":"LibOnboarding"}, + {"id":"BaseAccounts54->LibSettings","kind":"imports","from":"BaseAccounts54","to":"LibSettings"}, + {"id":"BaseActions->LibCommands","kind":"imports","from":"BaseActions","to":"LibCommands"}, + {"id":"BaseActions->LibSearch","kind":"imports","from":"BaseActions","to":"LibSearch"}, + {"id":"BaseActions37->LibAccounts","kind":"imports","from":"BaseActions37","to":"LibAccounts"}, + {"id":"BaseActions37->LibTelemetry","kind":"imports","from":"BaseActions37","to":"LibTelemetry"}, + {"id":"BaseAnalytics->LibAnalytics","kind":"imports","from":"BaseAnalytics","to":"LibAnalytics"}, + {"id":"BaseAnalytics->LibContacts","kind":"imports","from":"BaseAnalytics","to":"LibContacts"}, + {"id":"BaseAnalytics50->LibPreferences","kind":"imports","from":"BaseAnalytics50","to":"LibPreferences"}, + {"id":"BaseAnalytics50->LibSync","kind":"imports","from":"BaseAnalytics50","to":"LibSync"}, + {"id":"BaseBilling->LibLicensing","kind":"imports","from":"BaseBilling","to":"LibLicensing"}, + {"id":"BaseBilling->LibSnippets","kind":"imports","from":"BaseBilling","to":"LibSnippets"}, + {"id":"BaseBilling33->LibCommands","kind":"imports","from":"BaseBilling33","to":"LibCommands"}, + {"id":"BaseBilling33->LibSettings","kind":"imports","from":"BaseBilling33","to":"LibSettings"}, + {"id":"BaseCatalog->LibCommands","kind":"imports","from":"BaseCatalog","to":"LibCommands"}, + {"id":"BaseCatalog->LibSearch","kind":"imports","from":"BaseCatalog","to":"LibSearch"}, + {"id":"BaseCatalog46->LibIndexing","kind":"imports","from":"BaseCatalog46","to":"LibIndexing"}, + {"id":"BaseCatalog46->LibThemes","kind":"imports","from":"BaseCatalog46","to":"LibThemes"}, + {"id":"BaseClipboard->LibExtensions","kind":"imports","from":"BaseClipboard","to":"LibExtensions"}, + {"id":"BaseClipboard->LibLicensing","kind":"imports","from":"BaseClipboard","to":"LibLicensing"}, + {"id":"BaseClipboard59->LibExtensions","kind":"imports","from":"BaseClipboard59","to":"LibExtensions"}, + {"id":"BaseClipboard59->LibOnboarding","kind":"imports","from":"BaseClipboard59","to":"LibOnboarding"}, + {"id":"BaseCommands->LibCatalog","kind":"imports","from":"BaseCommands","to":"LibCatalog"}, + {"id":"BaseCommands->LibShortcuts","kind":"imports","from":"BaseCommands","to":"LibShortcuts"}, + {"id":"BaseCommands42->LibAccounts","kind":"imports","from":"BaseCommands42","to":"LibAccounts"}, + {"id":"BaseCommands42->LibLicensing","kind":"imports","from":"BaseCommands42","to":"LibLicensing"}, + {"id":"BaseContacts->LibAnalytics","kind":"imports","from":"BaseContacts","to":"LibAnalytics"}, + {"id":"BaseContacts->LibSnippets","kind":"imports","from":"BaseContacts","to":"LibSnippets"}, + {"id":"BaseContacts55->LibContacts","kind":"imports","from":"BaseContacts55","to":"LibContacts"}, + {"id":"BaseContacts55->LibFiles","kind":"imports","from":"BaseContacts55","to":"LibFiles"}, + {"id":"BaseDocuments->LibAnalytics","kind":"imports","from":"BaseDocuments","to":"LibAnalytics"}, + {"id":"BaseDocuments->LibPreferences","kind":"imports","from":"BaseDocuments","to":"LibPreferences"}, + {"id":"BaseDocuments38->LibIndexing","kind":"imports","from":"BaseDocuments38","to":"LibIndexing"}, + {"id":"BaseDocuments38->LibSnippets","kind":"imports","from":"BaseDocuments38","to":"LibSnippets"}, + {"id":"BaseExtensions->LibExtensions","kind":"imports","from":"BaseExtensions","to":"LibExtensions"}, + {"id":"BaseExtensions->LibTelemetry","kind":"imports","from":"BaseExtensions","to":"LibTelemetry"}, + {"id":"BaseExtensions51->LibIndexing","kind":"imports","from":"BaseExtensions51","to":"LibIndexing"}, + {"id":"BaseExtensions51->LibWindows","kind":"imports","from":"BaseExtensions51","to":"LibWindows"}, + {"id":"BaseFavorites->LibContacts","kind":"imports","from":"BaseFavorites","to":"LibContacts"}, + {"id":"BaseFavorites->LibShortcuts","kind":"imports","from":"BaseFavorites","to":"LibShortcuts"}, + {"id":"BaseFavorites34->LibCommands","kind":"imports","from":"BaseFavorites34","to":"LibCommands"}, + {"id":"BaseFavorites34->LibTelemetry","kind":"imports","from":"BaseFavorites34","to":"LibTelemetry"}, + {"id":"BaseFiles->LibCatalog","kind":"imports","from":"BaseFiles","to":"LibCatalog"}, + {"id":"BaseFiles->LibClipboard","kind":"imports","from":"BaseFiles","to":"LibClipboard"}, + {"id":"BaseFiles47->LibAnalytics","kind":"imports","from":"BaseFiles47","to":"LibAnalytics"}, + {"id":"BaseFiles47->LibShortcuts","kind":"imports","from":"BaseFiles47","to":"LibShortcuts"}, + {"id":"BaseIndexing->LibFiles","kind":"imports","from":"BaseIndexing","to":"LibFiles"}, + {"id":"BaseIndexing->LibUpdates","kind":"imports","from":"BaseIndexing","to":"LibUpdates"}, + {"id":"BaseIndexing30->LibIndexing","kind":"imports","from":"BaseIndexing30","to":"LibIndexing"}, + {"id":"BaseIndexing30->LibThemes","kind":"imports","from":"BaseIndexing30","to":"LibThemes"}, + {"id":"BaseLicensing->LibIndexing","kind":"imports","from":"BaseLicensing","to":"LibIndexing"}, + {"id":"BaseLicensing->LibLicensing","kind":"imports","from":"BaseLicensing","to":"LibLicensing"}, + {"id":"BaseLicensing43->LibTelemetry","kind":"imports","from":"BaseLicensing43","to":"LibTelemetry"}, + {"id":"BaseLicensing43->LibUpdates","kind":"imports","from":"BaseLicensing43","to":"LibUpdates"}, + {"id":"BaseNotes->LibOnboarding","kind":"imports","from":"BaseNotes","to":"LibOnboarding"}, + {"id":"BaseNotes->LibSnippets","kind":"imports","from":"BaseNotes","to":"LibSnippets"}, + {"id":"BaseNotes56->LibFiles","kind":"imports","from":"BaseNotes56","to":"LibFiles"}, + {"id":"BaseNotes56->LibTelemetry","kind":"imports","from":"BaseNotes56","to":"LibTelemetry"}, + {"id":"BaseOnboarding->LibSnippets","kind":"imports","from":"BaseOnboarding","to":"LibSnippets"}, + {"id":"BaseOnboarding->LibSync","kind":"imports","from":"BaseOnboarding","to":"LibSync"}, + {"id":"BaseOnboarding39->LibClipboard","kind":"imports","from":"BaseOnboarding39","to":"LibClipboard"}, + {"id":"BaseOnboarding39->LibLicensing","kind":"imports","from":"BaseOnboarding39","to":"LibLicensing"}, + {"id":"BasePreferences->LibCatalog","kind":"imports","from":"BasePreferences","to":"LibCatalog"}, + {"id":"BasePreferences->LibIndexing","kind":"imports","from":"BasePreferences","to":"LibIndexing"}, + {"id":"BasePreferences52->LibCommands","kind":"imports","from":"BasePreferences52","to":"LibCommands"}, + {"id":"BasePreferences52->LibNotes","kind":"imports","from":"BasePreferences52","to":"LibNotes"}, + {"id":"BasePreviews->LibReminders","kind":"imports","from":"BasePreviews","to":"LibReminders"}, + {"id":"BasePreviews->LibSnippets","kind":"imports","from":"BasePreviews","to":"LibSnippets"}, + {"id":"BasePreviews35->LibFiles","kind":"imports","from":"BasePreviews35","to":"LibFiles"}, + {"id":"BasePreviews35->LibSnippets","kind":"imports","from":"BasePreviews35","to":"LibSnippets"}, + {"id":"BaseRanking->LibCatalog","kind":"imports","from":"BaseRanking","to":"LibCatalog"}, + {"id":"BaseRanking->LibSnippets","kind":"imports","from":"BaseRanking","to":"LibSnippets"}, + {"id":"BaseRanking48->LibPreferences","kind":"imports","from":"BaseRanking48","to":"LibPreferences"}, + {"id":"BaseRanking48->LibRanking","kind":"imports","from":"BaseRanking48","to":"LibRanking"}, + {"id":"BaseReminders->LibExtensions","kind":"imports","from":"BaseReminders","to":"LibExtensions"}, + {"id":"BaseReminders->LibSync","kind":"imports","from":"BaseReminders","to":"LibSync"}, + {"id":"BaseReminders31->LibNotes","kind":"imports","from":"BaseReminders31","to":"LibNotes"}, + {"id":"BaseReminders31->LibWindows","kind":"imports","from":"BaseReminders31","to":"LibWindows"}, + {"id":"BaseSearch->LibCommands","kind":"imports","from":"BaseSearch","to":"LibCommands"}, + {"id":"BaseSearch->LibUpdates","kind":"imports","from":"BaseSearch","to":"LibUpdates"}, + {"id":"BaseSearch44->LibCatalog","kind":"imports","from":"BaseSearch44","to":"LibCatalog"}, + {"id":"BaseSearch44->LibSettings","kind":"imports","from":"BaseSearch44","to":"LibSettings"}, + {"id":"BaseSettings->LibClipboard","kind":"imports","from":"BaseSettings","to":"LibClipboard"}, + {"id":"BaseSettings->LibNotes","kind":"imports","from":"BaseSettings","to":"LibNotes"}, + {"id":"BaseSettings57->LibSync","kind":"imports","from":"BaseSettings57","to":"LibSync"}, + {"id":"BaseSettings57->LibThemes","kind":"imports","from":"BaseSettings57","to":"LibThemes"}, + {"id":"BaseShortcuts->LibCatalog","kind":"imports","from":"BaseShortcuts","to":"LibCatalog"}, + {"id":"BaseShortcuts->LibRanking","kind":"imports","from":"BaseShortcuts","to":"LibRanking"}, + {"id":"BaseShortcuts40->LibAnalytics","kind":"imports","from":"BaseShortcuts40","to":"LibAnalytics"}, + {"id":"BaseShortcuts40->LibShortcuts","kind":"imports","from":"BaseShortcuts40","to":"LibShortcuts"}, + {"id":"BaseSnippets->LibClipboard","kind":"imports","from":"BaseSnippets","to":"LibClipboard"}, + {"id":"BaseSnippets->LibNotes","kind":"imports","from":"BaseSnippets","to":"LibNotes"}, + {"id":"BaseSnippets53->LibOnboarding","kind":"imports","from":"BaseSnippets53","to":"LibOnboarding"}, + {"id":"BaseSnippets53->LibTelemetry","kind":"imports","from":"BaseSnippets53","to":"LibTelemetry"}, + {"id":"BaseStorage->LibNotes","kind":"imports","from":"BaseStorage","to":"LibNotes"}, + {"id":"BaseStorage->LibRanking","kind":"imports","from":"BaseStorage","to":"LibRanking"}, + {"id":"BaseStorage36->LibCatalog","kind":"imports","from":"BaseStorage36","to":"LibCatalog"}, + {"id":"BaseStorage36->LibCommands","kind":"imports","from":"BaseStorage36","to":"LibCommands"}, + {"id":"BaseSync->LibNotes","kind":"imports","from":"BaseSync","to":"LibNotes"}, + {"id":"BaseSync->LibOnboarding","kind":"imports","from":"BaseSync","to":"LibOnboarding"}, + {"id":"BaseSync49->LibCommands","kind":"imports","from":"BaseSync49","to":"LibCommands"}, + {"id":"BaseSync49->LibThemes","kind":"imports","from":"BaseSync49","to":"LibThemes"}, + {"id":"BaseTelemetry->LibSnippets","kind":"imports","from":"BaseTelemetry","to":"LibSnippets"}, + {"id":"BaseTelemetry->LibWindows","kind":"imports","from":"BaseTelemetry","to":"LibWindows"}, + {"id":"BaseTelemetry32->LibIndexing","kind":"imports","from":"BaseTelemetry32","to":"LibIndexing"}, + {"id":"BaseTelemetry32->LibUpdates","kind":"imports","from":"BaseTelemetry32","to":"LibUpdates"}, + {"id":"BaseThemes->LibLicensing","kind":"imports","from":"BaseThemes","to":"LibLicensing"}, + {"id":"BaseThemes->LibSync","kind":"imports","from":"BaseThemes","to":"LibSync"}, + {"id":"BaseThemes45->LibPreferences","kind":"imports","from":"BaseThemes45","to":"LibPreferences"}, + {"id":"BaseThemes45->LibShortcuts","kind":"imports","from":"BaseThemes45","to":"LibShortcuts"}, + {"id":"BaseUpdates->LibAccounts","kind":"imports","from":"BaseUpdates","to":"LibAccounts"}, + {"id":"BaseUpdates->LibTelemetry","kind":"imports","from":"BaseUpdates","to":"LibTelemetry"}, + {"id":"BaseUpdates58->LibPreferences","kind":"imports","from":"BaseUpdates58","to":"LibPreferences"}, + {"id":"BaseUpdates58->LibWindows","kind":"imports","from":"BaseUpdates58","to":"LibWindows"}, + {"id":"BaseWindows->LibAccounts","kind":"imports","from":"BaseWindows","to":"LibAccounts"}, + {"id":"BaseWindows->LibContacts","kind":"imports","from":"BaseWindows","to":"LibContacts"}, + {"id":"BaseWindows41->LibCommands","kind":"imports","from":"BaseWindows41","to":"LibCommands"}, + {"id":"BaseWindows41->LibOnboarding","kind":"imports","from":"BaseWindows41","to":"LibOnboarding"}, + {"id":"CoreAccounts->BaseCatalog","kind":"imports","from":"CoreAccounts","to":"BaseCatalog"}, + {"id":"CoreAccounts->BaseOnboarding","kind":"imports","from":"CoreAccounts","to":"BaseOnboarding"}, + {"id":"CoreAccounts33->BaseDocuments","kind":"imports","from":"CoreAccounts33","to":"BaseDocuments"}, + {"id":"CoreAccounts33->BaseTelemetry32","kind":"imports","from":"CoreAccounts33","to":"BaseTelemetry32"}, + {"id":"CoreAccounts63->BaseSettings","kind":"imports","from":"CoreAccounts63","to":"BaseSettings"}, + {"id":"CoreAccounts63->LibSearch","kind":"imports","from":"CoreAccounts63","to":"LibSearch"}, + {"id":"CoreAccounts93->BaseActions37","kind":"imports","from":"CoreAccounts93","to":"BaseActions37"}, + {"id":"CoreAccounts93->BaseCommands","kind":"imports","from":"CoreAccounts93","to":"BaseCommands"}, + {"id":"CoreActions->BaseCommands42","kind":"imports","from":"CoreActions","to":"BaseCommands42"}, + {"id":"CoreActions->BaseStorage36","kind":"imports","from":"CoreActions","to":"BaseStorage36"}, + {"id":"CoreActions46->BaseNotes","kind":"imports","from":"CoreActions46","to":"BaseNotes"}, + {"id":"CoreActions46->BaseShortcuts","kind":"imports","from":"CoreActions46","to":"BaseShortcuts"}, + {"id":"CoreActions76->BaseBilling","kind":"imports","from":"CoreActions76","to":"BaseBilling"}, + {"id":"CoreActions76->BaseCatalog","kind":"imports","from":"CoreActions76","to":"BaseCatalog"}, + {"id":"CoreAnalytics->BaseDocuments","kind":"imports","from":"CoreAnalytics","to":"BaseDocuments"}, + {"id":"CoreAnalytics->LibTelemetry","kind":"imports","from":"CoreAnalytics","to":"LibTelemetry"}, + {"id":"CoreAnalytics59->BaseSettings","kind":"imports","from":"CoreAnalytics59","to":"BaseSettings"}, + {"id":"CoreAnalytics59->BaseSnippets","kind":"imports","from":"CoreAnalytics59","to":"BaseSnippets"}, + {"id":"CoreAnalytics89->BaseFavorites","kind":"imports","from":"CoreAnalytics89","to":"BaseFavorites"}, + {"id":"CoreAnalytics89->BaseShortcuts","kind":"imports","from":"CoreAnalytics89","to":"BaseShortcuts"}, + {"id":"CoreBilling->BasePreferences52","kind":"imports","from":"CoreBilling","to":"BasePreferences52"}, + {"id":"CoreBilling->BaseWindows","kind":"imports","from":"CoreBilling","to":"BaseWindows"}, + {"id":"CoreBilling42->BaseContacts55","kind":"imports","from":"CoreBilling42","to":"BaseContacts55"}, + {"id":"CoreBilling42->BasePreferences","kind":"imports","from":"CoreBilling42","to":"BasePreferences"}, + {"id":"CoreBilling72->BaseDocuments","kind":"imports","from":"CoreBilling72","to":"BaseDocuments"}, + {"id":"CoreBilling72->BaseRanking","kind":"imports","from":"CoreBilling72","to":"BaseRanking"}, + {"id":"CoreCatalog->BaseCatalog","kind":"imports","from":"CoreCatalog","to":"BaseCatalog"}, + {"id":"CoreCatalog->BaseSync49","kind":"imports","from":"CoreCatalog","to":"BaseSync49"}, + {"id":"CoreCatalog55->BaseSnippets53","kind":"imports","from":"CoreCatalog55","to":"BaseSnippets53"}, + {"id":"CoreCatalog55->BaseStorage36","kind":"imports","from":"CoreCatalog55","to":"BaseStorage36"}, + {"id":"CoreCatalog85->BaseLicensing","kind":"imports","from":"CoreCatalog85","to":"BaseLicensing"}, + {"id":"CoreCatalog85->LibCatalog","kind":"imports","from":"CoreCatalog85","to":"LibCatalog"}, + {"id":"CoreClipboard->BasePreviews35","kind":"imports","from":"CoreClipboard","to":"BasePreviews35"}, + {"id":"CoreClipboard->BaseUpdates58","kind":"imports","from":"CoreClipboard","to":"BaseUpdates58"}, + {"id":"CoreClipboard38->BaseActions37","kind":"imports","from":"CoreClipboard38","to":"BaseActions37"}, + {"id":"CoreClipboard38->BaseSettings","kind":"imports","from":"CoreClipboard38","to":"BaseSettings"}, + {"id":"CoreClipboard68->BaseActions","kind":"imports","from":"CoreClipboard68","to":"BaseActions"}, + {"id":"CoreClipboard68->BaseFiles","kind":"imports","from":"CoreClipboard68","to":"BaseFiles"}, + {"id":"CoreClipboard98->BaseIndexing","kind":"imports","from":"CoreClipboard98","to":"BaseIndexing"}, + {"id":"CoreClipboard98->BaseSnippets","kind":"imports","from":"CoreClipboard98","to":"BaseSnippets"}, + {"id":"CoreCommands->BaseSettings57","kind":"imports","from":"CoreCommands","to":"BaseSettings57"}, + {"id":"CoreCommands->LibSearch","kind":"imports","from":"CoreCommands","to":"LibSearch"}, + {"id":"CoreCommands51->BaseClipboard59","kind":"imports","from":"CoreCommands51","to":"BaseClipboard59"}, + {"id":"CoreCommands51->BaseFavorites","kind":"imports","from":"CoreCommands51","to":"BaseFavorites"}, + {"id":"CoreCommands81->BaseAnalytics","kind":"imports","from":"CoreCommands81","to":"BaseAnalytics"}, + {"id":"CoreCommands81->BaseStorage36","kind":"imports","from":"CoreCommands81","to":"BaseStorage36"}, + {"id":"CoreContacts->BaseClipboard","kind":"imports","from":"CoreContacts","to":"BaseClipboard"}, + {"id":"CoreContacts->BaseSettings57","kind":"imports","from":"CoreContacts","to":"BaseSettings57"}, + {"id":"CoreContacts34->BaseLicensing43","kind":"imports","from":"CoreContacts34","to":"BaseLicensing43"}, + {"id":"CoreContacts34->BaseThemes","kind":"imports","from":"CoreContacts34","to":"BaseThemes"}, + {"id":"CoreContacts64->BaseRanking","kind":"imports","from":"CoreContacts64","to":"BaseRanking"}, + {"id":"CoreContacts64->BaseReminders","kind":"imports","from":"CoreContacts64","to":"BaseReminders"}, + {"id":"CoreContacts94->BaseOnboarding","kind":"imports","from":"CoreContacts94","to":"BaseOnboarding"}, + {"id":"CoreContacts94->LibSync","kind":"imports","from":"CoreContacts94","to":"LibSync"}, + {"id":"CoreDocuments->BaseClipboard59","kind":"imports","from":"CoreDocuments","to":"BaseClipboard59"}, + {"id":"CoreDocuments->BaseFavorites","kind":"imports","from":"CoreDocuments","to":"BaseFavorites"}, + {"id":"CoreDocuments47->BaseActions","kind":"imports","from":"CoreDocuments47","to":"BaseActions"}, + {"id":"CoreDocuments47->BasePreviews","kind":"imports","from":"CoreDocuments47","to":"BasePreviews"}, + {"id":"CoreDocuments77->BaseContacts","kind":"imports","from":"CoreDocuments77","to":"BaseContacts"}, + {"id":"CoreDocuments77->BaseOnboarding","kind":"imports","from":"CoreDocuments77","to":"BaseOnboarding"}, + {"id":"CoreExtensions->BaseExtensions51","kind":"imports","from":"CoreExtensions","to":"BaseExtensions51"}, + {"id":"CoreExtensions->BaseIndexing","kind":"imports","from":"CoreExtensions","to":"BaseIndexing"}, + {"id":"CoreExtensions30->BaseOnboarding39","kind":"imports","from":"CoreExtensions30","to":"BaseOnboarding39"}, + {"id":"CoreExtensions30->BaseSettings57","kind":"imports","from":"CoreExtensions30","to":"BaseSettings57"}, + {"id":"CoreExtensions60->BaseAnalytics","kind":"imports","from":"CoreExtensions60","to":"BaseAnalytics"}, + {"id":"CoreExtensions60->BaseExtensions","kind":"imports","from":"CoreExtensions60","to":"BaseExtensions"}, + {"id":"CoreExtensions90->BaseClipboard59","kind":"imports","from":"CoreExtensions90","to":"BaseClipboard59"}, + {"id":"CoreExtensions90->BaseOnboarding","kind":"imports","from":"CoreExtensions90","to":"BaseOnboarding"}, + {"id":"CoreFavorites->BaseSnippets53","kind":"imports","from":"CoreFavorites","to":"BaseSnippets53"}, + {"id":"CoreFavorites->LibNotes","kind":"imports","from":"CoreFavorites","to":"LibNotes"}, + {"id":"CoreFavorites43->BaseLicensing","kind":"imports","from":"CoreFavorites43","to":"BaseLicensing"}, + {"id":"CoreFavorites43->BaseStorage36","kind":"imports","from":"CoreFavorites43","to":"BaseStorage36"}, + {"id":"CoreFavorites73->BaseContacts","kind":"imports","from":"CoreFavorites73","to":"BaseContacts"}, + {"id":"CoreFavorites73->BaseNotes56","kind":"imports","from":"CoreFavorites73","to":"BaseNotes56"}, + {"id":"CoreFiles->BaseLicensing","kind":"imports","from":"CoreFiles","to":"BaseLicensing"}, + {"id":"CoreFiles->BaseUpdates58","kind":"imports","from":"CoreFiles","to":"BaseUpdates58"}, + {"id":"CoreFiles56->BaseAnalytics50","kind":"imports","from":"CoreFiles56","to":"BaseAnalytics50"}, + {"id":"CoreFiles56->BaseShortcuts40","kind":"imports","from":"CoreFiles56","to":"BaseShortcuts40"}, + {"id":"CoreFiles86->BaseFavorites34","kind":"imports","from":"CoreFiles86","to":"BaseFavorites34"}, + {"id":"CoreFiles86->LibThemes","kind":"imports","from":"CoreFiles86","to":"LibThemes"}, + {"id":"CoreIndexing->BaseContacts","kind":"imports","from":"CoreIndexing","to":"BaseContacts"}, + {"id":"CoreIndexing->BaseWindows","kind":"imports","from":"CoreIndexing","to":"BaseWindows"}, + {"id":"CoreIndexing39->BaseAccounts54","kind":"imports","from":"CoreIndexing39","to":"BaseAccounts54"}, + {"id":"CoreIndexing39->BaseLicensing","kind":"imports","from":"CoreIndexing39","to":"BaseLicensing"}, + {"id":"CoreIndexing69->BaseAccounts54","kind":"imports","from":"CoreIndexing69","to":"BaseAccounts54"}, + {"id":"CoreIndexing69->BaseIndexing","kind":"imports","from":"CoreIndexing69","to":"BaseIndexing"}, + {"id":"CoreIndexing99->BaseDocuments","kind":"imports","from":"CoreIndexing99","to":"BaseDocuments"}, + {"id":"CoreIndexing99->BasePreviews35","kind":"imports","from":"CoreIndexing99","to":"BasePreviews35"}, + {"id":"CoreLicensing->BaseCatalog46","kind":"imports","from":"CoreLicensing","to":"BaseCatalog46"}, + {"id":"CoreLicensing->BaseSearch","kind":"imports","from":"CoreLicensing","to":"BaseSearch"}, + {"id":"CoreLicensing52->BaseSettings57","kind":"imports","from":"CoreLicensing52","to":"BaseSettings57"}, + {"id":"CoreLicensing52->BaseTelemetry32","kind":"imports","from":"CoreLicensing52","to":"BaseTelemetry32"}, + {"id":"CoreLicensing82->BaseSnippets","kind":"imports","from":"CoreLicensing82","to":"BaseSnippets"}, + {"id":"CoreLicensing82->BaseThemes45","kind":"imports","from":"CoreLicensing82","to":"BaseThemes45"}, + {"id":"CoreNotes->BaseShortcuts","kind":"imports","from":"CoreNotes","to":"BaseShortcuts"}, + {"id":"CoreNotes->BaseSync","kind":"imports","from":"CoreNotes","to":"BaseSync"}, + {"id":"CoreNotes35->BaseCommands42","kind":"imports","from":"CoreNotes35","to":"BaseCommands42"}, + {"id":"CoreNotes35->BaseDocuments","kind":"imports","from":"CoreNotes35","to":"BaseDocuments"}, + {"id":"CoreNotes65->BaseClipboard59","kind":"imports","from":"CoreNotes65","to":"BaseClipboard59"}, + {"id":"CoreNotes65->LibReminders","kind":"imports","from":"CoreNotes65","to":"LibReminders"}, + {"id":"CoreNotes95->BasePreviews35","kind":"imports","from":"CoreNotes95","to":"BasePreviews35"}, + {"id":"CoreNotes95->LibPreferences","kind":"imports","from":"CoreNotes95","to":"LibPreferences"}, + {"id":"CoreOnboarding->BaseClipboard","kind":"imports","from":"CoreOnboarding","to":"BaseClipboard"}, + {"id":"CoreOnboarding->BaseThemes","kind":"imports","from":"CoreOnboarding","to":"BaseThemes"}, + {"id":"CoreOnboarding48->BaseExtensions51","kind":"imports","from":"CoreOnboarding48","to":"BaseExtensions51"}, + {"id":"CoreOnboarding48->BaseSync49","kind":"imports","from":"CoreOnboarding48","to":"BaseSync49"}, + {"id":"CoreOnboarding78->BaseShortcuts","kind":"imports","from":"CoreOnboarding78","to":"BaseShortcuts"}, + {"id":"CoreOnboarding78->BaseSync49","kind":"imports","from":"CoreOnboarding78","to":"BaseSync49"}, + {"id":"CorePreferences->BaseRanking48","kind":"imports","from":"CorePreferences","to":"BaseRanking48"}, + {"id":"CorePreferences->LibIndexing","kind":"imports","from":"CorePreferences","to":"LibIndexing"}, + {"id":"CorePreferences31->BaseSnippets","kind":"imports","from":"CorePreferences31","to":"BaseSnippets"}, + {"id":"CorePreferences31->BaseTelemetry","kind":"imports","from":"CorePreferences31","to":"BaseTelemetry"}, + {"id":"CorePreferences61->BaseIndexing","kind":"imports","from":"CorePreferences61","to":"BaseIndexing"}, + {"id":"CorePreferences61->BaseThemes45","kind":"imports","from":"CorePreferences61","to":"BaseThemes45"}, + {"id":"CorePreferences91->BaseLicensing43","kind":"imports","from":"CorePreferences91","to":"BaseLicensing43"}, + {"id":"CorePreferences91->LibLicensing","kind":"imports","from":"CorePreferences91","to":"LibLicensing"}, + {"id":"CorePreviews->BaseBilling33","kind":"imports","from":"CorePreviews","to":"BaseBilling33"}, + {"id":"CorePreviews->BaseFavorites","kind":"imports","from":"CorePreviews","to":"BaseFavorites"}, + {"id":"CorePreviews44->BaseActions","kind":"imports","from":"CorePreviews44","to":"BaseActions"}, + {"id":"CorePreviews44->BaseShortcuts40","kind":"imports","from":"CorePreviews44","to":"BaseShortcuts40"}, + {"id":"CorePreviews74->BaseAnalytics","kind":"imports","from":"CorePreviews74","to":"BaseAnalytics"}, + {"id":"CorePreviews74->BaseNotes","kind":"imports","from":"CorePreviews74","to":"BaseNotes"}, + {"id":"CoreRanking->BaseActions37","kind":"imports","from":"CoreRanking","to":"BaseActions37"}, + {"id":"CoreRanking->LibWindows","kind":"imports","from":"CoreRanking","to":"LibWindows"}, + {"id":"CoreRanking57->BasePreviews","kind":"imports","from":"CoreRanking57","to":"BasePreviews"}, + {"id":"CoreRanking57->BaseReminders31","kind":"imports","from":"CoreRanking57","to":"BaseReminders31"}, + {"id":"CoreRanking87->BaseRanking","kind":"imports","from":"CoreRanking87","to":"BaseRanking"}, + {"id":"CoreRanking87->LibLicensing","kind":"imports","from":"CoreRanking87","to":"LibLicensing"}, + {"id":"CoreReminders->BaseDocuments","kind":"imports","from":"CoreReminders","to":"BaseDocuments"}, + {"id":"CoreReminders->LibRanking","kind":"imports","from":"CoreReminders","to":"LibRanking"}, + {"id":"CoreReminders40->BaseThemes","kind":"imports","from":"CoreReminders40","to":"BaseThemes"}, + {"id":"CoreReminders40->LibLicensing","kind":"imports","from":"CoreReminders40","to":"LibLicensing"}, + {"id":"CoreReminders70->BaseAccounts","kind":"imports","from":"CoreReminders70","to":"BaseAccounts"}, + {"id":"CoreReminders70->BaseShortcuts40","kind":"imports","from":"CoreReminders70","to":"BaseShortcuts40"}, + {"id":"CoreSearch->BaseContacts55","kind":"imports","from":"CoreSearch","to":"BaseContacts55"}, + {"id":"CoreSearch->LibOnboarding","kind":"imports","from":"CoreSearch","to":"LibOnboarding"}, + {"id":"CoreSearch53->BaseAccounts","kind":"imports","from":"CoreSearch53","to":"BaseAccounts"}, + {"id":"CoreSearch53->BaseRanking","kind":"imports","from":"CoreSearch53","to":"BaseRanking"}, + {"id":"CoreSearch83->BaseDocuments38","kind":"imports","from":"CoreSearch83","to":"BaseDocuments38"}, + {"id":"CoreSearch83->BaseRanking48","kind":"imports","from":"CoreSearch83","to":"BaseRanking48"}, + {"id":"CoreSettings->BaseCommands","kind":"imports","from":"CoreSettings","to":"BaseCommands"}, + {"id":"CoreSettings->BaseDocuments","kind":"imports","from":"CoreSettings","to":"BaseDocuments"}, + {"id":"CoreSettings36->BaseShortcuts40","kind":"imports","from":"CoreSettings36","to":"BaseShortcuts40"}, + {"id":"CoreSettings36->LibSync","kind":"imports","from":"CoreSettings36","to":"LibSync"}, + {"id":"CoreSettings66->BaseFiles","kind":"imports","from":"CoreSettings66","to":"BaseFiles"}, + {"id":"CoreSettings66->BaseOnboarding39","kind":"imports","from":"CoreSettings66","to":"BaseOnboarding39"}, + {"id":"CoreSettings96->BasePreviews35","kind":"imports","from":"CoreSettings96","to":"BasePreviews35"}, + {"id":"CoreSettings96->BaseSync49","kind":"imports","from":"CoreSettings96","to":"BaseSync49"}, + {"id":"CoreShortcuts->BaseDocuments38","kind":"imports","from":"CoreShortcuts","to":"BaseDocuments38"}, + {"id":"CoreShortcuts->BaseShortcuts40","kind":"imports","from":"CoreShortcuts","to":"BaseShortcuts40"}, + {"id":"CoreShortcuts49->BaseClipboard59","kind":"imports","from":"CoreShortcuts49","to":"BaseClipboard59"}, + {"id":"CoreShortcuts49->LibOnboarding","kind":"imports","from":"CoreShortcuts49","to":"LibOnboarding"}, + {"id":"CoreShortcuts79->BaseOnboarding","kind":"imports","from":"CoreShortcuts79","to":"BaseOnboarding"}, + {"id":"CoreShortcuts79->BaseUpdates","kind":"imports","from":"CoreShortcuts79","to":"BaseUpdates"}, + {"id":"CoreSnippets->BaseBilling33","kind":"imports","from":"CoreSnippets","to":"BaseBilling33"}, + {"id":"CoreSnippets->BasePreviews35","kind":"imports","from":"CoreSnippets","to":"BasePreviews35"}, + {"id":"CoreSnippets32->BasePreviews35","kind":"imports","from":"CoreSnippets32","to":"BasePreviews35"}, + {"id":"CoreSnippets32->BaseSync49","kind":"imports","from":"CoreSnippets32","to":"BaseSync49"}, + {"id":"CoreSnippets62->BaseBilling33","kind":"imports","from":"CoreSnippets62","to":"BaseBilling33"}, + {"id":"CoreSnippets62->BaseSearch44","kind":"imports","from":"CoreSnippets62","to":"BaseSearch44"}, + {"id":"CoreSnippets92->BaseAccounts","kind":"imports","from":"CoreSnippets92","to":"BaseAccounts"}, + {"id":"CoreSnippets92->BaseExtensions51","kind":"imports","from":"CoreSnippets92","to":"BaseExtensions51"}, + {"id":"CoreStorage->BaseContacts55","kind":"imports","from":"CoreStorage","to":"BaseContacts55"}, + {"id":"CoreStorage->BaseRanking","kind":"imports","from":"CoreStorage","to":"BaseRanking"}, + {"id":"CoreStorage45->BaseActions37","kind":"imports","from":"CoreStorage45","to":"BaseActions37"}, + {"id":"CoreStorage45->BaseIndexing30","kind":"imports","from":"CoreStorage45","to":"BaseIndexing30"}, + {"id":"CoreStorage75->BaseAnalytics","kind":"imports","from":"CoreStorage75","to":"BaseAnalytics"}, + {"id":"CoreStorage75->BaseFavorites","kind":"imports","from":"CoreStorage75","to":"BaseFavorites"}, + {"id":"CoreSync->BaseWindows41","kind":"imports","from":"CoreSync","to":"BaseWindows41"}, + {"id":"CoreSync->LibOnboarding","kind":"imports","from":"CoreSync","to":"LibOnboarding"}, + {"id":"CoreSync58->BaseTelemetry","kind":"imports","from":"CoreSync58","to":"BaseTelemetry"}, + {"id":"CoreSync58->LibSync","kind":"imports","from":"CoreSync58","to":"LibSync"}, + {"id":"CoreSync88->BaseAnalytics50","kind":"imports","from":"CoreSync88","to":"BaseAnalytics50"}, + {"id":"CoreSync88->BaseShortcuts40","kind":"imports","from":"CoreSync88","to":"BaseShortcuts40"}, + {"id":"CoreTelemetry->BaseCommands","kind":"imports","from":"CoreTelemetry","to":"BaseCommands"}, + {"id":"CoreTelemetry->BaseUpdates","kind":"imports","from":"CoreTelemetry","to":"BaseUpdates"}, + {"id":"CoreTelemetry41->BaseAccounts54","kind":"imports","from":"CoreTelemetry41","to":"BaseAccounts54"}, + {"id":"CoreTelemetry41->LibFiles","kind":"imports","from":"CoreTelemetry41","to":"LibFiles"}, + {"id":"CoreTelemetry71->BaseDocuments","kind":"imports","from":"CoreTelemetry71","to":"BaseDocuments"}, + {"id":"CoreTelemetry71->BaseSettings57","kind":"imports","from":"CoreTelemetry71","to":"BaseSettings57"}, + {"id":"CoreThemes->BaseClipboard59","kind":"imports","from":"CoreThemes","to":"BaseClipboard59"}, + {"id":"CoreThemes->BaseFavorites","kind":"imports","from":"CoreThemes","to":"BaseFavorites"}, + {"id":"CoreThemes54->BaseFavorites","kind":"imports","from":"CoreThemes54","to":"BaseFavorites"}, + {"id":"CoreThemes54->BaseWindows","kind":"imports","from":"CoreThemes54","to":"BaseWindows"}, + {"id":"CoreThemes84->BaseContacts","kind":"imports","from":"CoreThemes84","to":"BaseContacts"}, + {"id":"CoreThemes84->BaseShortcuts","kind":"imports","from":"CoreThemes84","to":"BaseShortcuts"}, + {"id":"CoreUpdates->BaseContacts55","kind":"imports","from":"CoreUpdates","to":"BaseContacts55"}, + {"id":"CoreUpdates->BaseUpdates","kind":"imports","from":"CoreUpdates","to":"BaseUpdates"}, + {"id":"CoreUpdates37->BasePreferences","kind":"imports","from":"CoreUpdates37","to":"BasePreferences"}, + {"id":"CoreUpdates37->LibUpdates","kind":"imports","from":"CoreUpdates37","to":"LibUpdates"}, + {"id":"CoreUpdates67->BaseStorage36","kind":"imports","from":"CoreUpdates67","to":"BaseStorage36"}, + {"id":"CoreUpdates67->LibContacts","kind":"imports","from":"CoreUpdates67","to":"LibContacts"}, + {"id":"CoreUpdates97->BasePreferences","kind":"imports","from":"CoreUpdates97","to":"BasePreferences"}, + {"id":"CoreUpdates97->BaseSync49","kind":"imports","from":"CoreUpdates97","to":"BaseSync49"}, + {"id":"CoreWindows->BaseCatalog46","kind":"imports","from":"CoreWindows","to":"BaseCatalog46"}, + {"id":"CoreWindows->BaseStorage","kind":"imports","from":"CoreWindows","to":"BaseStorage"}, + {"id":"CoreWindows50->BaseAccounts","kind":"imports","from":"CoreWindows50","to":"BaseAccounts"}, + {"id":"CoreWindows50->BaseSync","kind":"imports","from":"CoreWindows50","to":"BaseSync"}, + {"id":"CoreWindows80->BaseAnalytics50","kind":"imports","from":"CoreWindows80","to":"BaseAnalytics50"}, + {"id":"CoreWindows80->BaseReminders","kind":"imports","from":"CoreWindows80","to":"BaseReminders"}, + {"id":"FeatureAccounts->BaseSearch44","kind":"imports","from":"FeatureAccounts","to":"BaseSearch44"}, + {"id":"FeatureAccounts->KitDocuments86","kind":"imports","from":"FeatureAccounts","to":"KitDocuments86"}, + {"id":"FeatureActions->KitBilling","kind":"imports","from":"FeatureActions","to":"KitBilling"}, + {"id":"FeatureActions->LibSnippets","kind":"imports","from":"FeatureActions","to":"LibSnippets"}, + {"id":"FeatureActions34->KitCatalog64","kind":"imports","from":"FeatureActions34","to":"KitCatalog64"}, + {"id":"FeatureActions34->KitTelemetry","kind":"imports","from":"FeatureActions34","to":"KitTelemetry"}, + {"id":"FeatureAnalytics->KitShortcuts88","kind":"imports","from":"FeatureAnalytics","to":"KitShortcuts88"}, + {"id":"FeatureAnalytics->LibExtensions","kind":"imports","from":"FeatureAnalytics","to":"LibExtensions"}, + {"id":"FeatureBilling->CoreTelemetry41","kind":"imports","from":"FeatureBilling","to":"CoreTelemetry41"}, + {"id":"FeatureBilling->KitBilling81","kind":"imports","from":"FeatureBilling","to":"KitBilling81"}, + {"id":"FeatureBilling30->BaseRanking48","kind":"imports","from":"FeatureBilling30","to":"BaseRanking48"}, + {"id":"FeatureBilling30->KitCatalog","kind":"imports","from":"FeatureBilling30","to":"KitCatalog"}, + {"id":"FeatureCatalog->KitCommands60","kind":"imports","from":"FeatureCatalog","to":"KitCommands60"}, + {"id":"FeatureCatalog->KitFiles65","kind":"imports","from":"FeatureCatalog","to":"KitFiles65"}, + {"id":"FeatureClipboard->BaseSettings57","kind":"imports","from":"FeatureClipboard","to":"BaseSettings57"}, + {"id":"FeatureClipboard->KitContacts","kind":"imports","from":"FeatureClipboard","to":"KitContacts"}, + {"id":"FeatureCommands->CoreUpdates97","kind":"imports","from":"FeatureCommands","to":"CoreUpdates97"}, + {"id":"FeatureCommands->KitShortcuts","kind":"imports","from":"FeatureCommands","to":"KitShortcuts"}, + {"id":"FeatureCommands39->KitFavorites52","kind":"imports","from":"FeatureCommands39","to":"KitFavorites52"}, + {"id":"FeatureCommands39->KitOnboarding","kind":"imports","from":"FeatureCommands39","to":"KitOnboarding"}, + {"id":"FeatureContacts->CoreAccounts33","kind":"imports","from":"FeatureContacts","to":"CoreAccounts33"}, + {"id":"FeatureContacts->KitContacts43","kind":"imports","from":"FeatureContacts","to":"KitContacts43"}, + {"id":"FeatureDocuments->BaseOnboarding39","kind":"imports","from":"FeatureDocuments","to":"BaseOnboarding39"}, + {"id":"FeatureDocuments->KitContacts","kind":"imports","from":"FeatureDocuments","to":"KitContacts"}, + {"id":"FeatureDocuments35->KitCatalog64","kind":"imports","from":"FeatureDocuments35","to":"KitCatalog64"}, + {"id":"FeatureDocuments35->KitLicensing61","kind":"imports","from":"FeatureDocuments35","to":"KitLicensing61"}, + {"id":"FeatureExtensions->KitOnboarding57","kind":"imports","from":"FeatureExtensions","to":"KitOnboarding57"}, + {"id":"FeatureExtensions->KitPreferences40","kind":"imports","from":"FeatureExtensions","to":"KitPreferences40"}, + {"id":"FeatureFavorites->KitPreviews","kind":"imports","from":"FeatureFavorites","to":"KitPreviews"}, + {"id":"FeatureFavorites->KitStorage84","kind":"imports","from":"FeatureFavorites","to":"KitStorage84"}, + {"id":"FeatureFavorites31->KitAnalytics38","kind":"imports","from":"FeatureFavorites31","to":"KitAnalytics38"}, + {"id":"FeatureFavorites31->KitShortcuts58","kind":"imports","from":"FeatureFavorites31","to":"KitShortcuts58"}, + {"id":"FeatureFiles->BaseShortcuts40","kind":"imports","from":"FeatureFiles","to":"BaseShortcuts40"}, + {"id":"FeatureFiles->KitUpdates46","kind":"imports","from":"FeatureFiles","to":"KitUpdates46"}, + {"id":"FeatureIndexing->CoreCatalog","kind":"imports","from":"FeatureIndexing","to":"CoreCatalog"}, + {"id":"FeatureIndexing->KitSearch32","kind":"imports","from":"FeatureIndexing","to":"KitSearch32"}, + {"id":"FeatureLicensing->KitClipboard77","kind":"imports","from":"FeatureLicensing","to":"KitClipboard77"}, + {"id":"FeatureLicensing->KitNotes","kind":"imports","from":"FeatureLicensing","to":"KitNotes"}, + {"id":"FeatureNotes->KitAnalytics","kind":"imports","from":"FeatureNotes","to":"KitAnalytics"}, + {"id":"FeatureNotes->KitThemes","kind":"imports","from":"FeatureNotes","to":"KitThemes"}, + {"id":"FeatureOnboarding->BaseSync49","kind":"imports","from":"FeatureOnboarding","to":"BaseSync49"}, + {"id":"FeatureOnboarding->KitPreferences40","kind":"imports","from":"FeatureOnboarding","to":"KitPreferences40"}, + {"id":"FeatureOnboarding36->BaseOnboarding","kind":"imports","from":"FeatureOnboarding36","to":"BaseOnboarding"}, + {"id":"FeatureOnboarding36->KitShortcuts58","kind":"imports","from":"FeatureOnboarding36","to":"KitShortcuts58"}, + {"id":"FeaturePreferences->KitAnalytics68","kind":"imports","from":"FeaturePreferences","to":"KitAnalytics68"}, + {"id":"FeaturePreferences->KitDocuments86","kind":"imports","from":"FeaturePreferences","to":"KitDocuments86"}, + {"id":"FeaturePreviews->CoreActions46","kind":"imports","from":"FeaturePreviews","to":"CoreActions46"}, + {"id":"FeaturePreviews->KitBilling51","kind":"imports","from":"FeaturePreviews","to":"KitBilling51"}, + {"id":"FeaturePreviews32->CorePreferences91","kind":"imports","from":"FeaturePreviews32","to":"CorePreferences91"}, + {"id":"FeaturePreviews32->KitShortcuts88","kind":"imports","from":"FeaturePreviews32","to":"KitShortcuts88"}, + {"id":"FeatureRanking->KitOnboarding57","kind":"imports","from":"FeatureRanking","to":"KitOnboarding57"}, + {"id":"FeatureRanking->LibTelemetry","kind":"imports","from":"FeatureRanking","to":"LibTelemetry"}, + {"id":"FeatureReminders->BaseOnboarding39","kind":"imports","from":"FeatureReminders","to":"BaseOnboarding39"}, + {"id":"FeatureReminders->KitOnboarding87","kind":"imports","from":"FeatureReminders","to":"KitOnboarding87"}, + {"id":"FeatureSearch->CoreLicensing82","kind":"imports","from":"FeatureSearch","to":"CoreLicensing82"}, + {"id":"FeatureSearch->KitLicensing","kind":"imports","from":"FeatureSearch","to":"KitLicensing"}, + {"id":"FeatureSettings->BaseSnippets","kind":"imports","from":"FeatureSettings","to":"BaseSnippets"}, + {"id":"FeatureSettings->KitAccounts","kind":"imports","from":"FeatureSettings","to":"KitAccounts"}, + {"id":"FeatureShortcuts->CoreFiles56","kind":"imports","from":"FeatureShortcuts","to":"CoreFiles56"}, + {"id":"FeatureShortcuts->KitAccounts","kind":"imports","from":"FeatureShortcuts","to":"KitAccounts"}, + {"id":"FeatureShortcuts37->KitClipboard77","kind":"imports","from":"FeatureShortcuts37","to":"KitClipboard77"}, + {"id":"FeatureShortcuts37->KitStorage84","kind":"imports","from":"FeatureShortcuts37","to":"KitStorage84"}, + {"id":"FeatureSnippets->BaseSearch","kind":"imports","from":"FeatureSnippets","to":"BaseSearch"}, + {"id":"FeatureSnippets->KitPreviews53","kind":"imports","from":"FeatureSnippets","to":"KitPreviews53"}, + {"id":"FeatureStorage->KitSearch","kind":"imports","from":"FeatureStorage","to":"KitSearch"}, + {"id":"FeatureStorage->KitTelemetry50","kind":"imports","from":"FeatureStorage","to":"KitTelemetry50"}, + {"id":"FeatureStorage33->KitClipboard47","kind":"imports","from":"FeatureStorage33","to":"KitClipboard47"}, + {"id":"FeatureStorage33->KitRanking36","kind":"imports","from":"FeatureStorage33","to":"KitRanking36"}, + {"id":"FeatureSync->KitClipboard77","kind":"imports","from":"FeatureSync","to":"KitClipboard77"}, + {"id":"FeatureSync->KitSnippets71","kind":"imports","from":"FeatureSync","to":"KitSnippets71"}, + {"id":"FeatureTelemetry->KitAnalytics","kind":"imports","from":"FeatureTelemetry","to":"KitAnalytics"}, + {"id":"FeatureTelemetry->KitNotes74","kind":"imports","from":"FeatureTelemetry","to":"KitNotes74"}, + {"id":"FeatureThemes->BaseContacts55","kind":"imports","from":"FeatureThemes","to":"BaseContacts55"}, + {"id":"FeatureThemes->KitUpdates","kind":"imports","from":"FeatureThemes","to":"KitUpdates"}, + {"id":"FeatureUpdates->CoreAnalytics59","kind":"imports","from":"FeatureUpdates","to":"CoreAnalytics59"}, + {"id":"FeatureUpdates->KitFavorites","kind":"imports","from":"FeatureUpdates","to":"KitFavorites"}, + {"id":"FeatureWindows->CoreUpdates67","kind":"imports","from":"FeatureWindows","to":"CoreUpdates67"}, + {"id":"FeatureWindows->KitFavorites52","kind":"imports","from":"FeatureWindows","to":"KitFavorites52"}, + {"id":"FeatureWindows38->KitLicensing61","kind":"imports","from":"FeatureWindows38","to":"KitLicensing61"}, + {"id":"FeatureWindows38->KitOnboarding87","kind":"imports","from":"FeatureWindows38","to":"KitOnboarding87"}, + {"id":"KitAccounts->CoreSync88","kind":"imports","from":"KitAccounts","to":"CoreSync88"}, + {"id":"KitAccounts->CoreUpdates37","kind":"imports","from":"KitAccounts","to":"CoreUpdates37"}, + {"id":"KitAccounts42->CoreBilling","kind":"imports","from":"KitAccounts42","to":"CoreBilling"}, + {"id":"KitAccounts42->CoreReminders","kind":"imports","from":"KitAccounts42","to":"CoreReminders"}, + {"id":"KitAccounts72->CoreCatalog55","kind":"imports","from":"KitAccounts72","to":"CoreCatalog55"}, + {"id":"KitAccounts72->CoreCommands81","kind":"imports","from":"KitAccounts72","to":"CoreCommands81"}, + {"id":"KitActions->BaseStorage","kind":"imports","from":"KitActions","to":"BaseStorage"}, + {"id":"KitActions->CoreIndexing69","kind":"imports","from":"KitActions","to":"CoreIndexing69"}, + {"id":"KitActions55->CoreAccounts33","kind":"imports","from":"KitActions55","to":"CoreAccounts33"}, + {"id":"KitActions55->CoreClipboard38","kind":"imports","from":"KitActions55","to":"CoreClipboard38"}, + {"id":"KitActions85->CoreCatalog","kind":"imports","from":"KitActions85","to":"CoreCatalog"}, + {"id":"KitActions85->CoreExtensions30","kind":"imports","from":"KitActions85","to":"CoreExtensions30"}, + {"id":"KitAnalytics->CoreNotes65","kind":"imports","from":"KitAnalytics","to":"CoreNotes65"}, + {"id":"KitAnalytics->LibCommands","kind":"imports","from":"KitAnalytics","to":"LibCommands"}, + {"id":"KitAnalytics38->CoreIndexing","kind":"imports","from":"KitAnalytics38","to":"CoreIndexing"}, + {"id":"KitAnalytics38->LibCommands","kind":"imports","from":"KitAnalytics38","to":"LibCommands"}, + {"id":"KitAnalytics68->BaseShortcuts","kind":"imports","from":"KitAnalytics68","to":"BaseShortcuts"}, + {"id":"KitAnalytics68->CoreThemes84","kind":"imports","from":"KitAnalytics68","to":"CoreThemes84"}, + {"id":"KitBilling->CoreFiles","kind":"imports","from":"KitBilling","to":"CoreFiles"}, + {"id":"KitBilling->LibIndexing","kind":"imports","from":"KitBilling","to":"LibIndexing"}, + {"id":"KitBilling51->CoreBilling72","kind":"imports","from":"KitBilling51","to":"CoreBilling72"}, + {"id":"KitBilling51->CoreWindows80","kind":"imports","from":"KitBilling51","to":"CoreWindows80"}, + {"id":"KitBilling81->CoreFiles","kind":"imports","from":"KitBilling81","to":"CoreFiles"}, + {"id":"KitBilling81->CorePreferences31","kind":"imports","from":"KitBilling81","to":"CorePreferences31"}, + {"id":"KitCatalog->BaseSettings57","kind":"imports","from":"KitCatalog","to":"BaseSettings57"}, + {"id":"KitCatalog->CoreThemes84","kind":"imports","from":"KitCatalog","to":"CoreThemes84"}, + {"id":"KitCatalog34->CoreClipboard68","kind":"imports","from":"KitCatalog34","to":"CoreClipboard68"}, + {"id":"KitCatalog34->CoreSettings96","kind":"imports","from":"KitCatalog34","to":"CoreSettings96"}, + {"id":"KitCatalog64->CoreAccounts63","kind":"imports","from":"KitCatalog64","to":"CoreAccounts63"}, + {"id":"KitCatalog64->CoreCatalog55","kind":"imports","from":"KitCatalog64","to":"CoreCatalog55"}, + {"id":"KitClipboard->CoreReminders70","kind":"imports","from":"KitClipboard","to":"CoreReminders70"}, + {"id":"KitClipboard->CoreSettings","kind":"imports","from":"KitClipboard","to":"CoreSettings"}, + {"id":"KitClipboard47->CoreCatalog55","kind":"imports","from":"KitClipboard47","to":"CoreCatalog55"}, + {"id":"KitClipboard47->CorePreferences","kind":"imports","from":"KitClipboard47","to":"CorePreferences"}, + {"id":"KitClipboard77->CoreContacts34","kind":"imports","from":"KitClipboard77","to":"CoreContacts34"}, + {"id":"KitClipboard77->CoreFavorites43","kind":"imports","from":"KitClipboard77","to":"CoreFavorites43"}, + {"id":"KitCommands->BaseSync","kind":"imports","from":"KitCommands","to":"BaseSync"}, + {"id":"KitCommands->CoreShortcuts49","kind":"imports","from":"KitCommands","to":"CoreShortcuts49"}, + {"id":"KitCommands30->BaseWindows41","kind":"imports","from":"KitCommands30","to":"BaseWindows41"}, + {"id":"KitCommands30->CoreShortcuts49","kind":"imports","from":"KitCommands30","to":"CoreShortcuts49"}, + {"id":"KitCommands60->CoreBilling72","kind":"imports","from":"KitCommands60","to":"CoreBilling72"}, + {"id":"KitCommands60->CoreShortcuts79","kind":"imports","from":"KitCommands60","to":"CoreShortcuts79"}, + {"id":"KitContacts->CorePreferences31","kind":"imports","from":"KitContacts","to":"CorePreferences31"}, + {"id":"KitContacts->LibSettings","kind":"imports","from":"KitContacts","to":"LibSettings"}, + {"id":"KitContacts43->CoreActions76","kind":"imports","from":"KitContacts43","to":"CoreActions76"}, + {"id":"KitContacts43->CoreFavorites73","kind":"imports","from":"KitContacts43","to":"CoreFavorites73"}, + {"id":"KitContacts73->BaseReminders31","kind":"imports","from":"KitContacts73","to":"BaseReminders31"}, + {"id":"KitContacts73->CoreRanking87","kind":"imports","from":"KitContacts73","to":"CoreRanking87"}, + {"id":"KitDocuments->CoreCommands","kind":"imports","from":"KitDocuments","to":"CoreCommands"}, + {"id":"KitDocuments->CoreFiles","kind":"imports","from":"KitDocuments","to":"CoreFiles"}, + {"id":"KitDocuments56->BaseStorage36","kind":"imports","from":"KitDocuments56","to":"BaseStorage36"}, + {"id":"KitDocuments56->CoreCatalog85","kind":"imports","from":"KitDocuments56","to":"CoreCatalog85"}, + {"id":"KitDocuments86->CoreExtensions90","kind":"imports","from":"KitDocuments86","to":"CoreExtensions90"}, + {"id":"KitDocuments86->CoreNotes95","kind":"imports","from":"KitDocuments86","to":"CoreNotes95"}, + {"id":"KitExtensions->BaseRanking48","kind":"imports","from":"KitExtensions","to":"BaseRanking48"}, + {"id":"KitExtensions->CoreClipboard38","kind":"imports","from":"KitExtensions","to":"CoreClipboard38"}, + {"id":"KitExtensions39->BaseExtensions","kind":"imports","from":"KitExtensions39","to":"BaseExtensions"}, + {"id":"KitExtensions39->CoreWindows","kind":"imports","from":"KitExtensions39","to":"CoreWindows"}, + {"id":"KitExtensions69->CoreSettings66","kind":"imports","from":"KitExtensions69","to":"CoreSettings66"}, + {"id":"KitExtensions69->CoreShortcuts79","kind":"imports","from":"KitExtensions69","to":"CoreShortcuts79"}, + {"id":"KitFavorites->BaseSnippets53","kind":"imports","from":"KitFavorites","to":"BaseSnippets53"}, + {"id":"KitFavorites->CoreWindows50","kind":"imports","from":"KitFavorites","to":"CoreWindows50"}, + {"id":"KitFavorites52->CoreFavorites","kind":"imports","from":"KitFavorites52","to":"CoreFavorites"}, + {"id":"KitFavorites52->LibClipboard","kind":"imports","from":"KitFavorites52","to":"LibClipboard"}, + {"id":"KitFavorites82->CoreLicensing82","kind":"imports","from":"KitFavorites82","to":"CoreLicensing82"}, + {"id":"KitFavorites82->CoreRanking","kind":"imports","from":"KitFavorites82","to":"CoreRanking"}, + {"id":"KitFiles->CoreSearch83","kind":"imports","from":"KitFiles","to":"CoreSearch83"}, + {"id":"KitFiles->CoreSync58","kind":"imports","from":"KitFiles","to":"CoreSync58"}, + {"id":"KitFiles35->CoreContacts64","kind":"imports","from":"KitFiles35","to":"CoreContacts64"}, + {"id":"KitFiles35->LibWindows","kind":"imports","from":"KitFiles35","to":"LibWindows"}, + {"id":"KitFiles65->CoreContacts","kind":"imports","from":"KitFiles65","to":"CoreContacts"}, + {"id":"KitFiles65->CoreExtensions30","kind":"imports","from":"KitFiles65","to":"CoreExtensions30"}, + {"id":"KitIndexing->CoreIndexing69","kind":"imports","from":"KitIndexing","to":"CoreIndexing69"}, + {"id":"KitIndexing->CoreSettings36","kind":"imports","from":"KitIndexing","to":"CoreSettings36"}, + {"id":"KitIndexing48->CoreAccounts93","kind":"imports","from":"KitIndexing48","to":"CoreAccounts93"}, + {"id":"KitIndexing48->CoreExtensions30","kind":"imports","from":"KitIndexing48","to":"CoreExtensions30"}, + {"id":"KitIndexing78->BaseRanking","kind":"imports","from":"KitIndexing78","to":"BaseRanking"}, + {"id":"KitIndexing78->CoreFiles56","kind":"imports","from":"KitIndexing78","to":"CoreFiles56"}, + {"id":"KitLicensing->CoreReminders","kind":"imports","from":"KitLicensing","to":"CoreReminders"}, + {"id":"KitLicensing->CoreShortcuts79","kind":"imports","from":"KitLicensing","to":"CoreShortcuts79"}, + {"id":"KitLicensing31->BaseUpdates58","kind":"imports","from":"KitLicensing31","to":"BaseUpdates58"}, + {"id":"KitLicensing31->CoreCommands81","kind":"imports","from":"KitLicensing31","to":"CoreCommands81"}, + {"id":"KitLicensing61->CoreContacts34","kind":"imports","from":"KitLicensing61","to":"CoreContacts34"}, + {"id":"KitLicensing61->CorePreferences31","kind":"imports","from":"KitLicensing61","to":"CorePreferences31"}, + {"id":"KitNotes->BaseAnalytics","kind":"imports","from":"KitNotes","to":"BaseAnalytics"}, + {"id":"KitNotes->CoreWindows50","kind":"imports","from":"KitNotes","to":"CoreWindows50"}, + {"id":"KitNotes44->BaseRanking","kind":"imports","from":"KitNotes44","to":"BaseRanking"}, + {"id":"KitNotes44->CoreNotes95","kind":"imports","from":"KitNotes44","to":"CoreNotes95"}, + {"id":"KitNotes74->CoreFavorites","kind":"imports","from":"KitNotes74","to":"CoreFavorites"}, + {"id":"KitNotes74->CorePreferences","kind":"imports","from":"KitNotes74","to":"CorePreferences"}, + {"id":"KitOnboarding->BaseReminders31","kind":"imports","from":"KitOnboarding","to":"BaseReminders31"}, + {"id":"KitOnboarding->CoreAnalytics89","kind":"imports","from":"KitOnboarding","to":"CoreAnalytics89"}, + {"id":"KitOnboarding57->CorePreferences31","kind":"imports","from":"KitOnboarding57","to":"CorePreferences31"}, + {"id":"KitOnboarding57->CoreSettings96","kind":"imports","from":"KitOnboarding57","to":"CoreSettings96"}, + {"id":"KitOnboarding87->BaseThemes","kind":"imports","from":"KitOnboarding87","to":"BaseThemes"}, + {"id":"KitOnboarding87->CoreNotes95","kind":"imports","from":"KitOnboarding87","to":"CoreNotes95"}, + {"id":"KitPreferences->CoreLicensing82","kind":"imports","from":"KitPreferences","to":"CoreLicensing82"}, + {"id":"KitPreferences->CoreRanking","kind":"imports","from":"KitPreferences","to":"CoreRanking"}, + {"id":"KitPreferences40->CoreCatalog85","kind":"imports","from":"KitPreferences40","to":"CoreCatalog85"}, + {"id":"KitPreferences40->CorePreviews44","kind":"imports","from":"KitPreferences40","to":"CorePreviews44"}, + {"id":"KitPreferences70->BaseNotes56","kind":"imports","from":"KitPreferences70","to":"BaseNotes56"}, + {"id":"KitPreferences70->CoreClipboard98","kind":"imports","from":"KitPreferences70","to":"CoreClipboard98"}, + {"id":"KitPreviews->CoreFavorites73","kind":"imports","from":"KitPreviews","to":"CoreFavorites73"}, + {"id":"KitPreviews->CoreShortcuts","kind":"imports","from":"KitPreviews","to":"CoreShortcuts"}, + {"id":"KitPreviews53->CoreNotes95","kind":"imports","from":"KitPreviews53","to":"CoreNotes95"}, + {"id":"KitPreviews53->CoreSnippets92","kind":"imports","from":"KitPreviews53","to":"CoreSnippets92"}, + {"id":"KitPreviews83->CoreCommands","kind":"imports","from":"KitPreviews83","to":"CoreCommands"}, + {"id":"KitPreviews83->CoreFiles56","kind":"imports","from":"KitPreviews83","to":"CoreFiles56"}, + {"id":"KitRanking->CoreContacts","kind":"imports","from":"KitRanking","to":"CoreContacts"}, + {"id":"KitRanking->CoreNotes35","kind":"imports","from":"KitRanking","to":"CoreNotes35"}, + {"id":"KitRanking36->CoreCatalog","kind":"imports","from":"KitRanking36","to":"CoreCatalog"}, + {"id":"KitRanking36->LibTelemetry","kind":"imports","from":"KitRanking36","to":"LibTelemetry"}, + {"id":"KitRanking66->BaseThemes","kind":"imports","from":"KitRanking66","to":"BaseThemes"}, + {"id":"KitRanking66->CoreAccounts","kind":"imports","from":"KitRanking66","to":"CoreAccounts"}, + {"id":"KitReminders->CoreIndexing","kind":"imports","from":"KitReminders","to":"CoreIndexing"}, + {"id":"KitReminders->CoreOnboarding","kind":"imports","from":"KitReminders","to":"CoreOnboarding"}, + {"id":"KitReminders49->BaseContacts","kind":"imports","from":"KitReminders49","to":"BaseContacts"}, + {"id":"KitReminders49->CoreActions76","kind":"imports","from":"KitReminders49","to":"CoreActions76"}, + {"id":"KitReminders79->BaseOnboarding","kind":"imports","from":"KitReminders79","to":"BaseOnboarding"}, + {"id":"KitReminders79->CoreRanking","kind":"imports","from":"KitReminders79","to":"CoreRanking"}, + {"id":"KitSearch->CoreClipboard38","kind":"imports","from":"KitSearch","to":"CoreClipboard38"}, + {"id":"KitSearch->CoreSnippets32","kind":"imports","from":"KitSearch","to":"CoreSnippets32"}, + {"id":"KitSearch32->CoreCommands51","kind":"imports","from":"KitSearch32","to":"CoreCommands51"}, + {"id":"KitSearch32->LibContacts","kind":"imports","from":"KitSearch32","to":"LibContacts"}, + {"id":"KitSearch62->CoreDocuments47","kind":"imports","from":"KitSearch62","to":"CoreDocuments47"}, + {"id":"KitSearch62->CoreOnboarding48","kind":"imports","from":"KitSearch62","to":"CoreOnboarding48"}, + {"id":"KitSettings->CoreCommands51","kind":"imports","from":"KitSettings","to":"CoreCommands51"}, + {"id":"KitSettings->CorePreviews","kind":"imports","from":"KitSettings","to":"CorePreviews"}, + {"id":"KitSettings45->CoreRanking87","kind":"imports","from":"KitSettings45","to":"CoreRanking87"}, + {"id":"KitSettings45->CoreSearch53","kind":"imports","from":"KitSettings45","to":"CoreSearch53"}, + {"id":"KitSettings75->CoreIndexing39","kind":"imports","from":"KitSettings75","to":"CoreIndexing39"}, + {"id":"KitSettings75->CoreShortcuts","kind":"imports","from":"KitSettings75","to":"CoreShortcuts"}, + {"id":"KitShortcuts->CoreRanking87","kind":"imports","from":"KitShortcuts","to":"CoreRanking87"}, + {"id":"KitShortcuts->CoreWindows80","kind":"imports","from":"KitShortcuts","to":"CoreWindows80"}, + {"id":"KitShortcuts58->CoreExtensions60","kind":"imports","from":"KitShortcuts58","to":"CoreExtensions60"}, + {"id":"KitShortcuts58->CoreSync58","kind":"imports","from":"KitShortcuts58","to":"CoreSync58"}, + {"id":"KitShortcuts88->BaseCommands42","kind":"imports","from":"KitShortcuts88","to":"BaseCommands42"}, + {"id":"KitShortcuts88->CoreTelemetry","kind":"imports","from":"KitShortcuts88","to":"CoreTelemetry"}, + {"id":"KitSnippets->BaseAccounts54","kind":"imports","from":"KitSnippets","to":"BaseAccounts54"}, + {"id":"KitSnippets->CoreClipboard","kind":"imports","from":"KitSnippets","to":"CoreClipboard"}, + {"id":"KitSnippets41->CoreDocuments","kind":"imports","from":"KitSnippets41","to":"CoreDocuments"}, + {"id":"KitSnippets41->CorePreferences91","kind":"imports","from":"KitSnippets41","to":"CorePreferences91"}, + {"id":"KitSnippets71->CoreFiles86","kind":"imports","from":"KitSnippets71","to":"CoreFiles86"}, + {"id":"KitSnippets71->CoreSnippets92","kind":"imports","from":"KitSnippets71","to":"CoreSnippets92"}, + {"id":"KitStorage->CoreShortcuts49","kind":"imports","from":"KitStorage","to":"CoreShortcuts49"}, + {"id":"KitStorage->CoreStorage","kind":"imports","from":"KitStorage","to":"CoreStorage"}, + {"id":"KitStorage54->CoreActions76","kind":"imports","from":"KitStorage54","to":"CoreActions76"}, + {"id":"KitStorage54->CoreIndexing","kind":"imports","from":"KitStorage54","to":"CoreIndexing"}, + {"id":"KitStorage84->CoreIndexing99","kind":"imports","from":"KitStorage84","to":"CoreIndexing99"}, + {"id":"KitStorage84->CoreReminders70","kind":"imports","from":"KitStorage84","to":"CoreReminders70"}, + {"id":"KitSync->BaseShortcuts40","kind":"imports","from":"KitSync","to":"BaseShortcuts40"}, + {"id":"KitSync->CoreTelemetry71","kind":"imports","from":"KitSync","to":"CoreTelemetry71"}, + {"id":"KitSync37->BaseAccounts","kind":"imports","from":"KitSync37","to":"BaseAccounts"}, + {"id":"KitSync37->CoreCommands81","kind":"imports","from":"KitSync37","to":"CoreCommands81"}, + {"id":"KitSync67->CoreFiles56","kind":"imports","from":"KitSync67","to":"CoreFiles56"}, + {"id":"KitSync67->CorePreviews74","kind":"imports","from":"KitSync67","to":"CorePreviews74"}, + {"id":"KitTelemetry->BaseDocuments","kind":"imports","from":"KitTelemetry","to":"BaseDocuments"}, + {"id":"KitTelemetry->CoreCatalog85","kind":"imports","from":"KitTelemetry","to":"CoreCatalog85"}, + {"id":"KitTelemetry50->CoreClipboard98","kind":"imports","from":"KitTelemetry50","to":"CoreClipboard98"}, + {"id":"KitTelemetry50->CoreCommands","kind":"imports","from":"KitTelemetry50","to":"CoreCommands"}, + {"id":"KitTelemetry80->CoreContacts64","kind":"imports","from":"KitTelemetry80","to":"CoreContacts64"}, + {"id":"KitTelemetry80->CoreOnboarding78","kind":"imports","from":"KitTelemetry80","to":"CoreOnboarding78"}, + {"id":"KitThemes->BaseFiles47","kind":"imports","from":"KitThemes","to":"BaseFiles47"}, + {"id":"KitThemes->CoreClipboard38","kind":"imports","from":"KitThemes","to":"CoreClipboard38"}, + {"id":"KitThemes33->CoreContacts94","kind":"imports","from":"KitThemes33","to":"CoreContacts94"}, + {"id":"KitThemes33->CoreTelemetry71","kind":"imports","from":"KitThemes33","to":"CoreTelemetry71"}, + {"id":"KitThemes63->CoreNotes","kind":"imports","from":"KitThemes63","to":"CoreNotes"}, + {"id":"KitThemes63->CoreSync88","kind":"imports","from":"KitThemes63","to":"CoreSync88"}, + {"id":"KitUpdates->CoreAccounts93","kind":"imports","from":"KitUpdates","to":"CoreAccounts93"}, + {"id":"KitUpdates->CoreCommands81","kind":"imports","from":"KitUpdates","to":"CoreCommands81"}, + {"id":"KitUpdates46->BaseCommands42","kind":"imports","from":"KitUpdates46","to":"BaseCommands42"}, + {"id":"KitUpdates46->CoreReminders70","kind":"imports","from":"KitUpdates46","to":"CoreReminders70"}, + {"id":"KitUpdates76->CoreCatalog85","kind":"imports","from":"KitUpdates76","to":"CoreCatalog85"}, + {"id":"KitUpdates76->CoreWindows","kind":"imports","from":"KitUpdates76","to":"CoreWindows"}, + {"id":"KitWindows->BasePreferences52","kind":"imports","from":"KitWindows","to":"BasePreferences52"}, + {"id":"KitWindows->CoreCommands81","kind":"imports","from":"KitWindows","to":"CoreCommands81"}, + {"id":"KitWindows59->CoreReminders40","kind":"imports","from":"KitWindows59","to":"CoreReminders40"}, + {"id":"KitWindows59->CoreStorage75","kind":"imports","from":"KitWindows59","to":"CoreStorage75"}, + {"id":"KitWindows89->CoreBilling42","kind":"imports","from":"KitWindows89","to":"CoreBilling42"}, + {"id":"KitWindows89->LibAccounts","kind":"imports","from":"KitWindows89","to":"LibAccounts"} + ] +} diff --git a/packages/renderers/graph/scenarios.json b/packages/renderers/graph/scenarios.json index a65f9224e..fc199ebfd 100644 --- a/packages/renderers/graph/scenarios.json +++ b/packages/renderers/graph/scenarios.json @@ -11,6 +11,14 @@ "before": "fixtures/service-platform-before.json", "after": "fixtures/service-platform-after.json" }, + { + "id": "mcp-tools", + "title": "MCP tools, toolsets and OAuth scopes", + "description": "A toolset arrives with 11 tools, every one requiring the repo scope, among about 140 unchanged tools: each toolset's tools that share their scopes wrap into a block, whose routes run as one.", + "renderer": "graph", + "before": "fixtures/mcp-tools-before.json", + "after": "fixtures/mcp-tools-after.json" + }, { "id": "service-platform-priority", "title": "Service platform, payments first (custom order)", diff --git a/packages/renderers/kit/src/graph-canvas/view-change.ts b/packages/renderers/kit/src/graph-canvas/view-change.ts index 7cfa54d2d..7340e3c54 100644 --- a/packages/renderers/kit/src/graph-canvas/view-change.ts +++ b/packages/renderers/kit/src/graph-canvas/view-change.ts @@ -17,6 +17,7 @@ export function shiftFrame(frame: GraphFrame, offset: Point): GraphFrame { nodes: frame.nodes.map(move), edges: frame.edges.map(edge => ({...edge, points: edge.points.map(move)})), junctions: frame.junctions.map(move), + blocks: frame.blocks.map(move), } } @@ -60,5 +61,22 @@ export function morphFrames(from: GraphFrame, to: GraphFrame, mix: number): Grap }), ...from.edges.filter(edge => !edgesAfter.has(edge.key)).map(edge => ({...edge, opacity: edge.opacity * within(1 - mix, 0.6, 1)})), ].filter(edge => edge.opacity > 0.001 && drawn.has(edge.fromId) && drawn.has(edge.toId)) - return {nodes, edges, junctions: [], width: to.width, height: to.height} + const was = new Map(from.blocks.map(block => [block.key, block])) + const kept = new Set(to.blocks.map(block => block.key)) + const blocks = [ + ...to.blocks.map(block => { + const old = was.get(block.key) + if (!old) return {...block, opacity: block.opacity * arriving} + return { + ...block, + x: interpolate(old.x, block.x, mix), + y: interpolate(old.y, block.y, mix), + width: interpolate(old.width, block.width, mix), + height: interpolate(old.height, block.height, mix), + opacity: interpolate(old.opacity, block.opacity, mix), + } + }), + ...from.blocks.filter(block => !kept.has(block.key)).map(block => ({...block, opacity: block.opacity * leaving})), + ].filter(block => block.opacity > 0.001) + return {nodes, edges, junctions: [], blocks, width: to.width, height: to.height} } diff --git a/packages/renderers/kit/src/graph-transition.ts b/packages/renderers/kit/src/graph-transition.ts index d5d138b14..dbe6e3165 100644 --- a/packages/renderers/kit/src/graph-transition.ts +++ b/packages/renderers/kit/src/graph-transition.ts @@ -53,6 +53,19 @@ export interface TransitionEdge extends EntityChange { */ part?: 'before' | 'after' } +/** + * A sibling block in a frame (see `GraphLayout.blocks`): the tray its cards sit in, its centre and size in layout units, + * and how present it is: as present as its most present card, faded while a move goes to or from a layout without it. + */ +export interface TransitionBlock extends Point { + /** The block's ID, the same in every layout that has it. */ + key: string + width: number + height: number + opacity: number + /** Its cards' entity row IDs, in reading order. */ + members: readonly string[] +} /** What a graph transition draws at one progress (see `GraphTransition`), in layout units. */ export interface GraphFrame { /** Cards and boundaries visible at this progress, in the model's entity order. */ @@ -61,6 +74,8 @@ export interface GraphFrame { edges: TransitionEdge[] /** Join/split points of shared-prerequisite stages, when the frame is settled on a layout that has them. */ junctions: Point[] + /** Sibling blocks visible at this progress, drawn under their cards. */ + blocks: TransitionBlock[] /** The drawing's width, interpolated between the layouts the frame moves between. */ width: number /** The drawing's height, interpolated between the layouts the frame moves between. */ diff --git a/packages/renderers/kit/src/graph-transition/diff-frame.ts b/packages/renderers/kit/src/graph-transition/diff-frame.ts index d57f6385d..dde7bb0d9 100644 --- a/packages/renderers/kit/src/graph-transition/diff-frame.ts +++ b/packages/renderers/kit/src/graph-transition/diff-frame.ts @@ -4,6 +4,7 @@ import type {EntityChange} from '@githubnext/projections-renderer-sdk/presentati import type {GraphLayout} from '../layout.js' import type {GraphFrame, TransitionEdge, TransitionNode} from '../graph-transition.js' import {faceToFace} from './morph.js' +import {frameBlocks} from './frame.js' import type {EdgeAlias, Ends} from './timing.js' export function diffFrame(union: GraphLayout, entities: readonly EntityChange[], edgeAliases: readonly EdgeAlias[]): GraphFrame { @@ -40,5 +41,5 @@ export function diffFrame(union: GraphLayout, entities: readonly EntityChange [node.id, node.opacity])) + const blocks: TransitionBlock[] = [] + for (const key of new Set([...from.blocks.keys(), ...to.blocks.keys()])) { + const a = from.blocks.get(key), + b = to.blocks.get(key) + const start = a ?? b!, + end = b ?? a! + const presence = a && b ? 1 : a ? 1 - mix : mix + const members = (mix < 0.5 ? start : end).members + const opacity = presence * Math.max(0, ...members.map(id => opacities.get(id) ?? 0)) + if (opacity <= VISIBLE) continue + blocks.push({ + key, + x: interpolate(start.x, end.x, mix), + y: interpolate(start.y, end.y, mix), + width: interpolate(start.width, end.width, mix), + height: interpolate(start.height, end.height, mix), + opacity, + members, + }) + } + return blocks +} diff --git a/packages/renderers/kit/src/graph-transition/layouts.ts b/packages/renderers/kit/src/graph-transition/layouts.ts index e9657ed98..4761d2bf8 100644 --- a/packages/renderers/kit/src/graph-transition/layouts.ts +++ b/packages/renderers/kit/src/graph-transition/layouts.ts @@ -87,11 +87,13 @@ export function stageLayout( ...(width !== undefined && width !== cardWidth ? {width} : {}), } }) - // Every step keeps its reference's (the union's) boundaries, so a boundary emptied by removals never becomes a card. + // Every step keeps its reference's (the union's) boundaries, so a boundary emptied by removals never becomes a card, + // and wraps only cards one of its blocks did. const kept = (reference: GraphLayout) => ({ layerGap: reference.layerGap, alignment: reference.alignment, boundaries: new Set(reference.groups.keys()), + blocks: new Map([...reference.blocks].map(([id, block]) => [id, block.members])), }) return (active, moment, hints, bridge, reference) => layoutGraph(nodesOf(active, moment), graphEdges(active, moment ?? 1, bridge), { diff --git a/packages/renderers/kit/src/layout.ts b/packages/renderers/kit/src/layout.ts index ac8f0e3a5..810326f6b 100644 --- a/packages/renderers/kit/src/layout.ts +++ b/packages/renderers/kit/src/layout.ts @@ -1,6 +1,7 @@ export {compareIds, cardWidth, cardFooterHeight, cardHeight} from './layout/model.js' export type {LayoutEdge, GraphLayout, GraphAlignment, RoutePorts, GraphLayoutOptions, LayoutNode} from './layout/model.js' export {boundaryKinds, moduleGroups} from './layout/groups.js' +export {blockMinimum, type LayoutBlock} from './layout/blocks.js' export {columnGap, layerGap, nodeSpacing} from './layout/placement.js' export {roundedSpline} from './layout/geometry.js' export {layoutGraph} from './layout/layout-graph.js' diff --git a/packages/renderers/kit/src/layout/blocks.ts b/packages/renderers/kit/src/layout/blocks.ts new file mode 100644 index 000000000..e019894f5 --- /dev/null +++ b/packages/renderers/kit/src/layout/blocks.ts @@ -0,0 +1,143 @@ +// Sibling blocks: many cards with the same relationships, wrapped into one grid that ELK lays out as a single node. +import type {Point} from '../edge-arrows.js' +import {cardHeight, cardWidth, compareIds, type LayoutEdge, type LayoutNode} from './model.js' + +/** The fewest siblings wrapped into a block: fewer stand in their layer's row, as wide as a few cards. */ +export const blockMinimum = 6 +/** Space between the cards in a block, and between them and its edge. */ +export const blockGap = 16 +/** A block's padding round its cards: room for its caption above them. */ +export const blockPadding = {top: 40, side: 16, bottom: 16} +/** How much wider than deep (across the layers, then along them) a block's grid aims to be. */ +const blockAspect = 3 + +/** A laid-out block: its centre and size, like a card's, and its cards in reading order. */ +export interface LayoutBlock extends Point { + width: number + height: number + members: readonly string[] +} + +/** + * The relationships a card has, as one key: each source and target with the relationship's kind and how it is drawn + * (`LayoutEdge.bundle`), so a block's routes, drawn as one, never hide a route drawn differently. + */ +function signatures(cards: ReadonlySet, edges: readonly LayoutEdge[]): Map { + const ends = new Map() + const add = (id: string, end: string) => { + if (!cards.has(id)) return + const list = ends.get(id) ?? [] + list.push(end) + ends.set(id, list) + } + for (const edge of edges) { + const how = `${edge.kind}\u0000${edge.bundle ?? ''}` + add(edge.from, `>${edge.to}\u0000${how}`) + add(edge.to, `<${edge.from}\u0000${how}`) + } + return new Map([...ends].map(([id, list]) => [id, JSON.stringify(list.toSorted(compareIds))])) +} + +function groupBy(ids: readonly string[], key: (id: string) => string): Map { + const result = new Map() + for (const id of ids) { + const list = result.get(key(id)) ?? [] + list.push(id) + result.set(key(id), list) + } + return result +} + +/** A short, stable ID for a block, from the relationships its cards share. */ +function blockId(signature: string): string { + let hash = 0x811c9dc5 + for (let index = 0; index < signature.length; index++) hash = Math.imul(hash ^ signature.charCodeAt(index), 0x01000193) + return `pk-block:${(hash >>> 0).toString(36)}` +} + +/** + * Sibling blocks among `cards`: `blockMinimum` or more that share every relationship (the same sources and targets, + * kinds and bundles), by block ID, each in `order`. With `given` (a reference layout's + * blocks), only cards one block held are blocked together, under its ID and in its order, two or more of them, so a + * transition's steps keep their union's blocks rather than wrapping a different set. + */ +export function siblingBlocks( + cards: ReadonlySet, + edges: readonly LayoutEdge[], + order: (a: string, b: string) => number, + given?: ReadonlyMap, +): Map { + const keys = signatures(cards, edges) + const blocks = new Map() + if (given) { + for (const [id, members] of given) { + const present = members.filter(member => keys.has(member)) + const bySignature = groupBy(present, member => keys.get(member)!) + const largest = [...bySignature.values()].toSorted((a, b) => b.length - a.length)[0] + if (largest && largest.length >= 2) blocks.set(id, largest) + } + return blocks + } + const bySignature = groupBy( + [...cards].filter(id => keys.has(id)), + id => keys.get(id)!, + ) + for (const [signature, members] of bySignature) { + if (members.length >= blockMinimum) blocks.set(blockId(signature), members.toSorted(order)) + } + return blocks +} + +/** + * How a block of `count` cards wraps: `across` cards in each line (along the layer), `along` lines of them. Lines are + * about `blockAspect` times as long across the layers as the block is deep, and as full as they can be. + */ +export function blockGrid(count: number, breadth: number, depth: number): {across: number; along: number} { + const wanted = Math.min(count, Math.max(1, Math.ceil(Math.sqrt((blockAspect * count * depth) / breadth)))) + const along = Math.ceil(count / wanted) + return {across: Math.ceil(count / along), along} +} + +/** A card's size, as laid out. */ +const sizeOf = (node: LayoutNode) => ({width: node.width ?? cardWidth, height: node.height ?? cardHeight(node.kind)}) + +/** + * Where a block's cards go relative to its top-left corner, in reading order (line by line, each line from its start), + * and the block's size. Each line is as deep as its deepest card, and every card is as broad as the broadest. + */ +export function blockArrangement( + members: readonly LayoutNode[], + direction: 'DOWN' | 'RIGHT', +): {offsets: Map; width: number; height: number} { + const sizes = members.map(sizeOf) + const breadthOf = (size: {width: number; height: number}) => (direction === 'DOWN' ? size.width : size.height) + const depthOf = (size: {width: number; height: number}) => (direction === 'DOWN' ? size.height : size.width) + const breadth = Math.max(...sizes.map(breadthOf)) + const {across} = blockGrid(members.length, breadth, Math.max(...sizes.map(depthOf))) + const lines: number[] = [] + members.forEach((_, index) => { + const line = Math.floor(index / across) + lines[line] = Math.max(lines[line] ?? 0, depthOf(sizes[index]!)) + }) + // Across the layers, the caption's side is the block's start; along them, its top. + const [startAlong, startAcross] = direction === 'DOWN' ? [blockPadding.top, blockPadding.side] : [blockPadding.side, blockPadding.top] + const offsets = new Map() + let alongAt = startAlong + lines.forEach((depth, line) => { + for (let column = 0; column < across; column++) { + const index = line * across + column + const member = members[index] + if (!member) break + const size = sizes[index]! + const acrossAt = startAcross + column * (breadth + blockGap) + offsets.set(member.id, direction === 'DOWN' ? {x: acrossAt, y: alongAt, ...size} : {x: alongAt, y: acrossAt, ...size}) + } + alongAt += depth + blockGap + }) + const alongExtent = alongAt - blockGap + (direction === 'DOWN' ? blockPadding.bottom : blockPadding.side) + const acrossExtent = + startAcross + across * breadth + (across - 1) * blockGap + (direction === 'DOWN' ? blockPadding.side : blockPadding.bottom) + return direction === 'DOWN' + ? {offsets, width: acrossExtent, height: alongExtent} + : {offsets, width: alongExtent, height: acrossExtent} +} diff --git a/packages/renderers/kit/src/layout/elk-input.ts b/packages/renderers/kit/src/layout/elk-input.ts index 780921e91..d5acbfacc 100644 --- a/packages/renderers/kit/src/layout/elk-input.ts +++ b/packages/renderers/kit/src/layout/elk-input.ts @@ -4,6 +4,13 @@ import type {Point} from '../edge-arrows.js' import {compareIds, type LayoutEdge, type GraphLayoutOptions, type LayoutNode} from './model.js' import {boundaryKinds, moduleGroups} from './groups.js' import {sharedStages, type SharedStage} from './shared-stages.js' +import {blockArrangement, siblingBlocks} from './blocks.js' + +/** A sibling block as ELK lays it out: one node, its cards' places in it relative to its top-left corner. */ +export interface LaidBlock { + members: string[] + offsets: Map +} export interface ElkInput { nodes: readonly LayoutNode[] @@ -15,8 +22,19 @@ export interface ElkInput { /** Each child's boundary. */ member: Map hints: ReadonlyMap - /** Relationships placed, in an order independent of their IDs. */ + /** + * Relationships placed, in an order independent of their IDs, with a block's relationships drawn as one: one from + * each source to the block, one from the block to each target (see `routedAs`). + */ placed: LayoutEdge[] + /** Each relationship of a block's card, by ID: the ID of the one placed for the whole block. */ + routedAs: Map + /** The relationships of blocks' cards, by ID. */ + blocked: Map + /** Sibling blocks (see `siblingBlocks`), by block ID. */ + blocks: Map + /** Each block's card: its block. */ + blockOf: Map stages: SharedStage[] /** Relationships through a junction, and its stage. */ viaJunction: Map @@ -24,7 +42,7 @@ export interface ElkInput { ordered: LayoutNode[] /** Cards with no relationships, placed in the room the rest leaves (see `placeUnlinked`). */ unlinked: Set - /** Nodes ELK lays out. */ + /** Nodes ELK lays out: a block in place of its cards. */ laid: LayoutNode[] elkId: Map byElk: Map @@ -37,28 +55,78 @@ export function elkInput(nodes: readonly LayoutNode[], edges: readonly LayoutEdg const direction = options.orientation === 'horizontal' ? 'RIGHT' : 'DOWN' const kinds = boundaryKinds(options.compound) const groups = kinds.length ? moduleGroups(nodes, edges, kinds, options.boundaries) : new Map() - const hints = options.hints ?? new Map() + const given = options.hints ?? new Map() const across = direction === 'DOWN' ? 'x' : 'y' - const byOrder = (a: string, b: string) => (hints.get(a)?.[across] ?? Infinity) - (hints.get(b)?.[across] ?? Infinity) || compareIds(a, b) + const byOrder = (a: string, b: string) => (given.get(a)?.[across] ?? Infinity) - (given.get(b)?.[across] ?? Infinity) || compareIds(a, b) const present = new Set(nodes.map(node => node.id)) - const placed = edges + const relationships = edges .filter(edge => present.has(edge.from) && present.has(edge.to) && !(edge.kind === 'contains' && groups.has(edge.from))) // Independent of edge IDs, which differ between a comparison and its mirror. .toSorted((a, b) => byOrder(a.from, b.from) || byOrder(a.to, b.to) || compareIds(a.kind, b.kind) || compareIds(a.id, b.id)) - const stages = options.junctions ? sharedStages(placed) : [] - const viaJunction = new Map(stages.flatMap((stage, index) => stage.edges.map(edge => [edge.id, index]))) // ELK IDs are positions, so geometry never depends on identifier text. const member = new Map() for (const [group, children] of groups) for (const child of children) member.set(child, group) - const ordered = nodes.toSorted((a, b) => byOrder(a.id, b.id)) // Cards with no relationships take places on the rest's layers after ELK lays it out, or a grid of their own when // there is no rest (see `placeUnlinked`). - const linked = new Set(placed.flatMap(edge => [edge.from, edge.to])) + const linked = new Set(relationships.flatMap(edge => [edge.from, edge.to])) + const free = new Set(nodes.filter(node => !groups.has(node.id) && !member.has(node.id) && linked.has(node.id)).map(node => node.id)) + const blockMembers = siblingBlocks(free, relationships, byOrder, options.blocks) + const blockOf = new Map() + for (const [id, members] of blockMembers) for (const card of members) blockOf.set(card, id) + const byId = new Map(nodes.map(node => [node.id, node])) + const blocks = new Map() + const blockNodes = new Map() + const hints = new Map(given) + for (const [id, members] of blockMembers) { + const {offsets, width, height} = blockArrangement( + members.map(card => byId.get(card)!), + direction, + ) + blocks.set(id, {members, offsets}) + blockNodes.set(id, {id, kind: 'pk-block', width, height}) + // Where the reference layout had its cards: their middle. + const points = members.map(card => given.get(card)).filter(point => point !== undefined) + if (points.length) { + hints.set(id, {x: points.reduce((sum, point) => sum + point.x, 0) / points.length, y: points.reduce((sum, point) => sum + point.y, 0) / points.length}) + } + } + // A block's relationships, placed as one per source and target. + const routedAs = new Map() + const blocked = new Map() + const placed: LayoutEdge[] = [] + const shared = new Map() + for (const edge of relationships) { + const from = blockOf.get(edge.from) ?? edge.from, + to = blockOf.get(edge.to) ?? edge.to + if (from === edge.from && to === edge.to) { + placed.push(edge) + continue + } + const key = JSON.stringify([from, to, edge.kind, edge.bundle ?? '']) + let id = shared.get(key) + if (id === undefined) { + id = `${blockOf.get(edge.from) ?? blockOf.get(edge.to)}:${shared.size}` + shared.set(key, id) + placed.push({...edge, id, from, to}) + } + routedAs.set(edge.id, id) + blocked.set(edge.id, edge) + } + const stages = options.junctions ? sharedStages(placed) : [] + const viaJunction = new Map(stages.flatMap((stage, index) => stage.edges.map(edge => [edge.id, index]))) + + const ordered = nodes.toSorted((a, b) => byOrder(a.id, b.id)) const unlinked = new Set( ordered.filter(node => !groups.has(node.id) && !member.has(node.id) && !linked.has(node.id)).map(node => node.id), ) - const laid = ordered.filter(node => !unlinked.has(node.id)) + // A block takes its first card's place in the order. + const laid = ordered.flatMap(node => { + if (unlinked.has(node.id)) return [] + const block = blockOf.get(node.id) + if (block === undefined) return [node] + return blocks.get(block)!.members[0] === node.id ? [blockNodes.get(block)!] : [] + }) const elkId = new Map(laid.map((node, index) => [node.id, `n${index}`])) const elkEdges: ElkExtendedEdge[] = [] const add = (source: string, target: string) => { @@ -90,6 +158,10 @@ export function elkInput(nodes: readonly LayoutNode[], edges: readonly LayoutEdg member, hints, placed, + routedAs, + blocked, + blocks, + blockOf, stages, viaJunction, ordered, diff --git a/packages/renderers/kit/src/layout/lay-out.ts b/packages/renderers/kit/src/layout/lay-out.ts index bae0f6fd6..17dc0a614 100644 --- a/packages/renderers/kit/src/layout/lay-out.ts +++ b/packages/renderers/kit/src/layout/lay-out.ts @@ -8,6 +8,7 @@ import {elkInput} from './elk-input.js' import {elkRun} from './elk-run.js' import {placeCards, type Plan} from './elk-placement.js' import {placeUnlinked, type Box} from './unlinked.js' +import type {LayoutBlock} from './blocks.js' import {columnGrid, snapToGrid} from './grid.js' /** @@ -23,7 +24,8 @@ export async function layOut( enough?: number, ): Promise<{layout: GraphLayout | undefined; crowding: number; plan: Plan; alignment: GraphLayout['alignment']}> { const input = elkInput(nodes, edges, options) - const {direction, across, groups, hints, placed, stages, viaJunction, ordered, unlinked, elkId, elkEdges, parts} = input + const {direction, across, groups, hints, placed, stages, viaJunction, ordered, unlinked, elkId, elkEdges, parts, blocks, blockOf, routedAs} = + input // Without a reference layout, ELK first orders the cards to cross least, then places them in that order. Graphs with // boundaries keep ELK's own placement, which the boundaries' padding and nesting shape. const laidHints = new Map([...hints].filter(([id]) => elkId.has(id))) @@ -86,10 +88,21 @@ export async function layOut( } const placedUnlinked = unlinked.size ? placeUnlinked(input, boxes, trunks ?? polylines, {width, height}, grid) : undefined if (placedUnlinked) ({width, height} = placedUnlinked) + // A block's cards in its lines, where ELK placed the block. + const inBlocks = new Map() + const laidBlocks = new Map() + for (const [id, {members, offsets}] of blocks) { + const block = boxes.get(elkId.get(id)!)! + for (const card of members) { + const offset = offsets.get(card)! + inBlocks.set(card, {...offset, x: block.x + offset.x, y: block.y + offset.y}) + } + laidBlocks.set(id, {x: block.x + block.width / 2, y: block.y + block.height / 2, width: block.width, height: block.height, members}) + } const points = new Map(), sizes = new Map() for (const node of ordered) { - const box = placedUnlinked?.placed.get(node.id) ?? boxes.get(elkId.get(node.id)!)! + const box = inBlocks.get(node.id) ?? placedUnlinked?.placed.get(node.id) ?? boxes.get(elkId.get(node.id)!)! points.set(node.id, {x: box.x + box.width / 2, y: box.y + box.height / 2}) sizes.set(node.id, {width: box.width, height: box.height}) } @@ -107,12 +120,14 @@ export async function layOut( polylines, boxes: new Map([ ...[...points].map(([id, point]) => [id, {...point, ...sizes.get(id)!}] as const), + ...[...laidBlocks].map(([id, block]) => [id, block] as const), ...stages.map((_, index) => { const box = boxes.get(`j${index}`)! return [`j${index}`, {x: box.x + box.width / 2, y: box.y + box.height / 2, width: 0, height: 0}] as const }), ]), - cards: new Set([...points.keys()].filter(id => !groups.has(id))), + // A block is one card to its routes; its own cards are inside it, clear of them. + cards: new Set([...[...points.keys()].filter(id => !groups.has(id) && !blockOf.has(id)), ...blocks.keys()]), loose: unlinked, direction, gap, @@ -123,6 +138,24 @@ export async function layOut( // Routing stopped once the gap was known to be too narrow: there is no layout, only how much wider it must be. if (!('routes' in routed)) return {layout: undefined, crowding: routed.crowding, plan, alignment} const {routes, ports, crowding} = routed + // Each relationship of a block's card takes the block's route, its ports relative to its own cards. + for (const [id, as] of routedAs) { + const edge = input.blocked.get(id)! + const route = routes.get(as)!, + port = ports.get(as)! + const source = points.get(edge.from)!, + target = points.get(edge.to)! + routes.set(id, route) + ports.set(id, { + ...port, + from: {x: route[0]!.x - source.x, y: route[0]!.y - source.y}, + to: {x: route.at(-1)!.x - target.x, y: route.at(-1)!.y - target.y}, + }) + } + for (const as of new Set(routedAs.values())) { + routes.delete(as) + ports.delete(as) + } const junctions = stages.map((_, index) => { const box = boxes.get(`j${index}`)! return {x: box.x + box.width / 2, y: box.y + box.height / 2} @@ -133,8 +166,12 @@ export async function layOut( sizes, routes, groups, + blocks: laidBlocks, junctions, - shared: new Set(viaJunction.keys()), + shared: new Set([ + ...[...viaJunction.keys()].filter(id => routes.has(id)), + ...[...routedAs].filter(([, as]) => viaJunction.has(as)).map(([id]) => id), + ]), ports, layerGap: gap, alignment, diff --git a/packages/renderers/kit/src/layout/layout-graph.ts b/packages/renderers/kit/src/layout/layout-graph.ts index df3ab78f9..efb5bb419 100644 --- a/packages/renderers/kit/src/layout/layout-graph.ts +++ b/packages/renderers/kit/src/layout/layout-graph.ts @@ -29,6 +29,7 @@ export function layoutGraph( options.orientation, options.compound, options.boundaries && [...options.boundaries], + options.blocks && [...options.blocks], options.junctions, options.hints && [...options.hints], options.layerGap, diff --git a/packages/renderers/kit/src/layout/model.ts b/packages/renderers/kit/src/layout/model.ts index 80b4fa4b5..2029b320c 100644 --- a/packages/renderers/kit/src/layout/model.ts +++ b/packages/renderers/kit/src/layout/model.ts @@ -2,6 +2,7 @@ import type {Point} from '../edge-arrows.js' import type {Spline} from '../splines.js' import type {Alignment} from './alignment.js' +import type {LayoutBlock} from './blocks.js' /** Code-unit order, the same order the Engine uses for IDs. */ export function compareIds(left: string, right: string): number { @@ -35,6 +36,12 @@ export interface GraphLayout { routes: Map /** Compound module boundaries and their direct members. */ groups: Map + /** + * Sibling blocks by block ID: many cards that share every relationship, wrapped into a grid of lines in one place in + * their layer (see `GraphLayoutOptions.blocks`). Their relationships' routes are the block's: one from each source + * into the block's in face, one from its out face to each target, shared by every card in it. + */ + blocks: Map /** Join/split points of shared-prerequisite stages (see `GraphLayoutOptions.junctions`). */ junctions: Point[] /** Edges routed through a junction. */ @@ -91,6 +98,13 @@ export interface GraphLayoutOptions { * point (DAGs). */ junctions?: boolean + /** + * The blocks of a reference layout (`GraphLayout.blocks`, by block ID, their cards in order). Without it, a layout + * wraps every `blockMinimum` or more cards that share all their relationships (the same sources and targets, kinds + * and bundles) into a block; with it, only cards one of these held, two or more still alike, so a transition's steps + * keep their union's blocks. + */ + blocks?: ReadonlyMap /** * Where cards were in a reference layout. ELK then keeps that order within * each layer (semi-interactive crossing minimization) and still minimizes diff --git a/packages/renderers/kit/src/layout/routing/build.ts b/packages/renderers/kit/src/layout/routing/build.ts index 3ad33333d..e06e701b1 100644 --- a/packages/renderers/kit/src/layout/routing/build.ts +++ b/packages/renderers/kit/src/layout/routing/build.ts @@ -22,13 +22,19 @@ function slide(ctx: RoutingContext, segment: Segment) { // Along-axis gaps between the cards that lie across a route's span, widest first: where one S can turn. function gaps(ctx: RoutingContext, segment: Segment, start: Point, end: Point) { - const {along, across, box, depth, breadth, cards} = ctx + const {along, across, at, box, depth, breadth, cardsNear} = ctx const s0 = along(start), f0 = along(end) - (segment.lead ? arrowHeadReach : 0) const low = Math.min(across(start), across(end)) - routeClearance, high = Math.max(across(start), across(end)) + routeClearance const blocked: [number, number][] = [] - for (const id of cards) { + const [corner, opposite] = [at(Math.min(s0, f0), low), at(Math.max(s0, f0), high)] + for (const id of cardsNear( + Math.min(corner.x, opposite.x), + Math.max(corner.x, opposite.x), + Math.min(corner.y, opposite.y), + Math.max(corner.y, opposite.y), + )) { if (id === segment.from || id === segment.to) continue const card = box(id) if (across(card) + breadth(id) / 2 < low || across(card) - breadth(id) / 2 > high) continue diff --git a/packages/renderers/kit/src/layout/routing/context.ts b/packages/renderers/kit/src/layout/routing/context.ts index 2cd9ec46d..409ab629a 100644 --- a/packages/renderers/kit/src/layout/routing/context.ts +++ b/packages/renderers/kit/src/layout/routing/context.ts @@ -33,6 +33,8 @@ export interface RoutingInput { /** Room kept between a direct S and any card it passes. */ export const routeClearance = 8 +/** The side of the square cells cards are indexed in, in layout units: about a card's width. */ +const cellSize = 256 /** One ELK edge's stretch of a relationship's route. */ export interface Segment { @@ -97,6 +99,8 @@ export interface RoutingContext { crossingsOf: (segment: Segment, counted?: (other: Segment) => boolean) => number /** Whether a route keeps `routeClearance` from every card but its own. */ clear: (route: Spline, own: readonly string[]) => boolean + /** The cards whose clearance boxes may meet a rectangle (left, right, top, bottom): every one that does, and a few more. */ + cardsNear: (left: number, right: number, top: number, bottom: number) => Set /** Where the next layer of cards begins after a card: the nearest card face beyond its out face. */ firstGap: (id: string) => number /** The far face of the last layer of cards before a card: where the gap above its in face begins. */ @@ -201,7 +205,7 @@ export function routingContext(input: RoutingInput): RoutingContext { other.from === segment.from ? 6 : 3, ), ).length - // Cards' clearance boxes, kept for the whole routing. + // Cards' clearance boxes, kept for the whole routing, in square cells: a route is tested only against the cards near it. const clearance = new Map( [...cards].map(id => { const card = box(id) @@ -216,6 +220,30 @@ export function routingContext(input: RoutingInput): RoutingContext { ] }), ) + const cells = new Map() + const cellRange = (low: number, high: number) => [Math.floor(low / cellSize), Math.floor(high / cellSize)] as const + const cellKey = (column: number, row: number) => (column + 0x100000) * 0x200000 + (row + 0x100000) + for (const [id, [left, right, top, bottom]] of clearance) { + const [c0, c1] = cellRange(left, right), + [r0, r1] = cellRange(top, bottom) + for (let column = c0; column <= c1; column++) { + for (let row = r0; row <= r1; row++) { + const list = cells.get(cellKey(column, row)) + if (list) list.push(id) + else cells.set(cellKey(column, row), [id]) + } + } + } + /** The cards whose clearance boxes may meet a rectangle (left, right, top, bottom): every one that does, and a few more. */ + const cardsNear = (left: number, right: number, top: number, bottom: number): Set => { + const found = new Set() + const [c0, c1] = cellRange(left, right), + [r0, r1] = cellRange(top, bottom) + for (let column = c0; column <= c1; column++) { + for (let row = r0; row <= r1; row++) for (const id of cells.get(cellKey(column, row)) ?? []) found.add(id) + } + return found + } const clear = (route: Spline, own: readonly string[]) => { const samples = sampleSpline(route, 4) // Runs of samples with their bounds: a card is tested only against the runs that reach it. @@ -235,9 +263,10 @@ export function routingContext(input: RoutingInput): RoutingContext { } runs.push({from, to, box: [left, right, top, bottom]}) } - for (const [id, [left, right, top, bottom]] of clearance) { - if (own.includes(id)) continue - for (const run of runs) { + for (const run of runs) { + for (const id of cardsNear(...run.box)) { + if (own.includes(id)) continue + const [left, right, top, bottom] = clearance.get(id)! if (run.box[1] <= left || run.box[0] >= right || run.box[3] <= top || run.box[2] >= bottom) continue for (let index = run.from; index < run.to; index++) { const point = samples[index]! @@ -291,6 +320,7 @@ export function routingContext(input: RoutingInput): RoutingContext { quickCross, crossingsOf, clear, + cardsNear, firstGap, previousLayer, crowding: 0, diff --git a/packages/renderers/kit/src/layout/routing/converge.ts b/packages/renderers/kit/src/layout/routing/converge.ts index 6b9b0c55b..b87c223b1 100644 --- a/packages/renderers/kit/src/layout/routing/converge.ts +++ b/packages/renderers/kit/src/layout/routing/converge.ts @@ -25,7 +25,8 @@ export function untangleConverging(ctx: RoutingContext): void { for (let round = 0; round < ordered.length * 2; round++) { let changed = false for (let i = 0; i < ordered.length; i++) { - for (let j = i + 1; j < ordered.length; j++) { + // Once the staggers are spent, only neighbouring ports can change places: farther pairs need no test. + for (let j = i + 1; j < (staggers > 0 ? ordered.length : Math.min(ordered.length, i + 2)); j++) { const [a, b] = [ordered[i], ordered[j]] if (!a || !b || !crosses(a, b)) continue // Keep the order they come from: turn one before the other, or route one another way. diff --git a/packages/renderers/kit/src/layout/routing/trunk-moves.ts b/packages/renderers/kit/src/layout/routing/trunk-moves.ts index 2a6219a44..42cd2814c 100644 --- a/packages/renderers/kit/src/layout/routing/trunk-moves.ts +++ b/packages/renderers/kit/src/layout/routing/trunk-moves.ts @@ -57,18 +57,29 @@ export function moveTrunksOff(ctx: RoutingContext, all: readonly Segment[], runs high: runs.get(segment)!.high, })), ] + // The neighbours by the track their run is on: only those on a track either side of a place can be beside it. + const tracks = new Map() + for (const other of near) { + const track = Math.floor(other.along / trackSpacing) + const list = tracks.get(track) + if (list) list.push(other) + else tracks.set(track, [other]) + } + const members = trunk.map(segment => ({run: runs.get(segment)!, port: portOf(segment), bundle: segment.bundle ?? ''})) // Beside another's run (`hiding`: only one drawn differently, which it would hide or be hidden under). - const close = (position: number, hiding = false) => - trunk.some(segment => { - const run = runs.get(segment)! - return near.some( + const close = (position: number, hiding = false) => { + const track = Math.floor(position / trackSpacing) + const candidates = [track - 1, track, track + 1].flatMap(index => tracks.get(index) ?? []) + return members.some(({run, port, bundle}) => + candidates.some( other => - other.port !== portOf(segment) && - (!hiding || other.bundle !== (segment.bundle ?? '')) && + other.port !== port && + (!hiding || other.bundle !== bundle) && Math.abs(other.along - position) < trackSpacing - 0.01 && Math.min(other.high, run.high) - Math.max(other.low, run.low) > 2, - ) - }) + ), + ) + } const now = Math.min(...trunk.map(middleOf)) // Every member at the trunk's place (the earliest of them), or the whole trunk moved off a neighbour's run. const place = (position: number, alike = false) => diff --git a/packages/renderers/kit/src/react/graph-canvas/block-tray.tsx b/packages/renderers/kit/src/react/graph-canvas/block-tray.tsx new file mode 100644 index 000000000..0ae92687d --- /dev/null +++ b/packages/renderers/kit/src/react/graph-canvas/block-tray.tsx @@ -0,0 +1,57 @@ +// A sibling block's tray: an inset well its cards sit in, which its shared relationships enter and leave, captioned +// with how many cards it holds and, while their changes are emphasized, how many of them each change touches. +import {humanizeKind} from '@githubnext/projections-renderer-sdk/presentation' +import {classifyChange, statusGlyphs, statusLabels, type ChangeClassification} from '../../emphasis.js' +import type {TransitionBlock, TransitionNode} from '../../graph-transition.js' +import {blockPadding} from '../../layout/blocks.js' +import {displayed} from './cards.js' +import type {Drawing} from './drawing.js' + +/** The caption's baseline below the tray's top edge: centred in the band above the cards. */ +const captionBaseline = 24 +const changeOrder: readonly ChangeClassification[] = ['added', 'removed', 'modified', 'renamed'] + +/** How many cards of what: `11 tools`, or `6 entities` for cards of several kinds. */ +function countWords(members: readonly TransitionNode[], total: number, locale?: string): string { + const kinds = new Set(members.map(node => displayed(node).kind)) + const noun = kinds.size === 1 ? humanizeKind([...kinds][0]!) : {singular: 'entity', plural: 'entities'} + return `${total.toLocaleString(locale)} ${total === 1 ? noun.singular : noun.plural}` +} + +export function BlockTray({block, nodes, drawing}: {block: TransitionBlock; nodes: ReadonlyMap; drawing: Drawing}) { + const {props} = drawing + const members = block.members.map(id => nodes.get(id)).filter(node => node !== undefined) + if (!members.length) return null + // The changes its cards show now, each counted once. + const counts = new Map() + for (const node of members) { + const change = classifyChange(node) + if (change === 'unchanged' || props.emphasis(node) <= 0.01) continue + counts.set(change, (counts.get(change) ?? 0) + 1) + } + const changes = changeOrder.filter(change => counts.has(change)) + const words = countWords(members, block.members.length, props.locale) + const left = block.x - block.width / 2, + top = block.y - block.height / 2 + const receded = members.every(node => drawing.receded(node.id)) + const description = changes.map(change => `${counts.get(change)!.toLocaleString(props.locale)} ${statusLabels[change].toLowerCase()}`) + return ( + + + + + ) +} diff --git a/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx b/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx index 36d35bffb..0dbebf966 100644 --- a/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx +++ b/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx @@ -13,6 +13,7 @@ import {GraphFooter} from './graph-footer.js' import {EdgeOrigins} from './edge-origins.js' import {Arrowheads, drawnLinks, GraphLink, linkRecedes, RaisedLink, raisedLinks} from './graph-link.js' import {GroupNode} from './group-node.js' +import {BlockTray} from './block-tray.js' import type {TransitionEdge} from '../../graph-transition.js' import {provisional, useViewChange, type Drawn} from './moving-view.js' import {useAnchoredScroll} from './anchored-scroll.js' @@ -131,6 +132,9 @@ export function LaidOutGraph(props: LaidOutGraphProps) { .map(node => ( ))} + {frame.blocks.map(block => ( + + ))} {links.map(link => { const synthetic = draw.props.synthetic?.(link.edge.id) ?? false return ( diff --git a/packages/renderers/kit/src/routes/courses.ts b/packages/renderers/kit/src/routes/courses.ts index 72a9e0ea8..208a803db 100644 --- a/packages/renderers/kit/src/routes/courses.ts +++ b/packages/renderers/kit/src/routes/courses.ts @@ -34,7 +34,7 @@ interface Entry { export function courseIndex(drawing: (key: K) => string): CourseIndex { // Each cell's samples by drawing, so a route's own drawing (a trunk of routes drawn alike) costs nothing to pass over. const cells = new Map[]>>() - const courses = new Map() + const courses = new Map() const remove = (key: K) => { const known = courses.get(key) if (!known) return @@ -64,7 +64,14 @@ export function courseIndex(drawing: (key: K) => string): CourseIndex { if (list) list.push(entry) else groups.set(group, [entry]) } - courses.set(key, {cells: keys, points}) + let [left, right, top, bottom] = [Infinity, -Infinity, Infinity, -Infinity] + for (const point of points) { + left = Math.min(left, point.x) + right = Math.max(right, point.x) + top = Math.min(top, point.y) + bottom = Math.max(bottom, point.y) + } + courses.set(key, {cells: keys, points, box: [left - touching, right + touching, top - touching, bottom + touching], group}) } const nearby = (point: Point, group: string, counted: ((other: K) => boolean) | undefined, found: Set) => { const [column, row] = [Math.floor(point.x / touching), Math.floor(point.y / touching)] @@ -87,8 +94,17 @@ export function courseIndex(drawing: (key: K) => string): CourseIndex { const runs = new Map() const hidden = new Set() const group = drawing(key) + const own = courses.get(key) + if (!own) return [] + // Only routes drawn differently whose bounds meet this one's can run along it: most routes have none to look for. + const [left, right, top, bottom] = own.box + const reachable = [...courses].some( + ([other, {box, group: drawn}]) => + drawn !== group && other !== key && box[0] <= right && box[1] >= left && box[2] <= bottom && box[3] >= top, + ) + if (!reachable) return [] const near = new Set() - for (const point of courses.get(key)?.points ?? []) { + for (const point of own.points) { near.clear() nearby(point, group, counted, near) for (const other of runs.keys()) if (!near.has(other)) runs.delete(other) diff --git a/packages/renderers/kit/styles/graph.css b/packages/renderers/kit/styles/graph.css index c27ab086b..fb533a571 100644 --- a/packages/renderers/kit/styles/graph.css +++ b/packages/renderers/kit/styles/graph.css @@ -123,6 +123,37 @@ fill: var(--violet-soft); stroke: var(--violet-border); } +/* + * A sibling block's tray (see `GraphLayout.blocks`): an inset well under its cards, ruled like the stage's other + * structure, that its shared relationships enter and leave. Its caption reads like the summary bar: a count, then each + * emphasized change's count in its hue. + */ +.graph-block-tray { + fill: var(--inset); + stroke: var(--divider); + stroke-width: var(--stroke); + rx: var(--projections-radius-lg); +} +.graph-block-caption { + fill: var(--muted); + font-size: var(--projections-font-size-xs); + font-variant-numeric: tabular-nums; +} +.graph-block-change.added { + fill: var(--green); +} +.graph-block-change.removed { + fill: var(--red); +} +.graph-block-change.modified { + fill: var(--amber); +} +.graph-block-change.renamed { + fill: var(--violet); +} +.graph-block.receded { + filter: opacity(0.28); +} .node-kind { fill: var(--muted); font-size: var(--projections-font-size-xs); From b6bde52dd2f1b5d2e9de84ddaedf8fdc9e9b65e5 Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Tue, 1 Dec 2026 16:43:41 -0800 Subject: [PATCH 2/8] Graph blocks: grid columns, straight ports into a tray, arrowheads on the tray; browser coverage Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../renderers/graph/browser/graph.spec.ts | 50 ++++++++++++++++++- packages/renderers/kit/browser/fixtures.ts | 49 ++++++++++++++++++ .../kit/browser/invariants/contacts.ts | 9 +++- .../renderers/kit/browser/invariants/frame.ts | 12 +++-- packages/renderers/kit/src/layout/blocks.ts | 47 ++++++++++------- .../renderers/kit/src/layout/elk-input.ts | 27 ++++++---- packages/renderers/kit/src/layout/grid.ts | 16 ++++-- packages/renderers/kit/src/layout/lay-out.ts | 20 ++++++-- .../kit/src/layout/routing/context.ts | 2 + .../renderers/kit/src/layout/routing/ports.ts | 24 ++++++++- .../kit/src/react/graph-canvas/graph-link.tsx | 17 ++++++- .../src/react/graph-canvas/laid-out-graph.tsx | 3 +- 12 files changed, 230 insertions(+), 46 deletions(-) diff --git a/packages/renderers/graph/browser/graph.spec.ts b/packages/renderers/graph/browser/graph.spec.ts index 6c5ae24d3..b370fb5b7 100644 --- a/packages/renderers/graph/browser/graph.spec.ts +++ b/packages/renderers/graph/browser/graph.spec.ts @@ -1,10 +1,10 @@ import {expect, test} from '@playwright/test' import {openRenderer} from '@githubnext/projections-renderer-harness/playwright' -import {featureFlags, fileReflow, layeredWaves} from '../../kit/browser/fixtures.js' +import {featureFlags, fileReflow, layeredWaves, wideFanOut} from '../../kit/browser/fixtures.js' import {scrubSuite, selectionSuite} from '../../kit/browser/suite.js' import {paneStatusSuite, statusSuite} from '../../kit/browser/status.js' -scrubSuite([fileReflow('graph'), fileReflow('graph-horizontal'), layeredWaves('graph'), featureFlags()]) +scrubSuite([fileReflow('graph'), fileReflow('graph-horizontal'), layeredWaves('graph'), featureFlags(), wideFanOut(), wideFanOut('graph-horizontal')]) selectionSuite(fileReflow('graph'), 'file:src/api.ts') statusSuite(fileReflow('graph')) statusSuite(layeredWaves('graph')) @@ -224,3 +224,49 @@ test('node names are monospace identifiers that stay inside their cards; kinds s ).toBe(false) }) }) + +test('a wide fan-out wraps into a block whose relationships enter and leave its tray as one', async ({page}) => { + const {before, after} = wideFanOut() + for (const request of [{extraction: after}, {before, after, progress: 1}, {before, after, comparisonMode: 'diff' as const}]) { + const renderer = await openRenderer(page, {renderer: 'graph', ...request}) + const drawn = await renderer.frame.locator('svg.graph').evaluate(svg => { + const scale = (svg as SVGSVGElement).getScreenCTM()!.a + const box = (element: Element) => { + const rect = element.getBoundingClientRect() + return {left: rect.left / scale, right: rect.right / scale, top: rect.top / scale, bottom: rect.bottom / scale} + } + const blocks = [...svg.querySelectorAll('.graph-block')].map(block => ({ + caption: block.querySelector('.graph-block-caption')!.textContent, + tray: box(block.querySelector('.graph-block-tray')!), + })) + const cards = Object.fromEntries( + [...svg.querySelectorAll('.graph-node[data-entity-id]')].map(node => [node.dataset.entityId!, box(node.querySelector('.node-surface')!)]), + ) + const links = [...svg.querySelectorAll('.graph-link[data-entity-id]')].map(link => ({ + id: link.dataset.entityId!, + toBlock: link.dataset.toBlock, + fromBlock: link.dataset.fromBlock, + d: link.querySelector('path.graph-edge')!.getAttribute('d'), + })) + return {blocks, cards, links} + }) + // The arrivals and the six remaining issue tools: one block each. + expect(drawn.blocks.map(block => block.caption?.replace(/ \+\d+$/u, '')).toSorted()).toEqual(['6 tools', '8 tools']) + const tray = drawn.blocks.find(block => block.caption?.startsWith('8'))!.tray + const arrivals = Object.entries(drawn.cards).filter(([id]) => id.startsWith('tool:') && id.includes('automation')) + expect(arrivals).toHaveLength(8) + for (const [id, card] of arrivals) { + expect(card.left >= tray.left && card.right <= tray.right && card.top >= tray.top && card.bottom <= tray.bottom, `${id} in its tray`).toBe(true) + } + // Wrapped: more than one line, and narrower than the eight side by side. + expect(new Set(arrivals.map(([, card]) => Math.round(card.top))).size).toBeGreaterThan(1) + // Every arrival's relationships share one route into the tray and one out of it. + const into = drawn.links.filter(link => link.id.startsWith('toolset:copilot_automations->')) + const out = drawn.links.filter(link => link.id.includes('automation') && link.id.endsWith('->scope:repo')) + expect(into).toHaveLength(8) + expect(out).toHaveLength(8) + expect(new Set(into.map(link => link.d)).size).toBe(1) + expect(new Set(out.map(link => link.d)).size).toBe(1) + expect(into.every(link => link.toBlock !== undefined) && out.every(link => link.fromBlock !== undefined)).toBe(true) + } +}) diff --git a/packages/renderers/kit/browser/fixtures.ts b/packages/renderers/kit/browser/fixtures.ts index bd8e96ad1..06c1889eb 100644 --- a/packages/renderers/kit/browser/fixtures.ts +++ b/packages/renderers/kit/browser/fixtures.ts @@ -213,6 +213,54 @@ export function capabilityUnits(): FixturePair { return {name: 'capability units', renderer: 'architecture', before, after} } +/** + * Toolsets over their tools, over the OAuth scopes the tools require: an automations toolset arrives with 8 tools that + * all require `repo`, and one of 7 issue tools leaves. Each toolset's tools that share their scopes wrap into a block, + * the arrivals into one of their own. + */ +export function wideFanOut(renderer = 'graph'): FixturePair { + const toolset = (name: string) => entity(`toolset:${name}`, 'toolset', name) + const scope = (name: string) => entity(`scope:${name}`, 'scope', name) + const tools = (set: string, scopeName: string, names: readonly string[]) => ({ + entities: names.map(name => entity(`tool:${name}`, 'tool', name)), + relationships: names.flatMap(name => [ + link(`toolset:${set}`, `tool:${name}`, 'contains'), + link(`tool:${name}`, `scope:${scopeName}`, 'requires'), + ]), + }) + const issues = ['add_issue_comment', 'get_issue', 'issue_write', 'list_issue_types', 'list_issues', 'search_issues', 'sub_issue_write'] + const automations = [ + 'create_automation', + 'delete_automation', + 'get_automation', + 'list_automations', + 'run_automation', + 'update_automation', + 'list_automation_revisions', + 'get_automation_revision', + ] + const revision = (issueTools: readonly string[], arrived: boolean) => { + const parts = [ + tools('issues', 'repo', issueTools), + tools('gists', 'gist', ['create_gist', 'get_gist']), + ...(arrived ? [tools('copilot_automations', 'repo', automations)] : []), + ] + return extraction( + 'graph/v0', + [ + toolset('issues'), + toolset('gists'), + ...(arrived ? [toolset('copilot_automations')] : []), + ...parts.flatMap(part => part.entities), + scope('repo'), + scope('gist'), + ], + parts.flatMap(part => part.relationships), + ) + } + return {name: `wide fan-out (${renderer})`, renderer, before: revision(issues, false), after: revision(issues.slice(0, -1), true)} +} + /** Weighted files: one grows, one leaves, one arrives. */ export function weightedFiles(): FixturePair { const leaf = (id: string, value: number) => entity(id, 'file', id, {value}) @@ -235,6 +283,7 @@ export const graphFamilyFixtures = (): FixturePair[] => [ fileReflow('graph-horizontal'), layeredWaves('graph'), featureFlags(), + wideFanOut(), pipeline(), architectureModules(), weightedFiles(), diff --git a/packages/renderers/kit/browser/invariants/contacts.ts b/packages/renderers/kit/browser/invariants/contacts.ts index 1e6a83fb4..ee333451f 100644 --- a/packages/renderers/kit/browser/invariants/contacts.ts +++ b/packages/renderers/kit/browser/invariants/contacts.ts @@ -79,13 +79,18 @@ export function arrowContacts(root: Element): ArrowContact[] { for (const group of root.querySelectorAll('.graph-link-head[data-edge-key]')) { const path = group.querySelector('path.graph-arrowhead') const link = root.querySelector(`.graph-link[data-edge-key="${CSS.escape(group.dataset.edgeKey ?? '')}"]`) - const card = link && root.querySelector(`.graph-node[data-entity-id="${CSS.escape(link.dataset.to ?? '')}"]`) + // A block's card is entered through the block's tray (see the kit's `GraphLayout.blocks`). + const card = + link && + (link.dataset.toBlock + ? root.querySelector(`.graph-block[data-graph-block="${CSS.escape(link.dataset.toBlock)}"]`) + : root.querySelector(`.graph-node[data-entity-id="${CSS.escape(link.dataset.to ?? '')}"]`)) // A head no more visible than a border `visible` ignores has nothing to be judged against. if (!path || !card || link.dataset.from === link.dataset.to || opacity(path) <= 0.01) continue const m = path.getScreenCTM()! const vertices = points(path.getAttribute('d') ?? '').map(v => new DOMPoint(v.x, v.y).matrixTransform(m)) const {axis, reach} = head(vertices, stroke(path) * scaleOf(path)) - const borders = visible([...card.querySelectorAll(':scope > .node-surface, :scope > .node-emphasis')]) + const borders = visible([...card.querySelectorAll(':scope > .node-surface, :scope > .node-emphasis, :scope > .graph-block-tray')]) contacts.push({key: group.dataset.edgeKey!, gap: svgEdge(borders, axis) - reach}) } // Marker heads: the marker's outline placed at the path's end, turned to its final direction. diff --git a/packages/renderers/kit/browser/invariants/frame.ts b/packages/renderers/kit/browser/invariants/frame.ts index 84dea25b9..0c09892cb 100644 --- a/packages/renderers/kit/browser/invariants/frame.ts +++ b/packages/renderers/kit/browser/invariants/frame.ts @@ -53,12 +53,13 @@ export function measureFrame(root: Element): FrameMeasurement { } } // A boundary and anything else visible either nest or keep apart: boundaries never pass through each other or a card. - const boundaries = [...root.querySelectorAll('.graph-group')] + // Blocks' trays too: a tray holds its own cards and keeps apart from everything else. + const boundaries = [...root.querySelectorAll('.graph-group, .graph-block')] .filter(group => opacityOf(group) > 0.01) .map(group => { - const rect = group.querySelector('.node-surface')!.getBoundingClientRect() + const rect = group.querySelector('.node-surface, .graph-block-tray')!.getBoundingClientRect() return { - id: group.dataset.entityId ?? '', + id: group.dataset.entityId ?? group.dataset.graphBlock ?? '', box: { left: rect.left - origin.left, top: rect.top - origin.top, @@ -104,8 +105,11 @@ export function measureFrame(root: Element): FrameMeasurement { for (const link of root.querySelectorAll('.graph-link')) { if (link.dataset.from === link.dataset.to) continue const [x, y] = (link.dataset.end ?? '').split(',').map(Number) as [number, number] + // A block's card is entered through the block's tray (see the kit's `GraphLayout.blocks`). const target = root.querySelector( - `.graph-node[data-entity-id="${CSS.escape(link.dataset.to ?? '')}"] .node-surface`, + link.dataset.toBlock + ? `.graph-block[data-graph-block="${CSS.escape(link.dataset.toBlock)}"] .graph-block-tray` + : `.graph-node[data-entity-id="${CSS.escape(link.dataset.to ?? '')}"] .node-surface`, ) if (!target) { issues.push(`arrow without a target card: ${link.dataset.edgeKey}`) diff --git a/packages/renderers/kit/src/layout/blocks.ts b/packages/renderers/kit/src/layout/blocks.ts index e019894f5..ab5db20fa 100644 --- a/packages/renderers/kit/src/layout/blocks.ts +++ b/packages/renderers/kit/src/layout/blocks.ts @@ -101,14 +101,22 @@ export function blockGrid(count: number, breadth: number, depth: number): {acros /** A card's size, as laid out. */ const sizeOf = (node: LayoutNode) => ({width: node.width ?? cardWidth, height: node.height ?? cardHeight(node.kind)}) +/** A block's cards relative to its footprint's top-left corner, and the footprint's size. */ +export interface BlockArrangement { + offsets: Map + width: number + height: number + /** How far the tray reaches past the footprint on either side across the layers (into the columns' gaps on a grid). */ + overhang: number +} + /** - * Where a block's cards go relative to its top-left corner, in reading order (line by line, each line from its start), - * and the block's size. Each line is as deep as its deepest card, and every card is as broad as the broadest. + * Where a block's cards go, in reading order (line by line, each line from its start), and the block's footprint. Each + * line is as deep as its deepest card. With `pitch` (a grid's, see `columnGrid`), cards start a pitch apart across the + * layers, on the grid's columns, and the footprint is as broad as the columns they take: the tray's sides reach past it + * into the gaps between columns. Otherwise they start `blockGap` apart inside the tray's padding. */ -export function blockArrangement( - members: readonly LayoutNode[], - direction: 'DOWN' | 'RIGHT', -): {offsets: Map; width: number; height: number} { +export function blockArrangement(members: readonly LayoutNode[], direction: 'DOWN' | 'RIGHT', pitch?: number): BlockArrangement { const sizes = members.map(sizeOf) const breadthOf = (size: {width: number; height: number}) => (direction === 'DOWN' ? size.width : size.height) const depthOf = (size: {width: number; height: number}) => (direction === 'DOWN' ? size.height : size.width) @@ -119,25 +127,28 @@ export function blockArrangement( const line = Math.floor(index / across) lines[line] = Math.max(lines[line] ?? 0, depthOf(sizes[index]!)) }) - // Across the layers, the caption's side is the block's start; along them, its top. - const [startAlong, startAcross] = direction === 'DOWN' ? [blockPadding.top, blockPadding.side] : [blockPadding.side, blockPadding.top] + const [before, after] = direction === 'DOWN' ? [blockPadding.top, blockPadding.bottom] : [blockPadding.side, blockPadding.side] + // Across the layers: the caption's side first (the left top to bottom, the top left to right). + const [start, end] = direction === 'DOWN' ? [blockPadding.side, blockPadding.side] : [blockPadding.top, blockPadding.bottom] + const step = pitch ?? breadth + blockGap + const inset = pitch === undefined ? start : 0 const offsets = new Map() - let alongAt = startAlong + let alongAt = before lines.forEach((depth, line) => { for (let column = 0; column < across; column++) { const index = line * across + column const member = members[index] if (!member) break - const size = sizes[index]! - const acrossAt = startAcross + column * (breadth + blockGap) - offsets.set(member.id, direction === 'DOWN' ? {x: acrossAt, y: alongAt, ...size} : {x: alongAt, y: acrossAt, ...size}) + const acrossAt = inset + column * step + offsets.set(member.id, direction === 'DOWN' ? {x: acrossAt, y: alongAt, ...sizes[index]!} : {x: alongAt, y: acrossAt, ...sizes[index]!}) } alongAt += depth + blockGap }) - const alongExtent = alongAt - blockGap + (direction === 'DOWN' ? blockPadding.bottom : blockPadding.side) - const acrossExtent = - startAcross + across * breadth + (across - 1) * blockGap + (direction === 'DOWN' ? blockPadding.side : blockPadding.bottom) - return direction === 'DOWN' - ? {offsets, width: acrossExtent, height: alongExtent} - : {offsets, width: alongExtent, height: acrossExtent} + const alongExtent = alongAt - blockGap + after + const acrossExtent = inset + (across - 1) * step + breadth + (pitch === undefined ? end : 0) + return { + offsets, + ...(direction === 'DOWN' ? {width: acrossExtent, height: alongExtent} : {width: alongExtent, height: acrossExtent}), + overhang: pitch === undefined ? 0 : blockPadding.side, + } } diff --git a/packages/renderers/kit/src/layout/elk-input.ts b/packages/renderers/kit/src/layout/elk-input.ts index d5acbfacc..80af249b6 100644 --- a/packages/renderers/kit/src/layout/elk-input.ts +++ b/packages/renderers/kit/src/layout/elk-input.ts @@ -1,15 +1,22 @@ // The graph ELK lays out: cards in a stable order, positional IDs, and relationships split at shared junctions. import type {ElkExtendedEdge} from 'elkjs/lib/elk-api.js' import type {Point} from '../edge-arrows.js' -import {compareIds, type LayoutEdge, type GraphLayoutOptions, type LayoutNode} from './model.js' +import {cardWidth, compareIds, type LayoutEdge, type GraphLayoutOptions, type LayoutNode} from './model.js' import {boundaryKinds, moduleGroups} from './groups.js' import {sharedStages, type SharedStage} from './shared-stages.js' -import {blockArrangement, siblingBlocks} from './blocks.js' +import {blockArrangement, siblingBlocks, type BlockArrangement} from './blocks.js' +import {cardBreadth} from './grid.js' +import {nodeSpacing} from './placement.js' /** A sibling block as ELK lays it out: one node, its cards' places in it relative to its top-left corner. */ export interface LaidBlock { members: string[] - offsets: Map + /** Its cards as ELK lays it out. */ + arranged: BlockArrangement + /** Its cards' layout nodes, to arrange them again on the grid's columns (see `blockArrangement`). */ + nodes: LayoutNode[] + /** Whether its cards go on the grid's columns, a pitch apart (see `columnGrid`). */ + gridded: boolean } export interface ElkInput { @@ -78,13 +85,15 @@ export function elkInput(nodes: readonly LayoutNode[], edges: readonly LayoutEdg const blocks = new Map() const blockNodes = new Map() const hints = new Map(given) + // Top to bottom, cards snap to a grid of columns (see `columnGrid`): a block's cards take its columns, ELK's pitch + // apart here, so the block spans whole columns and a card over its middle column stays over it. + const median = direction === 'DOWN' && !groups.size ? cardBreadth(nodes.filter(node => !blockOf.has(node.id) && !groups.has(node.id)), direction) : undefined for (const [id, members] of blockMembers) { - const {offsets, width, height} = blockArrangement( - members.map(card => byId.get(card)!), - direction, - ) - blocks.set(id, {members, offsets}) - blockNodes.set(id, {id, kind: 'pk-block', width, height}) + const cards = members.map(card => byId.get(card)!) + const gridded = median !== undefined && cards.every(card => (card.width ?? cardWidth) <= median + 0.5) + const arranged = blockArrangement(cards, direction, gridded ? median + nodeSpacing : undefined) + blocks.set(id, {members, arranged, nodes: cards, gridded}) + blockNodes.set(id, {id, kind: 'pk-block', width: arranged.width, height: arranged.height}) // Where the reference layout had its cards: their middle. const points = members.map(card => given.get(card)).filter(point => point !== undefined) if (points.length) { diff --git a/packages/renderers/kit/src/layout/grid.ts b/packages/renderers/kit/src/layout/grid.ts index 585763bfb..a930a505a 100644 --- a/packages/renderers/kit/src/layout/grid.ts +++ b/packages/renderers/kit/src/layout/grid.ts @@ -1,6 +1,6 @@ // Cards on a grid: one pitch across the flow, and every card's leading edge on a column line in every layer. import type {Point} from '../edge-arrows.js' -import {cardHeight, cardWidth} from './model.js' +import {cardHeight, cardWidth, type LayoutNode} from './model.js' import {columnGap, median, nodeSpacing, rootPadding} from './placement.js' import type {ElkInput} from './elk-input.js' import type {Box} from './unlinked.js' @@ -19,11 +19,12 @@ export interface Grid { * and nesting shape, as does a left-to-right graph whose cards differ in height. */ export function columnGrid(input: ElkInput, boxes: ReadonlyMap): Grid | undefined { - const {groups, laid, elkId, nodes, unlinked, direction} = input + const {groups, laid, elkId, nodes, unlinked, direction, blocks} = input if (groups.size) return undefined const breadth = direction === 'DOWN' ? 'width' : 'height' const breadths = [ - ...laid.map(node => boxes.get(elkId.get(node.id)!)![breadth]), + // Top to bottom, a block spans its cards' columns: the cards' breadth sets the pitch (see `cardBreadth`). + ...laid.filter(node => direction !== 'DOWN' || !blocks.has(node.id)).map(node => boxes.get(elkId.get(node.id)!)![breadth]), // An unlinked card's size as it is placed (`placeUnlinked`): its own, or a card's. ...nodes .filter(node => unlinked.has(node.id)) @@ -38,6 +39,15 @@ export function columnGrid(input: ElkInput, boxes: ReadonlyMap): Gr return {origin: rootPadding, pitch: median(breadths) + gap, laid: median(breadths) + nodeSpacing} } +/** + * The breadth of the cards a top-to-bottom grid's columns are as broad as (see `columnGrid`): the median of `cards` + * (cards in no block), or undefined for none. + */ +export function cardBreadth(cards: readonly LayoutNode[], direction: 'DOWN' | 'RIGHT'): number | undefined { + const breadths = cards.map(node => (direction === 'DOWN' ? (node.width ?? cardWidth) : (node.height ?? cardHeight(node.kind)))).filter(value => value > 0) + return breadths.length ? median(breadths) : undefined +} + /** * How many columns a card of `breadth` spans: one, or more for a card wider than the pitch (a hub, say), counted as * ELK placed it, so it spans as many wider columns. diff --git a/packages/renderers/kit/src/layout/lay-out.ts b/packages/renderers/kit/src/layout/lay-out.ts index 17dc0a614..71c1ac6f3 100644 --- a/packages/renderers/kit/src/layout/lay-out.ts +++ b/packages/renderers/kit/src/layout/lay-out.ts @@ -8,7 +8,7 @@ import {elkInput} from './elk-input.js' import {elkRun} from './elk-run.js' import {placeCards, type Plan} from './elk-placement.js' import {placeUnlinked, type Box} from './unlinked.js' -import type {LayoutBlock} from './blocks.js' +import {blockArrangement, type LayoutBlock} from './blocks.js' import {columnGrid, snapToGrid} from './grid.js' /** @@ -66,6 +66,16 @@ export async function layOut( if (direction === 'DOWN') width = reach else height = reach } + // A block's cards as they go: on the grid's columns, a pitch apart, where they took ELK's. + const arrangements = new Map( + [...blocks].map(([id, block]) => { + const arranged = grid && block.gridded ? blockArrangement(block.nodes, direction, grid.pitch) : block.arranged + const box = boxes.get(elkId.get(id)!)! + box.width = arranged.width + box.height = arranged.height + return [id, arranged] as const + }), + ) // A step of a transition stays where the reference layout had it: ELK starts every layout at its padding, so one // narrower than the reference moves across as a whole to where its cards were. Cards with no relationships (see // below) then take their places in the room it leaves. @@ -91,13 +101,16 @@ export async function layOut( // A block's cards in its lines, where ELK placed the block. const inBlocks = new Map() const laidBlocks = new Map() - for (const [id, {members, offsets}] of blocks) { + for (const [id, {members}] of blocks) { const block = boxes.get(elkId.get(id)!)! + const {offsets, overhang} = arrangements.get(id)! for (const card of members) { const offset = offsets.get(card)! inBlocks.set(card, {...offset, x: block.x + offset.x, y: block.y + offset.y}) } - laidBlocks.set(id, {x: block.x + block.width / 2, y: block.y + block.height / 2, width: block.width, height: block.height, members}) + // Its tray: the footprint and, across the layers, the overhang. + const [width, height] = direction === 'DOWN' ? [block.width + 2 * overhang, block.height] : [block.width, block.height + 2 * overhang] + laidBlocks.set(id, {x: block.x + block.width / 2, y: block.y + block.height / 2, width, height, members}) } const points = new Map(), sizes = new Map() @@ -128,6 +141,7 @@ export async function layOut( ]), // A block is one card to its routes; its own cards are inside it, clear of them. cards: new Set([...[...points.keys()].filter(id => !groups.has(id) && !blockOf.has(id)), ...blocks.keys()]), + blocks: new Set(blocks.keys()), loose: unlinked, direction, gap, diff --git a/packages/renderers/kit/src/layout/routing/context.ts b/packages/renderers/kit/src/layout/routing/context.ts index 409ab629a..9c1d52752 100644 --- a/packages/renderers/kit/src/layout/routing/context.ts +++ b/packages/renderers/kit/src/layout/routing/context.ts @@ -23,6 +23,8 @@ export interface RoutingInput { polylines: ReadonlyMap boxes: ReadonlyMap cards: ReadonlySet + /** Sibling blocks among `cards` (see `GraphLayout.blocks`): routes enter one across from their sources. */ + blocks?: ReadonlySet /** Cards with no relationships, placed in room the others leave: routes keep clear of them, but never run between them and the others. */ loose?: ReadonlySet direction: 'DOWN' | 'RIGHT' diff --git a/packages/renderers/kit/src/layout/routing/ports.ts b/packages/renderers/kit/src/layout/routing/ports.ts index 85bced3e4..140f244a4 100644 --- a/packages/renderers/kit/src/layout/routing/ports.ts +++ b/packages/renderers/kit/src/layout/routing/ports.ts @@ -1,5 +1,6 @@ // Ports on a card's in face for the routes into it. -import {spreadPorts} from '../../routes/ports.js' +import {portInset, spreadPorts} from '../../routes/ports.js' +import {hubPortSpacing} from '../../graph-canvas/fan-in.js' import {compareIds} from '../model.js' import type {RoutingContext, Segment} from './context.js' import {build} from './build.js' @@ -14,7 +15,9 @@ import {build} from './build.js' export function assign(ctx: RoutingContext, target: string, ordered: readonly Segment[]): void { const {across, at, box, breadth, inFace} = ctx const middle = across(box(target)) - const offsets = spreadPorts(ordered.length, breadth(target), breadth(target) / (ordered.length + 1)) + const offsets = ctx.input.blocks?.has(target) + ? blockPorts(ordered.map(segment => across(segment.start) - middle), breadth(target)) + : spreadPorts(ordered.length, breadth(target), breadth(target) / (ordered.length + 1)) for (const [index, segment] of ordered.entries()) { const end = at(inFace(target), middle + offsets[index]!) const moved = !segment.end || Math.hypot(segment.end.x - end.x, segment.end.y - end.y) > 1e-6 @@ -29,3 +32,20 @@ export function byLeaving(ctx: RoutingContext, list: readonly Segment[]): Segmen const key = (segment: Segment) => ctx.across(segment.start) return list.toSorted((a, b) => key(a) - key(b) || compareIds(a.key, b.key)) } + +/** + * Ports on a block's in face (see `GraphLayout.blocks`), as offsets from its middle: each route enters across from where + * it leaves its source, so it runs straight wherever its source is over the block, kept `portInset` from the face's ends + * and `hubPortSpacing` apart in their order. + */ +function blockPorts(wanted: readonly number[], length: number): number[] { + const reach = Math.max(0, length / 2 - portInset) + const offsets = wanted.map(offset => Math.max(-reach, Math.min(reach, offset))) + for (let index = 1; index < offsets.length; index++) offsets[index] = Math.max(offsets[index]!, offsets[index - 1]! + hubPortSpacing) + // Pushed past the far end, they close up from it. + for (let index = offsets.length - 1; index >= 0; index--) { + const limit = index === offsets.length - 1 ? reach : offsets[index + 1]! - hubPortSpacing + offsets[index] = Math.min(offsets[index]!, limit) + } + return offsets +} diff --git a/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx b/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx index 7168ecf00..2510dcfe0 100644 --- a/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx +++ b/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx @@ -4,7 +4,7 @@ import type {Relationship} from '@githubnext/projections-schemas' import {arrowHeadStyle} from '../../arrowhead.js' import {cardBorderOutset, type BorderWidths} from '../../border.js' import {classifyChange, edgePaint, graphEdgeWeight, type ChangeClassification} from '../../emphasis.js' -import type {TransitionEdge, TransitionNode} from '../../graph-transition.js' +import type {TransitionBlock, TransitionEdge, TransitionNode} from '../../graph-transition.js' import {changeMark} from '../../diff/model.js' import {drawnEdge, raisedEdges} from '../../graph-canvas/edges.js' import type {Point} from '../../edge-arrows.js' @@ -22,6 +22,8 @@ export interface DrawnLink { emphasis: number change: ChangeClassification paint: ReturnType + /** The block whose tray it leaves or enters, when its source or target is a block's card (see `GraphLayout.blocks`). */ + blocks: {from: string | undefined; to: string | undefined} } /** Each relationship's route, name, change and paint as drawn now. */ @@ -31,7 +33,15 @@ export function drawnLinks( drawing: Drawing, labelsIn: {before: (id: string) => string | undefined; after: (id: string) => string | undefined}, borders: BorderWidths, + /** The block each block's card is in: its relationships run from and to the block's tray (see `GraphLayout.blocks`). */ + blockOf: ReadonlyMap = new Map(), ): DrawnLink[] { + // A block's relationships end on its tray, so their arrowheads stand on its face rather than a card's. A tray fades + // but never scales, as an arriving card does (see `cardBox`). + const end = (id: string) => { + const block = blockOf.get(id) + return block ? {...nodeById.get(id)!, x: block.x, y: block.y, width: block.width, height: block.height, opacity: 1} : nodeById.get(id)! + } // In the diff a rewired relationship is drawn twice: its old route is removed and its new one added. const edgeChange = (edge: TransitionEdge): ChangeClassification => edge.part === 'before' ? 'removed' : edge.part === 'after' ? 'added' : classifyChange(edge) @@ -42,7 +52,8 @@ export function drawnLinks( const change = edgeChange(edge) return { edge, - arrow: drawnEdge(edge, nodeById.get(edge.fromId)!, nodeById.get(edge.toId)!, cardBorderOutset(borders)), + arrow: drawnEdge(edge, end(edge.fromId), end(edge.toId), cardBorderOutset(borders)), + blocks: {from: blockOf.get(edge.fromId)?.key, to: blockOf.get(edge.toId)?.key}, relationship, name: relationshipLabel(relationship, relationship === edge.after ? labelsIn.after : labelsIn.before), emphasis, @@ -136,6 +147,8 @@ export function GraphLink({ data-projections-annotation-anchor="bottom-right" data-from={edge.fromId} data-to={edge.toId} + data-from-block={link.blocks.from} + data-to-block={link.blocks.to} data-incident={incident ? '' : undefined} data-end={`${arrow.tip.x},${arrow.tip.y}`} > diff --git a/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx b/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx index 0dbebf966..bd17ec2ba 100644 --- a/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx +++ b/packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx @@ -83,7 +83,8 @@ export function LaidOutGraph(props: LaidOutGraphProps) { useAnchoredScroll(scroller, change, transition, target, bounds, scale, keep) const draw = drawing(props, diff, emphasisInset(borders), borders.normal) const caption = props.focus ? props.focus.label : '' - const links = drawnLinks(edges, nodeById, draw, labelsIn, borders) + const blockOf = new Map(frame.blocks.flatMap(block => block.members.map(id => [id, block] as const))) + const links = drawnLinks(edges, nodeById, draw, labelsIn, borders, blockOf) const hot = new Set([pointed, focused].filter(key => key !== null)) // Sets a key while it is entered and clears it when the same one is left. const track = (set: typeof setPointed, key: string) => (entered: boolean) => From 76fcc2d6d44f3bfc8f75209edef85b93b2e8e8cb Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Tue, 1 Dec 2026 17:30:16 -0800 Subject: [PATCH 3/8] Graph layout: faster routing for large graphs, block-aware fan-in widths, tests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- eslint-suppressions.json | 8 +- .../renderers/graph/browser/graph.spec.ts | 49 ++++--- .../renderers/kit/src/graph-canvas/edges.ts | 10 +- .../renderers/kit/src/graph-canvas/fan-in.ts | 43 +++++-- .../kit/src/graph-transition/crossing.ts | 63 ++++++++- .../kit/src/graph-transition/frame.ts | 5 +- packages/renderers/kit/src/index.ts | 2 +- .../renderers/kit/src/layout/block-layout.ts | 73 +++++++++++ packages/renderers/kit/src/layout/blocks.ts | 43 +++---- .../renderers/kit/src/layout/elk-input.ts | 26 ++-- packages/renderers/kit/src/layout/grid.ts | 4 +- packages/renderers/kit/src/layout/lay-out.ts | 65 +++------- .../kit/src/layout/routing/bundles.ts | 69 +++++++--- .../kit/src/layout/routing/clearance.ts | 85 ++++++++++++ .../kit/src/layout/routing/context.ts | 78 +---------- .../renderers/kit/src/layout/routing/ports.ts | 19 +-- .../kit/src/react/graph-canvas/block-tray.tsx | 15 ++- .../kit/src/react/graph-canvas/graph-link.tsx | 10 +- packages/renderers/kit/src/routes/courses.ts | 64 +++++---- packages/renderers/kit/test/layout.test.mjs | 121 ++++++++++++++++-- .../renderers/kit/test/performance.test.mjs | 15 +++ 21 files changed, 591 insertions(+), 276 deletions(-) create mode 100644 packages/renderers/kit/src/layout/block-layout.ts create mode 100644 packages/renderers/kit/src/layout/routing/clearance.ts diff --git a/eslint-suppressions.json b/eslint-suppressions.json index 9bd098600..3d2791c7e 100644 --- a/eslint-suppressions.json +++ b/eslint-suppressions.json @@ -2307,7 +2307,7 @@ }, "packages/renderers/kit/src/graph-transition/crossing.ts": { "@typescript-eslint/no-non-null-assertion": { - "count": 5 + "count": 4 } }, "packages/renderers/kit/src/graph-transition/diff-frame.ts": { @@ -2413,12 +2413,12 @@ }, "packages/renderers/kit/src/layout/routing/bundles.ts": { "@typescript-eslint/no-non-null-assertion": { - "count": 25 + "count": 18 } }, "packages/renderers/kit/src/layout/routing/context.ts": { "@typescript-eslint/no-non-null-assertion": { - "count": 8 + "count": 6 } }, "packages/renderers/kit/src/layout/routing/corridor.ts": { @@ -2534,7 +2534,7 @@ }, "packages/renderers/kit/src/react/graph-canvas/graph-link.tsx": { "@typescript-eslint/no-non-null-assertion": { - "count": 5 + "count": 4 } }, "packages/renderers/kit/src/react/graph-canvas/laid-out-graph.tsx": { diff --git a/packages/renderers/graph/browser/graph.spec.ts b/packages/renderers/graph/browser/graph.spec.ts index b370fb5b7..a01b14690 100644 --- a/packages/renderers/graph/browser/graph.spec.ts +++ b/packages/renderers/graph/browser/graph.spec.ts @@ -4,7 +4,14 @@ import {featureFlags, fileReflow, layeredWaves, wideFanOut} from '../../kit/brow import {scrubSuite, selectionSuite} from '../../kit/browser/suite.js' import {paneStatusSuite, statusSuite} from '../../kit/browser/status.js' -scrubSuite([fileReflow('graph'), fileReflow('graph-horizontal'), layeredWaves('graph'), featureFlags(), wideFanOut(), wideFanOut('graph-horizontal')]) +scrubSuite([ + fileReflow('graph'), + fileReflow('graph-horizontal'), + layeredWaves('graph'), + featureFlags(), + wideFanOut(), + wideFanOut('graph-horizontal'), +]) selectionSuite(fileReflow('graph'), 'file:src/api.ts') statusSuite(fileReflow('graph')) statusSuite(layeredWaves('graph')) @@ -229,37 +236,41 @@ test('a wide fan-out wraps into a block whose relationships enter and leave its const {before, after} = wideFanOut() for (const request of [{extraction: after}, {before, after, progress: 1}, {before, after, comparisonMode: 'diff' as const}]) { const renderer = await openRenderer(page, {renderer: 'graph', ...request}) + // In screen pixels: whether a card is in a tray is the same at any zoom. const drawn = await renderer.frame.locator('svg.graph').evaluate(svg => { - const scale = (svg as SVGSVGElement).getScreenCTM()!.a - const box = (element: Element) => { - const rect = element.getBoundingClientRect() - return {left: rect.left / scale, right: rect.right / scale, top: rect.top / scale, bottom: rect.bottom / scale} + const box = (element: Element | null) => { + const rect = element?.getBoundingClientRect() ?? new DOMRect(Number.NaN, Number.NaN) + return {left: rect.left, right: rect.right, top: rect.top, bottom: rect.bottom} } const blocks = [...svg.querySelectorAll('.graph-block')].map(block => ({ - caption: block.querySelector('.graph-block-caption')!.textContent, - tray: box(block.querySelector('.graph-block-tray')!), + caption: block.querySelector('.graph-block-caption')?.textContent ?? '', + tray: box(block.querySelector('.graph-block-tray')), + })) + const cards = [...svg.querySelectorAll('.graph-node[data-entity-id]')].map(node => ({ + id: node.dataset.entityId ?? '', + box: box(node.querySelector('.node-surface')), })) - const cards = Object.fromEntries( - [...svg.querySelectorAll('.graph-node[data-entity-id]')].map(node => [node.dataset.entityId!, box(node.querySelector('.node-surface')!)]), - ) const links = [...svg.querySelectorAll('.graph-link[data-entity-id]')].map(link => ({ - id: link.dataset.entityId!, + id: link.dataset.entityId ?? '', toBlock: link.dataset.toBlock, fromBlock: link.dataset.fromBlock, - d: link.querySelector('path.graph-edge')!.getAttribute('d'), + d: link.querySelector('path.graph-edge')?.getAttribute('d'), })) return {blocks, cards, links} }) // The arrivals and the six remaining issue tools: one block each. - expect(drawn.blocks.map(block => block.caption?.replace(/ \+\d+$/u, '')).toSorted()).toEqual(['6 tools', '8 tools']) - const tray = drawn.blocks.find(block => block.caption?.startsWith('8'))!.tray - const arrivals = Object.entries(drawn.cards).filter(([id]) => id.startsWith('tool:') && id.includes('automation')) + expect(drawn.blocks.map(block => block.caption.replace(/ \+\d+$/u, '')).toSorted()).toEqual(['6 tools', '8 tools']) + const tray = drawn.blocks.find(block => block.caption.startsWith('8'))?.tray + const arrivals = drawn.cards.filter(card => card.id.startsWith('tool:') && card.id.includes('automation')) expect(arrivals).toHaveLength(8) - for (const [id, card] of arrivals) { - expect(card.left >= tray.left && card.right <= tray.right && card.top >= tray.top && card.bottom <= tray.bottom, `${id} in its tray`).toBe(true) + for (const {id, box} of arrivals) { + expect( + tray && box.left >= tray.left && box.right <= tray.right && box.top >= tray.top && box.bottom <= tray.bottom, + `${id} in its tray`, + ).toBe(true) } - // Wrapped: more than one line, and narrower than the eight side by side. - expect(new Set(arrivals.map(([, card]) => Math.round(card.top))).size).toBeGreaterThan(1) + // Wrapped: in more than one line. + expect(new Set(arrivals.map(card => Math.round(card.box.top))).size).toBeGreaterThan(1) // Every arrival's relationships share one route into the tray and one out of it. const into = drawn.links.filter(link => link.id.startsWith('toolset:copilot_automations->')) const out = drawn.links.filter(link => link.id.includes('automation') && link.id.endsWith('->scope:repo')) diff --git a/packages/renderers/kit/src/graph-canvas/edges.ts b/packages/renderers/kit/src/graph-canvas/edges.ts index d0ca43375..a21257d36 100644 --- a/packages/renderers/kit/src/graph-canvas/edges.ts +++ b/packages/renderers/kit/src/graph-canvas/edges.ts @@ -1,7 +1,7 @@ // Cards' boxes and relationships as drawn at their current presence. import {cardBorderOutset} from '../border.js' import type {ArrowBox, Point} from '../edge-arrows.js' -import type {TransitionEdge, TransitionNode} from '../graph-transition.js' +import type {TransitionBlock, TransitionEdge, TransitionNode} from '../graph-transition.js' import {arrowEnding, splinePath} from '../splines.js' /** A card's box at its current presence: entering and leaving cards scale from 90%. */ @@ -15,6 +15,14 @@ export function cardBox(node: Pick { if (orientation === 'horizontal') return widths - const incoming = new Map() - const count = (row: EntityChange, side: 'before' | 'after') => { - const relationship = row[side] - if (!relationship || relationship.kind === 'contains') return undefined - return model.entityRow[side].get(relationship.to) + // Every relationship between rows, in either revision, as the layout draws it: its kind and its change. + const links = model.relationships.flatMap(row => + (['before', 'after'] as const).flatMap(side => { + const relationship = row[side] + const from = relationship && model.entityRow[side].get(relationship.from), + to = relationship && model.entityRow[side].get(relationship.to) + return relationship && from !== undefined && to !== undefined + ? [{row: row.id, from, to, kind: relationship.kind, change: classifyChange(row)}] + : [] + }), + ) + // A block's cards (`blockMinimum` or more with the same relationships, see `GraphLayout.blocks`) send one route between + // them into each target: they take one port. + const ends = new Map() + for (const link of links) { + const how = `${link.kind}\u0000${link.change}` + ends.set(link.from, [...(ends.get(link.from) ?? []), `>${link.to}\u0000${how}`]) + ends.set(link.to, [...(ends.get(link.to) ?? []), `<${link.from}\u0000${how}`]) } - for (const row of model.relationships) { - const targets = new Set([count(row, 'before'), count(row, 'after')].filter((id): id is string => id !== undefined)) - for (const id of targets) incoming.set(id, (incoming.get(id) ?? 0) + 1) + const signature = (id: string) => JSON.stringify([...new Set(ends.get(id))].toSorted()) + const siblings = new Map() + for (const id of ends.keys()) siblings.set(signature(id), (siblings.get(signature(id)) ?? 0) + 1) + const incoming = new Map>() + for (const link of links) { + if (link.kind === 'contains') continue + const route = (siblings.get(signature(link.from)) ?? 0) >= blockMinimum ? signature(link.from) : link.row + incoming.set(link.to, (incoming.get(link.to) ?? new Set()).add(route)) } const grown = new Map(widths) - for (const [id, routes] of incoming) { + for (const [id, sources] of incoming) { + const routes = sources.size const width = widths.get(id) if (width === undefined || routes < 2) continue const needed = 2 * portInset + (routes - 1) * hubPortSpacing diff --git a/packages/renderers/kit/src/graph-transition/crossing.ts b/packages/renderers/kit/src/graph-transition/crossing.ts index 8da1cd0e7..ef133db29 100644 --- a/packages/renderers/kit/src/graph-transition/crossing.ts +++ b/packages/renderers/kit/src/graph-transition/crossing.ts @@ -7,6 +7,9 @@ import {hiddenMorphs} from './hidden-morphs.js' import {directRoute, interpolate, morphRoute, smoothJoins} from './morph.js' import {largestKink, longestDiagonal} from './quality.js' +/** The side of the square cells cards are found in by where they go, in layout units: about a card's width. */ +const cell = 256 + /** * Routes that would pass through a card if their control points were * interpolated from one layout to the next, because they go round a card on @@ -32,6 +35,7 @@ export function crossingMorphs( to = after.points.get(id) ?? from return {x: interpolate(from.x, to.x, mix), y: interpolate(from.y, to.y, mix)} } + const near = sweptCards(before, after, cards) const boxes = mixes.map(mix => cards.map(id => { const a = before.points.get(id)!, @@ -63,19 +67,27 @@ export function crossingMorphs( const direct = source && target ? directRoute(key, before, after, mix, source, target, axis) : undefined const morphed = direct ?? smoothJoins(morphRoute(a, b, mix)) const points = sampleSpline(morphed, 4) - const xs = points.map(point => point.x), - ys = points.map(point => point.y) - const [left, right, top, bottom] = [Math.min(...xs), Math.max(...xs), Math.min(...ys), Math.max(...ys)] - return boxes[index]!.some( - box => + let [left, right, top, bottom] = [Infinity, -Infinity, Infinity, -Infinity] + for (const point of points) { + left = Math.min(left, point.x) + right = Math.max(right, point.x) + top = Math.min(top, point.y) + bottom = Math.max(bottom, point.y) + } + const placed = boxes[index] ?? [] + return [...near(left, right, top, bottom)].some(at => { + const box = placed[at] + return ( + box !== undefined && box.id !== edge.from && box.id !== edge.to && box.left < right && box.right > left && box.top < bottom && box.bottom > top && - points.some(point => point.x > box.left && point.x < box.right && point.y > box.top && point.y < box.bottom), - ) + points.some(point => point.x > box.left && point.x < box.right && point.y > box.top && point.y < box.bottom) + ) + }) }) // A morph that wiggles (turns back and forth more than either end does), doubles back or slants a straight run // is redrawn instead. @@ -97,3 +109,40 @@ export function crossingMorphs( if (drawn) for (const key of hiddenMorphs(before, after, ends, axis, drawn, redraw, coarse)) redraw.add(key) return redraw } + +/** + * The cards (by their index in `cards`) whose places over the whole move from `before` to `after` may meet a rectangle + * (left, right, top, bottom): every one that does, and a few more. Cards are kept in square cells by where they go. + */ +function sweptCards( + before: GraphLayout, + after: GraphLayout, + cards: readonly string[], +): (left: number, right: number, top: number, bottom: number) => Set { + const swept = new Map() + const cellKey = (column: number, row: number) => (column + 0x100000) * 0x200000 + (row + 0x100000) + for (const [index, id] of cards.entries()) { + const a = before.points.get(id), + b = after.points.get(id), + size = after.sizes.get(id) + if (!a || !b || !size) continue + const [c0, c1] = [Math.floor((Math.min(a.x, b.x) - size.width / 2) / cell), Math.floor((Math.max(a.x, b.x) + size.width / 2) / cell)] + const [r0, r1] = [Math.floor((Math.min(a.y, b.y) - size.height / 2) / cell), Math.floor((Math.max(a.y, b.y) + size.height / 2) / cell)] + for (let column = c0; column <= c1; column++) { + for (let row = r0; row <= r1; row++) { + const list = swept.get(cellKey(column, row)) + if (list) list.push(index) + else swept.set(cellKey(column, row), [index]) + } + } + } + return (left, right, top, bottom) => { + const found = new Set() + for (let column = Math.floor(left / cell); column <= Math.floor(right / cell); column++) { + for (let row = Math.floor(top / cell); row <= Math.floor(bottom / cell); row++) { + for (const index of swept.get(cellKey(column, row)) ?? []) found.add(index) + } + } + return found + } +} diff --git a/packages/renderers/kit/src/graph-transition/frame.ts b/packages/renderers/kit/src/graph-transition/frame.ts index 82eb508f2..10cc47077 100644 --- a/packages/renderers/kit/src/graph-transition/frame.ts +++ b/packages/renderers/kit/src/graph-transition/frame.ts @@ -76,8 +76,9 @@ export function frameBlocks(from: GraphLayout, to: GraphLayout, mix: number, nod for (const key of new Set([...from.blocks.keys(), ...to.blocks.keys()])) { const a = from.blocks.get(key), b = to.blocks.get(key) - const start = a ?? b!, - end = b ?? a! + const start = a ?? b, + end = b ?? a + if (!start || !end) continue const presence = a && b ? 1 : a ? 1 - mix : mix const members = (mix < 0.5 ? start : end).members const opacity = presence * Math.max(0, ...members.map(id => opacities.get(id) ?? 0)) diff --git a/packages/renderers/kit/src/index.ts b/packages/renderers/kit/src/index.ts index ed4f69039..1884f8e13 100644 --- a/packages/renderers/kit/src/index.ts +++ b/packages/renderers/kit/src/index.ts @@ -42,7 +42,7 @@ export {layoutFilter, partOwners} from './scope-filter.js' export type {ContextPaths} from './scope-context.js' export type {ChangesScope, Folded, ScopedModel, ScopedParts, ScopeView} from './scope.js' export * from './summary.js' -export {cardBox, drawnEdge, raisedEdges, type OrderedEdge} from './graph-canvas/edges.js' +export {cardBox, drawnEdge, edgeEnd, raisedEdges, type OrderedEdge} from './graph-canvas/edges.js' export {badgeMetrics, badgeText, pillMetrics, placeBadges, textPill} from './graph-canvas/badges.js' export type {CardAccent, CardBadge} from './graph-canvas/badges.js' export * from './controls.js' diff --git a/packages/renderers/kit/src/layout/block-layout.ts b/packages/renderers/kit/src/layout/block-layout.ts new file mode 100644 index 000000000..e7ae9e838 --- /dev/null +++ b/packages/renderers/kit/src/layout/block-layout.ts @@ -0,0 +1,73 @@ +// Sibling blocks placed where ELK put them: their cards in lines, their trays, and their cards' routes. +import type {Point} from '../edge-arrows.js' +import type {Spline} from '../splines.js' +import {blockArrangement, type BlockArrangement, type LayoutBlock} from './blocks.js' +import type {ElkInput} from './elk-input.js' +import type {Grid} from './grid.js' +import type {RoutePorts} from './model.js' +import type {Box} from './unlinked.js' + +/** + * Each block's arrangement as it is drawn: on the grid's columns, a pitch apart, where ELK laid it out a pitch of its + * own apart (see `blockArrangement`). Its box in `boxes` takes the arrangement's size. + */ +export function arrangeBlocks(input: ElkInput, boxes: ReadonlyMap, grid: Grid | undefined): Map { + const arrangements = new Map() + for (const [id, block] of input.blocks) { + const arranged = grid && block.gridded ? blockArrangement(block.nodes, input.direction, grid.pitch) : block.arranged + const box = boxes.get(input.elkId.get(id) ?? '') + if (!box) throw new Error(`Graph layout did not place block "${id}".`) + box.width = arranged.width + box.height = arranged.height + arrangements.set(id, arranged) + } + return arrangements +} + +/** Each block's cards in its lines, where ELK placed the block, and each block's tray: its footprint and overhang. */ +export function placeBlocks( + input: ElkInput, + boxes: ReadonlyMap, + arrangements: ReadonlyMap, +): {inBlocks: Map; laidBlocks: Map} { + const inBlocks = new Map() + const laidBlocks = new Map() + for (const [id, {members}] of input.blocks) { + const block = boxes.get(input.elkId.get(id) ?? '') + const arranged = arrangements.get(id) + if (!block || !arranged) throw new Error(`Graph layout did not place block "${id}".`) + for (const [card, offset] of arranged.offsets) inBlocks.set(card, {...offset, x: block.x + offset.x, y: block.y + offset.y}) + const {overhang} = arranged + const [width, height] = + input.direction === 'DOWN' ? [block.width + 2 * overhang, block.height] : [block.width, block.height + 2 * overhang] + laidBlocks.set(id, {x: block.x + block.width / 2, y: block.y + block.height / 2, width, height, members}) + } + return {inBlocks, laidBlocks} +} + +/** + * Each relationship of a block's card takes the route placed for the whole block (`ElkInput.routedAs`), with its ports + * relative to its own cards; the block's own routes are taken out. + */ +export function routeBlocks( + input: ElkInput, + points: ReadonlyMap, + routes: Map, + ports: Map, +): void { + for (const [id, as] of input.routedAs) { + const edge = input.blocked.get(id), + route = routes.get(as), + port = ports.get(as) + const source = edge && points.get(edge.from), + target = edge && points.get(edge.to) + const [start, end] = [route?.[0], route?.at(-1)] + if (!route || !port || !source || !target || !start || !end) throw new Error(`Graph layout did not produce a route for "${id}".`) + routes.set(id, route) + ports.set(id, {...port, from: {x: start.x - source.x, y: start.y - source.y}, to: {x: end.x - target.x, y: end.y - target.y}}) + } + for (const as of new Set(input.routedAs.values())) { + routes.delete(as) + ports.delete(as) + } +} diff --git a/packages/renderers/kit/src/layout/blocks.ts b/packages/renderers/kit/src/layout/blocks.ts index ab5db20fa..5e2d97831 100644 --- a/packages/renderers/kit/src/layout/blocks.ts +++ b/packages/renderers/kit/src/layout/blocks.ts @@ -38,12 +38,15 @@ function signatures(cards: ReadonlySet, edges: readonly LayoutEdge[]): M return new Map([...ends].map(([id, list]) => [id, JSON.stringify(list.toSorted(compareIds))])) } -function groupBy(ids: readonly string[], key: (id: string) => string): Map { +/** The IDs `keys` has, by their key. */ +function groupBy(ids: Iterable, keys: ReadonlyMap): Map { const result = new Map() for (const id of ids) { - const list = result.get(key(id)) ?? [] + const key = keys.get(id) + if (key === undefined) continue + const list = result.get(key) ?? [] list.push(id) - result.set(key(id), list) + result.set(key, list) } return result } @@ -71,17 +74,13 @@ export function siblingBlocks( const blocks = new Map() if (given) { for (const [id, members] of given) { - const present = members.filter(member => keys.has(member)) - const bySignature = groupBy(present, member => keys.get(member)!) + const bySignature = groupBy(members, keys) const largest = [...bySignature.values()].toSorted((a, b) => b.length - a.length)[0] if (largest && largest.length >= 2) blocks.set(id, largest) } return blocks } - const bySignature = groupBy( - [...cards].filter(id => keys.has(id)), - id => keys.get(id)!, - ) + const bySignature = groupBy(cards, keys) for (const [signature, members] of bySignature) { if (members.length >= blockMinimum) blocks.set(blockId(signature), members.toSorted(order)) } @@ -117,16 +116,13 @@ export interface BlockArrangement { * into the gaps between columns. Otherwise they start `blockGap` apart inside the tray's padding. */ export function blockArrangement(members: readonly LayoutNode[], direction: 'DOWN' | 'RIGHT', pitch?: number): BlockArrangement { - const sizes = members.map(sizeOf) + const cards = members.map(node => ({id: node.id, size: sizeOf(node)})) const breadthOf = (size: {width: number; height: number}) => (direction === 'DOWN' ? size.width : size.height) const depthOf = (size: {width: number; height: number}) => (direction === 'DOWN' ? size.height : size.width) - const breadth = Math.max(...sizes.map(breadthOf)) - const {across} = blockGrid(members.length, breadth, Math.max(...sizes.map(depthOf))) - const lines: number[] = [] - members.forEach((_, index) => { - const line = Math.floor(index / across) - lines[line] = Math.max(lines[line] ?? 0, depthOf(sizes[index]!)) - }) + const breadth = Math.max(...cards.map(card => breadthOf(card.size))) + const {across} = blockGrid(members.length, breadth, Math.max(...cards.map(card => depthOf(card.size)))) + // The block's lines, each its cards in order. + const lines = Array.from({length: Math.ceil(cards.length / across)}, (_, line) => cards.slice(line * across, (line + 1) * across)) const [before, after] = direction === 'DOWN' ? [blockPadding.top, blockPadding.bottom] : [blockPadding.side, blockPadding.side] // Across the layers: the caption's side first (the left top to bottom, the top left to right). const [start, end] = direction === 'DOWN' ? [blockPadding.side, blockPadding.side] : [blockPadding.top, blockPadding.bottom] @@ -134,16 +130,13 @@ export function blockArrangement(members: readonly LayoutNode[], direction: 'DOW const inset = pitch === undefined ? start : 0 const offsets = new Map() let alongAt = before - lines.forEach((depth, line) => { - for (let column = 0; column < across; column++) { - const index = line * across + column - const member = members[index] - if (!member) break + for (const line of lines) { + for (const [column, {id, size}] of line.entries()) { const acrossAt = inset + column * step - offsets.set(member.id, direction === 'DOWN' ? {x: acrossAt, y: alongAt, ...sizes[index]!} : {x: alongAt, y: acrossAt, ...sizes[index]!}) + offsets.set(id, direction === 'DOWN' ? {x: acrossAt, y: alongAt, ...size} : {x: alongAt, y: acrossAt, ...size}) } - alongAt += depth + blockGap - }) + alongAt += Math.max(...line.map(card => depthOf(card.size))) + blockGap + } const alongExtent = alongAt - blockGap + after const acrossExtent = inset + (across - 1) * step + breadth + (pitch === undefined ? end : 0) return { diff --git a/packages/renderers/kit/src/layout/elk-input.ts b/packages/renderers/kit/src/layout/elk-input.ts index 80af249b6..b23d3e1fc 100644 --- a/packages/renderers/kit/src/layout/elk-input.ts +++ b/packages/renderers/kit/src/layout/elk-input.ts @@ -83,21 +83,32 @@ export function elkInput(nodes: readonly LayoutNode[], edges: readonly LayoutEdg for (const [id, members] of blockMembers) for (const card of members) blockOf.set(card, id) const byId = new Map(nodes.map(node => [node.id, node])) const blocks = new Map() + // Each block as ELK lays it out, by its first card. const blockNodes = new Map() const hints = new Map(given) // Top to bottom, cards snap to a grid of columns (see `columnGrid`): a block's cards take its columns, ELK's pitch // apart here, so the block spans whole columns and a card over its middle column stays over it. - const median = direction === 'DOWN' && !groups.size ? cardBreadth(nodes.filter(node => !blockOf.has(node.id) && !groups.has(node.id)), direction) : undefined + const median = + direction === 'DOWN' && !groups.size + ? cardBreadth( + nodes.filter(node => !blockOf.has(node.id) && !groups.has(node.id)), + direction, + ) + : undefined for (const [id, members] of blockMembers) { - const cards = members.map(card => byId.get(card)!) + const cards = members.flatMap(card => byId.get(card) ?? []) const gridded = median !== undefined && cards.every(card => (card.width ?? cardWidth) <= median + 0.5) const arranged = blockArrangement(cards, direction, gridded ? median + nodeSpacing : undefined) blocks.set(id, {members, arranged, nodes: cards, gridded}) - blockNodes.set(id, {id, kind: 'pk-block', width: arranged.width, height: arranged.height}) + // A block takes its first card's place in the order. + blockNodes.set(members[0] ?? id, {id, kind: 'pk-block', width: arranged.width, height: arranged.height}) // Where the reference layout had its cards: their middle. const points = members.map(card => given.get(card)).filter(point => point !== undefined) if (points.length) { - hints.set(id, {x: points.reduce((sum, point) => sum + point.x, 0) / points.length, y: points.reduce((sum, point) => sum + point.y, 0) / points.length}) + hints.set(id, { + x: points.reduce((sum, point) => sum + point.x, 0) / points.length, + y: points.reduce((sum, point) => sum + point.y, 0) / points.length, + }) } } // A block's relationships, placed as one per source and target. @@ -129,12 +140,11 @@ export function elkInput(nodes: readonly LayoutNode[], edges: readonly LayoutEdg const unlinked = new Set( ordered.filter(node => !groups.has(node.id) && !member.has(node.id) && !linked.has(node.id)).map(node => node.id), ) - // A block takes its first card's place in the order. const laid = ordered.flatMap(node => { if (unlinked.has(node.id)) return [] - const block = blockOf.get(node.id) - if (block === undefined) return [node] - return blocks.get(block)!.members[0] === node.id ? [blockNodes.get(block)!] : [] + if (!blockOf.has(node.id)) return [node] + const block = blockNodes.get(node.id) + return block ? [block] : [] }) const elkId = new Map(laid.map((node, index) => [node.id, `n${index}`])) const elkEdges: ElkExtendedEdge[] = [] diff --git a/packages/renderers/kit/src/layout/grid.ts b/packages/renderers/kit/src/layout/grid.ts index a930a505a..f1274f966 100644 --- a/packages/renderers/kit/src/layout/grid.ts +++ b/packages/renderers/kit/src/layout/grid.ts @@ -44,7 +44,9 @@ export function columnGrid(input: ElkInput, boxes: ReadonlyMap): Gr * (cards in no block), or undefined for none. */ export function cardBreadth(cards: readonly LayoutNode[], direction: 'DOWN' | 'RIGHT'): number | undefined { - const breadths = cards.map(node => (direction === 'DOWN' ? (node.width ?? cardWidth) : (node.height ?? cardHeight(node.kind)))).filter(value => value > 0) + const breadths = cards + .map(node => (direction === 'DOWN' ? (node.width ?? cardWidth) : (node.height ?? cardHeight(node.kind)))) + .filter(value => value > 0) return breadths.length ? median(breadths) : undefined } diff --git a/packages/renderers/kit/src/layout/lay-out.ts b/packages/renderers/kit/src/layout/lay-out.ts index 71c1ac6f3..53a08fee9 100644 --- a/packages/renderers/kit/src/layout/lay-out.ts +++ b/packages/renderers/kit/src/layout/lay-out.ts @@ -8,7 +8,7 @@ import {elkInput} from './elk-input.js' import {elkRun} from './elk-run.js' import {placeCards, type Plan} from './elk-placement.js' import {placeUnlinked, type Box} from './unlinked.js' -import {blockArrangement, type LayoutBlock} from './blocks.js' +import {arrangeBlocks, placeBlocks, routeBlocks} from './block-layout.js' import {columnGrid, snapToGrid} from './grid.js' /** @@ -24,8 +24,23 @@ export async function layOut( enough?: number, ): Promise<{layout: GraphLayout | undefined; crowding: number; plan: Plan; alignment: GraphLayout['alignment']}> { const input = elkInput(nodes, edges, options) - const {direction, across, groups, hints, placed, stages, viaJunction, ordered, unlinked, elkId, elkEdges, parts, blocks, blockOf, routedAs} = - input + const { + direction, + across, + groups, + hints, + placed, + stages, + viaJunction, + ordered, + unlinked, + elkId, + elkEdges, + parts, + blocks, + blockOf, + routedAs, + } = input // Without a reference layout, ELK first orders the cards to cross least, then places them in that order. Graphs with // boundaries keep ELK's own placement, which the boundaries' padding and nesting shape. const laidHints = new Map([...hints].filter(([id]) => elkId.has(id))) @@ -67,15 +82,7 @@ export async function layOut( else height = reach } // A block's cards as they go: on the grid's columns, a pitch apart, where they took ELK's. - const arrangements = new Map( - [...blocks].map(([id, block]) => { - const arranged = grid && block.gridded ? blockArrangement(block.nodes, direction, grid.pitch) : block.arranged - const box = boxes.get(elkId.get(id)!)! - box.width = arranged.width - box.height = arranged.height - return [id, arranged] as const - }), - ) + const arrangements = arrangeBlocks(input, boxes, grid) // A step of a transition stays where the reference layout had it: ELK starts every layout at its padding, so one // narrower than the reference moves across as a whole to where its cards were. Cards with no relationships (see // below) then take their places in the room it leaves. @@ -98,20 +105,7 @@ export async function layOut( } const placedUnlinked = unlinked.size ? placeUnlinked(input, boxes, trunks ?? polylines, {width, height}, grid) : undefined if (placedUnlinked) ({width, height} = placedUnlinked) - // A block's cards in its lines, where ELK placed the block. - const inBlocks = new Map() - const laidBlocks = new Map() - for (const [id, {members}] of blocks) { - const block = boxes.get(elkId.get(id)!)! - const {offsets, overhang} = arrangements.get(id)! - for (const card of members) { - const offset = offsets.get(card)! - inBlocks.set(card, {...offset, x: block.x + offset.x, y: block.y + offset.y}) - } - // Its tray: the footprint and, across the layers, the overhang. - const [width, height] = direction === 'DOWN' ? [block.width + 2 * overhang, block.height] : [block.width, block.height + 2 * overhang] - laidBlocks.set(id, {x: block.x + block.width / 2, y: block.y + block.height / 2, width, height, members}) - } + const {inBlocks, laidBlocks} = placeBlocks(input, boxes, arrangements) const points = new Map(), sizes = new Map() for (const node of ordered) { @@ -152,24 +146,7 @@ export async function layOut( // Routing stopped once the gap was known to be too narrow: there is no layout, only how much wider it must be. if (!('routes' in routed)) return {layout: undefined, crowding: routed.crowding, plan, alignment} const {routes, ports, crowding} = routed - // Each relationship of a block's card takes the block's route, its ports relative to its own cards. - for (const [id, as] of routedAs) { - const edge = input.blocked.get(id)! - const route = routes.get(as)!, - port = ports.get(as)! - const source = points.get(edge.from)!, - target = points.get(edge.to)! - routes.set(id, route) - ports.set(id, { - ...port, - from: {x: route[0]!.x - source.x, y: route[0]!.y - source.y}, - to: {x: route.at(-1)!.x - target.x, y: route.at(-1)!.y - target.y}, - }) - } - for (const as of new Set(routedAs.values())) { - routes.delete(as) - ports.delete(as) - } + routeBlocks(input, points, routes, ports) const junctions = stages.map((_, index) => { const box = boxes.get(`j${index}`)! return {x: box.x + box.width / 2, y: box.y + box.height / 2} diff --git a/packages/renderers/kit/src/layout/routing/bundles.ts b/packages/renderers/kit/src/layout/routing/bundles.ts index 9dd5a28fc..3fc47a8ad 100644 --- a/packages/renderers/kit/src/layout/routing/bundles.ts +++ b/packages/renderers/kit/src/layout/routing/bundles.ts @@ -2,7 +2,8 @@ import {polylineCrossings} from '../../routes/crossings.js' import {routeRadius} from '../../routes/s-bend.js' import {trackSpacing} from '../../routes/tracks.js' -import {sampleSpline} from '../../splines.js' +import {sampleSpline, type Spline} from '../../splines.js' +import type {Point} from '../../edge-arrows.js' import {compareIds} from '../model.js' import type {RoutingContext, Segment} from './context.js' import {build} from './build.js' @@ -49,12 +50,18 @@ export function separateBundles(ctx: RoutingContext, all: readonly Segment[], ru const centre = anchor - (anchored - (order.length - 1) / 2) * trackSpacing return centre - need / 2 >= lowest - 0.01 && centre + need / 2 <= highest + 0.01 ? centre : middle } + // The route each segment was last built for here (see `place`). + const built = new WeakMap() const place = () => { const centre = centreFor() for (const [index, bundle] of order.entries()) { for (const segment of bundle) { - segment.run = centre + (index - (order.length - 1) / 2) * trackSpacing - along(segment.start) + const run = centre + (index - (order.length - 1) / 2) * trackSpacing - along(segment.start) + // A route already built for its run stays as it is: only the bundles that moved are built again. + if (segment.run === run && segment.route && built.get(segment) === segment.route) continue + segment.run = run build(ctx, segment) + built.set(segment, segment.route) } } } @@ -86,29 +93,51 @@ export function separateBundles(ctx: RoutingContext, all: readonly Segment[], ru if (drawnAlike && related() > relatedBefore) for (const [segment, run] of saved) restoreRun(ctx, segment, run) } +// Routes are counted again after every swap, most of them unchanged: their samples and crossings are kept while they live. +const samplesOf = new WeakMap() +const crossingsOf = new WeakMap>>() + +/** A route's samples and their bounds, kept while it lives. */ +function sampled(route: Spline): {points: Point[]; box: readonly [number, number, number, number]} { + let value = samplesOf.get(route) + if (!value) { + const points = sampleSpline(route, 8) + const xs = points.map(point => point.x), + ys = points.map(point => point.y) + samplesOf.set(route, (value = {points, box: [Math.min(...xs), Math.max(...xs), Math.min(...ys), Math.max(...ys)]})) + } + return value +} + +/** Where two routes cross, away from `shared` points (see `polylineCrossings`), kept while both live. */ +function crossingsBetween(a: Spline, b: Spline, shared: readonly Point[]): Point[] { + let pairs = crossingsOf.get(a) + if (!pairs) crossingsOf.set(a, (pairs = new WeakMap>())) + let answers = pairs.get(b) + if (!answers) pairs.set(b, (answers = new Map())) + const key = shared.map(point => `${point.x},${point.y}`).join(';') + let found = answers.get(key) + if (!found) answers.set(key, (found = polylineCrossings(sampled(a).points, sampled(b).points, shared, 6))) + return found +} + /** Distinct places where the bundles' routes cross: a trunk crossing a bundle's run is one crossing, not one per route pair. */ function bundleCrossings(order: readonly Segment[][]): number { - const sampled = new Map( - order.flat().map(segment => { - const points = sampleSpline(segment.route!, 8) - const xs = points.map(point => point.x), - ys = points.map(point => point.y) - return [segment, {points, box: [Math.min(...xs), Math.max(...xs), Math.min(...ys), Math.max(...ys)] as const}] as const - }), - ) + const routed = order.map(bundle => bundle.flatMap(segment => (segment.route ? [{segment, route: segment.route}] : []))) const places = new Set() // Routes into one card or out of one must never cross: any such crossing outweighs every other. let converging = 0 - for (let i = 0; i < order.length; i++) { - for (let j = i + 1; j < order.length; j++) { - for (const a of order[i]!) { - for (const b of order[j]!) { - const p = sampled.get(a)!, - q = sampled.get(b)! - if (p.box[1] < q.box[0] || q.box[1] < p.box[0] || p.box[3] < q.box[2] || q.box[3] < p.box[2]) continue - const shared = [...(a.from === b.from ? [a.start] : []), ...(a.to === b.to ? [a.end!, b.end!] : [])] - const found = polylineCrossings(p.points, q.points, shared, 6) - if (found.length && (a.to === b.to || a.from === b.from)) converging++ + for (const [i, first] of routed.entries()) { + for (const second of routed.slice(i + 1)) { + for (const a of first) { + for (const b of second) { + const p = sampled(a.route).box, + q = sampled(b.route).box + if (p[1] < q[0] || q[1] < p[0] || p[3] < q[2] || q[3] < p[2]) continue + const [from, to] = [a.segment.from === b.segment.from, a.segment.to === b.segment.to] + const ends = [a.segment.end, b.segment.end].filter((point): point is Point => point !== undefined) + const found = crossingsBetween(a.route, b.route, [...(from ? [a.segment.start] : []), ...(to ? ends : [])]) + if (found.length && (to || from)) converging++ for (const point of found) places.add(`${Math.round(point.x / 4)},${Math.round(point.y / 4)}`) } } diff --git a/packages/renderers/kit/src/layout/routing/clearance.ts b/packages/renderers/kit/src/layout/routing/clearance.ts new file mode 100644 index 000000000..35ae15c2d --- /dev/null +++ b/packages/renderers/kit/src/layout/routing/clearance.ts @@ -0,0 +1,85 @@ +// The cards routes keep clear of, indexed by where they are. +import {sampleSpline, type Spline} from '../../splines.js' +import type {RouteBox} from './context.js' + +/** Room kept between a direct S and any card it passes. */ +export const routeClearance = 8 +/** The side of the square cells cards are indexed in, in layout units: about a card's width. */ +const cellSize = 256 + +type Bounds = readonly [left: number, right: number, top: number, bottom: number] + +/** + * Whether a route keeps `routeClearance` from every card but its own (`clear`), and which cards' clearance boxes may + * meet a rectangle (`cardsNear`: every one that does, and a few more). Cards are kept in square cells, so a route is + * tested only against the cards near it. + */ +export function clearance( + cards: ReadonlySet, + box: (id: string) => RouteBox, +): {clear: (route: Spline, own: readonly string[]) => boolean; cardsNear: (...bounds: Bounds) => Set} { + const bounds = new Map( + [...cards].map(id => { + const card = box(id) + return [ + id, + [ + card.x - card.width / 2 - routeClearance, + card.x + card.width / 2 + routeClearance, + card.y - card.height / 2 - routeClearance, + card.y + card.height / 2 + routeClearance, + ], + ] + }), + ) + const cells = new Map() + const range = (low: number, high: number) => [Math.floor(low / cellSize), Math.floor(high / cellSize)] as const + const key = (column: number, row: number) => (column + 0x100000) * 0x200000 + (row + 0x100000) + for (const [id, [left, right, top, bottom]] of bounds) { + const [c0, c1] = range(left, right), + [r0, r1] = range(top, bottom) + for (let column = c0; column <= c1; column++) { + for (let row = r0; row <= r1; row++) { + const list = cells.get(key(column, row)) + if (list) list.push(id) + else cells.set(key(column, row), [id]) + } + } + } + const cardsNear = (left: number, right: number, top: number, bottom: number): Set => { + const found = new Set() + const [c0, c1] = range(left, right), + [r0, r1] = range(top, bottom) + for (let column = c0; column <= c1; column++) { + for (let row = r0; row <= r1; row++) for (const id of cells.get(key(column, row)) ?? []) found.add(id) + } + return found + } + const clear = (route: Spline, own: readonly string[]) => { + const samples = sampleSpline(route, 4) + // Runs of samples with their bounds: a card is tested only against the runs that reach it. + for (let from = 0; from < samples.length; from += 16) { + const to = Math.min(samples.length, from + 16) + let left = Infinity, + right = -Infinity, + top = Infinity, + bottom = -Infinity + const run = samples.slice(from, to) + for (const {x, y} of run) { + left = Math.min(left, x) + right = Math.max(right, x) + top = Math.min(top, y) + bottom = Math.max(bottom, y) + } + for (const id of cardsNear(left, right, top, bottom)) { + const card = bounds.get(id) + if (!card || own.includes(id)) continue + const [x0, x1, y0, y1] = card + if (right <= x0 || left >= x1 || bottom <= y0 || top >= y1) continue + if (run.some(point => point.x > x0 && point.x < x1 && point.y > y0 && point.y < y1)) return false + } + } + return true + } + return {clear, cardsNear} +} diff --git a/packages/renderers/kit/src/layout/routing/context.ts b/packages/renderers/kit/src/layout/routing/context.ts index 9c1d52752..39f631825 100644 --- a/packages/renderers/kit/src/layout/routing/context.ts +++ b/packages/renderers/kit/src/layout/routing/context.ts @@ -5,6 +5,7 @@ import {sampleSpline, type Spline} from '../../splines.js' import type {LayoutEdge} from '../model.js' import {straightRuns} from '../geometry.js' import {leaveByBundle} from './departures.js' +import {clearance} from './clearance.js' export interface RouteBox { /** Centre. */ @@ -33,10 +34,7 @@ export interface RoutingInput { grid?: boolean } -/** Room kept between a direct S and any card it passes. */ -export const routeClearance = 8 -/** The side of the square cells cards are indexed in, in layout units: about a card's width. */ -const cellSize = 256 +export {routeClearance} from './clearance.js' /** One ELK edge's stretch of a relationship's route. */ export interface Segment { @@ -207,77 +205,7 @@ export function routingContext(input: RoutingInput): RoutingContext { other.from === segment.from ? 6 : 3, ), ).length - // Cards' clearance boxes, kept for the whole routing, in square cells: a route is tested only against the cards near it. - const clearance = new Map( - [...cards].map(id => { - const card = box(id) - return [ - id, - [ - card.x - card.width / 2 - routeClearance, - card.x + card.width / 2 + routeClearance, - card.y - card.height / 2 - routeClearance, - card.y + card.height / 2 + routeClearance, - ] as const, - ] - }), - ) - const cells = new Map() - const cellRange = (low: number, high: number) => [Math.floor(low / cellSize), Math.floor(high / cellSize)] as const - const cellKey = (column: number, row: number) => (column + 0x100000) * 0x200000 + (row + 0x100000) - for (const [id, [left, right, top, bottom]] of clearance) { - const [c0, c1] = cellRange(left, right), - [r0, r1] = cellRange(top, bottom) - for (let column = c0; column <= c1; column++) { - for (let row = r0; row <= r1; row++) { - const list = cells.get(cellKey(column, row)) - if (list) list.push(id) - else cells.set(cellKey(column, row), [id]) - } - } - } - /** The cards whose clearance boxes may meet a rectangle (left, right, top, bottom): every one that does, and a few more. */ - const cardsNear = (left: number, right: number, top: number, bottom: number): Set => { - const found = new Set() - const [c0, c1] = cellRange(left, right), - [r0, r1] = cellRange(top, bottom) - for (let column = c0; column <= c1; column++) { - for (let row = r0; row <= r1; row++) for (const id of cells.get(cellKey(column, row)) ?? []) found.add(id) - } - return found - } - const clear = (route: Spline, own: readonly string[]) => { - const samples = sampleSpline(route, 4) - // Runs of samples with their bounds: a card is tested only against the runs that reach it. - const runs: {from: number; to: number; box: readonly [number, number, number, number]}[] = [] - for (let from = 0; from < samples.length; from += 16) { - const to = Math.min(samples.length, from + 16) - let left = Infinity, - right = -Infinity, - top = Infinity, - bottom = -Infinity - for (let index = from; index < to; index++) { - const {x, y} = samples[index]! - left = Math.min(left, x) - right = Math.max(right, x) - top = Math.min(top, y) - bottom = Math.max(bottom, y) - } - runs.push({from, to, box: [left, right, top, bottom]}) - } - for (const run of runs) { - for (const id of cardsNear(...run.box)) { - if (own.includes(id)) continue - const [left, right, top, bottom] = clearance.get(id)! - if (run.box[1] <= left || run.box[0] >= right || run.box[3] <= top || run.box[2] >= bottom) continue - for (let index = run.from; index < run.to; index++) { - const point = samples[index]! - if (point.x > left && point.x < right && point.y > top && point.y < bottom) return false - } - } - } - return true - } + const {clear, cardsNear} = clearance(cards, box) const nextLayer = new Map() const firstGap = (id: string) => { let value = nextLayer.get(id) diff --git a/packages/renderers/kit/src/layout/routing/ports.ts b/packages/renderers/kit/src/layout/routing/ports.ts index 140f244a4..7eb1c2f9e 100644 --- a/packages/renderers/kit/src/layout/routing/ports.ts +++ b/packages/renderers/kit/src/layout/routing/ports.ts @@ -16,7 +16,10 @@ export function assign(ctx: RoutingContext, target: string, ordered: readonly Se const {across, at, box, breadth, inFace} = ctx const middle = across(box(target)) const offsets = ctx.input.blocks?.has(target) - ? blockPorts(ordered.map(segment => across(segment.start) - middle), breadth(target)) + ? blockPorts( + ordered.map(segment => across(segment.start) - middle), + breadth(target), + ) : spreadPorts(ordered.length, breadth(target), breadth(target) / (ordered.length + 1)) for (const [index, segment] of ordered.entries()) { const end = at(inFace(target), middle + offsets[index]!) @@ -40,12 +43,12 @@ export function byLeaving(ctx: RoutingContext, list: readonly Segment[]): Segmen */ function blockPorts(wanted: readonly number[], length: number): number[] { const reach = Math.max(0, length / 2 - portInset) - const offsets = wanted.map(offset => Math.max(-reach, Math.min(reach, offset))) - for (let index = 1; index < offsets.length; index++) offsets[index] = Math.max(offsets[index]!, offsets[index - 1]! + hubPortSpacing) - // Pushed past the far end, they close up from it. - for (let index = offsets.length - 1; index >= 0; index--) { - const limit = index === offsets.length - 1 ? reach : offsets[index + 1]! - hubPortSpacing - offsets[index] = Math.min(offsets[index]!, limit) + const spread: number[] = [] + for (const offset of wanted) { + spread.push(Math.max(Math.max(-reach, Math.min(reach, offset)), (spread.at(-1) ?? -Infinity) + hubPortSpacing)) } - return offsets + // Pushed past the far end, they close up from it. + const closed: number[] = [] + for (const offset of spread.toReversed()) closed.unshift(Math.min(offset, (closed[0] ?? reach + hubPortSpacing) - hubPortSpacing)) + return closed } diff --git a/packages/renderers/kit/src/react/graph-canvas/block-tray.tsx b/packages/renderers/kit/src/react/graph-canvas/block-tray.tsx index 0ae92687d..74125465f 100644 --- a/packages/renderers/kit/src/react/graph-canvas/block-tray.tsx +++ b/packages/renderers/kit/src/react/graph-canvas/block-tray.tsx @@ -13,8 +13,8 @@ const changeOrder: readonly ChangeClassification[] = ['added', 'removed', 'modif /** How many cards of what: `11 tools`, or `6 entities` for cards of several kinds. */ function countWords(members: readonly TransitionNode[], total: number, locale?: string): string { - const kinds = new Set(members.map(node => displayed(node).kind)) - const noun = kinds.size === 1 ? humanizeKind([...kinds][0]!) : {singular: 'entity', plural: 'entities'} + const [kind, ...others] = new Set(members.map(node => displayed(node).kind)) + const noun = kind !== undefined && !others.length ? humanizeKind(kind) : {singular: 'entity', plural: 'entities'} return `${total.toLocaleString(locale)} ${total === 1 ? noun.singular : noun.plural}` } @@ -29,12 +29,15 @@ export function BlockTray({block, nodes, drawing}: {block: TransitionBlock; node if (change === 'unchanged' || props.emphasis(node) <= 0.01) continue counts.set(change, (counts.get(change) ?? 0) + 1) } - const changes = changeOrder.filter(change => counts.has(change)) + const changes = changeOrder.flatMap(change => { + const count = counts.get(change) + return count === undefined ? [] : [{change, count: count.toLocaleString(props.locale)}] + }) const words = countWords(members, block.members.length, props.locale) const left = block.x - block.width / 2, top = block.y - block.height / 2 const receded = members.every(node => drawing.receded(node.id)) - const description = changes.map(change => `${counts.get(change)!.toLocaleString(props.locale)} ${statusLabels[change].toLowerCase()}`) + const description = changes.map(({change, count}) => `${count} ${statusLabels[change].toLowerCase()}`) return ( diff --git a/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx b/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx index 2510dcfe0..acf65ca91 100644 --- a/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx +++ b/packages/renderers/kit/src/react/graph-canvas/graph-link.tsx @@ -6,7 +6,7 @@ import {cardBorderOutset, type BorderWidths} from '../../border.js' import {classifyChange, edgePaint, graphEdgeWeight, type ChangeClassification} from '../../emphasis.js' import type {TransitionBlock, TransitionEdge, TransitionNode} from '../../graph-transition.js' import {changeMark} from '../../diff/model.js' -import {drawnEdge, raisedEdges} from '../../graph-canvas/edges.js' +import {drawnEdge, edgeEnd, raisedEdges} from '../../graph-canvas/edges.js' import type {Point} from '../../edge-arrows.js' import {edgeDescription, type Drawing} from './drawing.js' @@ -36,12 +36,8 @@ export function drawnLinks( /** The block each block's card is in: its relationships run from and to the block's tray (see `GraphLayout.blocks`). */ blockOf: ReadonlyMap = new Map(), ): DrawnLink[] { - // A block's relationships end on its tray, so their arrowheads stand on its face rather than a card's. A tray fades - // but never scales, as an arriving card does (see `cardBox`). - const end = (id: string) => { - const block = blockOf.get(id) - return block ? {...nodeById.get(id)!, x: block.x, y: block.y, width: block.width, height: block.height, opacity: 1} : nodeById.get(id)! - } + // A block's relationships end on its tray, so their arrowheads stand on its face rather than a card's. + const end = (id: string) => edgeEnd(nodeById.get(id)!, blockOf.get(id)) // In the diff a rewired relationship is drawn twice: its old route is removed and its new one added. const edgeChange = (edge: TransitionEdge): ChangeClassification => edge.part === 'before' ? 'removed' : edge.part === 'after' ? 'added' : classifyChange(edge) diff --git a/packages/renderers/kit/src/routes/courses.ts b/packages/renderers/kit/src/routes/courses.ts index 208a803db..a09b967bd 100644 --- a/packages/renderers/kit/src/routes/courses.ts +++ b/packages/renderers/kit/src/routes/courses.ts @@ -30,29 +30,39 @@ interface Entry { y: number } -/** An empty `CourseIndex` of routes drawn as `drawing` says: only routes drawn differently can hide one another. */ +interface Course { + route: Spline + group: string + /** Bounds of its control points (which hold the whole curve), `touching` wider on every side. */ + box: readonly [number, number, number, number] + /** Its samples and their cells, once a route drawn differently comes near enough to need them. */ + sampled?: {cells: number[]; points: Point[]} +} + +/** + * An empty `CourseIndex` of routes drawn as `drawing` says: only routes drawn differently can hide one another. A route + * is sampled into cells only once a route drawn differently has bounds that meet its own: most never are. + */ export function courseIndex(drawing: (key: K) => string): CourseIndex { // Each cell's samples by drawing, so a route's own drawing (a trunk of routes drawn alike) costs nothing to pass over. const cells = new Map[]>>() - const courses = new Map() + const courses = new Map() const remove = (key: K) => { const known = courses.get(key) if (!known) return - const group = drawing(key) - for (const cell of new Set(known.cells)) { + for (const cell of new Set(known.sampled?.cells ?? [])) { const groups = cells.get(cell) if (!groups) continue - const list = (groups.get(group) ?? []).filter(entry => entry.key !== key) - if (list.length > 0) groups.set(group, list) - else groups.delete(group) + const list = (groups.get(known.group) ?? []).filter(entry => entry.key !== key) + if (list.length > 0) groups.set(known.group, list) + else groups.delete(known.group) if (groups.size === 0) cells.delete(cell) } courses.delete(key) } - const set = (key: K, route: Spline) => { - remove(key) - const points = route.length ? sampleSpline(route, spacing) : [] - const group = drawing(key) + const sample = (key: K, course: Course) => { + if (course.sampled) return course.sampled + const points = course.route.length ? sampleSpline(course.route, spacing) : [] const keys: number[] = [] for (const point of points) { const cell = cellOf(point.x, point.y) @@ -60,18 +70,22 @@ export function courseIndex(drawing: (key: K) => string): CourseIndex { const groups = cells.get(cell) ?? new Map[]>() cells.set(cell, groups) const entry = {key, x: point.x, y: point.y} - const list = groups.get(group) + const list = groups.get(course.group) if (list) list.push(entry) - else groups.set(group, [entry]) + else groups.set(course.group, [entry]) } + return (course.sampled = {cells: keys, points}) + } + const set = (key: K, route: Spline) => { + remove(key) let [left, right, top, bottom] = [Infinity, -Infinity, Infinity, -Infinity] - for (const point of points) { + for (const point of route) { left = Math.min(left, point.x) right = Math.max(right, point.x) top = Math.min(top, point.y) bottom = Math.max(bottom, point.y) } - courses.set(key, {cells: keys, points, box: [left - touching, right + touching, top - touching, bottom + touching], group}) + courses.set(key, {route, group: drawing(key), box: [left - touching, right + touching, top - touching, bottom + touching]}) } const nearby = (point: Point, group: string, counted: ((other: K) => boolean) | undefined, found: Set) => { const [column, row] = [Math.floor(point.x / touching), Math.floor(point.y / touching)] @@ -91,22 +105,22 @@ export function courseIndex(drawing: (key: K) => string): CourseIndex { } } const along = (key: K, counted?: (other: K) => boolean) => { - const runs = new Map() - const hidden = new Set() - const group = drawing(key) const own = courses.get(key) if (!own) return [] - // Only routes drawn differently whose bounds meet this one's can run along it: most routes have none to look for. + // Only routes drawn differently whose bounds meet this one's can run along it; they are sampled now, if they weren't. const [left, right, top, bottom] = own.box - const reachable = [...courses].some( - ([other, {box, group: drawn}]) => - drawn !== group && other !== key && box[0] <= right && box[1] >= left && box[2] <= bottom && box[3] >= top, + const reachable = [...courses].filter( + ([other, {box, group}]) => + group !== own.group && other !== key && box[0] <= right && box[1] >= left && box[2] <= bottom && box[3] >= top, ) - if (!reachable) return [] + if (!reachable.length) return [] + for (const [other, course] of reachable) sample(other, course) + const runs = new Map() + const hidden = new Set() const near = new Set() - for (const point of own.points) { + for (const point of sample(key, own).points) { near.clear() - nearby(point, group, counted, near) + nearby(point, own.group, counted, near) for (const other of runs.keys()) if (!near.has(other)) runs.delete(other) for (const other of near) { const run = (runs.get(other) ?? 0) + spacing diff --git a/packages/renderers/kit/test/layout.test.mjs b/packages/renderers/kit/test/layout.test.mjs index 505a89ab8..2e7a1d153 100644 --- a/packages/renderers/kit/test/layout.test.mjs +++ b/packages/renderers/kit/test/layout.test.mjs @@ -65,8 +65,8 @@ async function scenarioGraphs() { const layoutOf = async ({extraction: revision, options}) => layoutGraph(await sizedNodes(revision.entities), revision.relationships, options) const box = (layout, id) => { - const point = layout.points.get(id), - size = layout.sizes.get(id) + const point = layout.points.get(id) ?? layout.blocks.get(id), + size = layout.sizes.get(id) ?? layout.blocks.get(id) return { left: point.x - size.width / 2, right: point.x + size.width / 2, @@ -78,14 +78,17 @@ const box = (layout, id) => { /** Problems with one layout: relationships through cards, and ends off the faces that face along the layers. */ function layoutIssues(layout, edges, orientation) { const issues = [] - const cards = [...layout.points.keys()].filter(id => !layout.groups.has(id)) + // A block's tray stands for its cards (see `GraphLayout.blocks`): its relationships leave and enter it. + const blockOf = new Map([...layout.blocks].flatMap(([block, {members}]) => members.map(id => [id, block]))) + const end = id => blockOf.get(id) ?? id + const cards = [...[...layout.points.keys()].filter(id => !layout.groups.has(id) && !blockOf.has(id)), ...layout.blocks.keys()] for (const edge of edges) { const route = layout.routes.get(edge.id) if (!route) continue - const [start, end] = [route[0], route.at(-1)] + const [start, finish] = [route[0], route.at(-1)] for (const [point, id, name] of [ - [start, edge.from, 'leaves'], - [end, edge.to, 'enters'], + [start, end(edge.from), 'leaves'], + [finish, end(edge.to), 'enters'], ]) { const card = box(layout, id) const onFace = @@ -101,7 +104,7 @@ function layoutIssues(layout, edges, orientation) { for (const id of cards) { // A route may touch its own cards' faces; it never passes through any card. const card = box(layout, id), - inset = id === edge.from || id === edge.to ? 1 : -2 + inset = id === end(edge.from) || id === end(edge.to) ? 1 : -2 if ( sampleSpline(route, 2).some( point => @@ -173,7 +176,9 @@ test('every layer has one baseline: cards side by side in a layer share their to for (const graph of (await scenarioGraphs()).filter(candidate => !candidate.options.compound)) { const layout = await layoutOf(graph) const orientation = graph.options.orientation ?? 'vertical' - const cards = [...layout.points.keys()] + // A block stands in its layer as one: its tray takes the baseline, its cards their lines in it. + const inBlocks = new Set([...layout.blocks.values()].flatMap(block => block.members)) + const cards = [...[...layout.points.keys()].filter(id => !inBlocks.has(id)), ...layout.blocks.keys()] for (let i = 0; i < cards.length; i++) { for (let j = i + 1; j < cards.length; j++) { const [a, b] = [flowSpan(layout, cards[i], orientation), flowSpan(layout, cards[j], orientation)] @@ -890,16 +895,18 @@ test('the dot grid stays on the content as it pans and zooms, and fades out zoom }) test('every arrowhead points into its target card, and its shaft arrives the same way, at every stage of every scenario', async () => { - const {drawnEdge, cardBox, inwardNormal} = await import('../dist/index.js') + const {drawnEdge, cardBox, edgeEnd, inwardNormal} = await import('../dist/index.js') const graphs = await scenarioGraphs() const failures = [] const check = (frame, label) => { const nodes = new Map(frame.nodes.map(node => [node.id, node])) + // A block's card's relationships end on its tray, as the canvas draws them. + const blockOf = new Map(frame.blocks.flatMap(block => block.members.map(id => [id, block]))) for (const edge of frame.edges.filter( candidate => !candidate.containment && nodes.has(candidate.fromId) && nodes.has(candidate.toId), )) { - const from = nodes.get(edge.fromId), - to = nodes.get(edge.toId) + const from = edgeEnd(nodes.get(edge.fromId), blockOf.get(edge.fromId)), + to = edgeEnd(nodes.get(edge.toId), blockOf.get(edge.toId)) const arrow = drawnEdge(edge, from, to) const target = cardBox(to) const normal = inwardNormal(arrow.tip, target) @@ -1042,3 +1049,95 @@ test('routes leaving one card drawn differently (removed, added, plain) leave fr ) assert.equal(new Set(edges.map(edge => `${plain.routes.get(edge.id)[0].x.toFixed(1)}`)).size, 1) }) + +/** A toolset over `count` tools that each require one scope, and beside it a toolset of two (fewer than `blockMinimum`). */ +function fanOut(count, prefix = 'fan') { + const tools = Array.from({length: count}, (_, index) => `${prefix}:tool${String(index).padStart(2, '0')}`) + const few = [`${prefix}:few0`, `${prefix}:few1`] + return extraction( + 'graph/v0', + [ + entity(`${prefix}:set`, 'toolset'), + entity(`${prefix}:other`, 'toolset'), + ...[...tools, ...few].map(id => entity(id, 'tool')), + entity(`${prefix}:repo`, 'scope'), + ], + [ + ...tools.flatMap(id => [ + relationship(`${prefix}:set->${id}`, `${prefix}:set`, id, 'contains'), + relationship(`${id}->repo`, id, `${prefix}:repo`, 'requires'), + ]), + ...few.flatMap(id => [ + relationship(`${prefix}:other->${id}`, `${prefix}:other`, id, 'contains'), + relationship(`${id}->repo`, id, `${prefix}:repo`, 'requires'), + ]), + ], + ) +} + +test('cards that share all their relationships wrap into a block: lines of cards in a tray, their routes one into it and one out', async () => { + for (const orientation of ['vertical', 'horizontal']) { + const graph = fanOut(11, `fan-${orientation}`) + const layout = await layoutGraph(await sizedNodes(graph.entities), graph.relationships, {orientation}) + assert.equal(layout.blocks.size, 1, orientation) + const [block] = layout.blocks.values() + const tools = graph.entities.filter(node => /tool\d/u.test(node.id)).map(node => node.id) + assert.deepEqual([...block.members].toSorted(), tools.toSorted(), `${orientation}: the two others stand on their own`) + const tray = box(layout, [...layout.blocks.keys()][0]) + for (const id of tools) { + const card = box(layout, id) + assert.ok( + card.left > tray.left && card.right < tray.right && card.top > tray.top && card.bottom < tray.bottom, + `${orientation}: ${id} in its tray`, + ) + } + // Wrapped: in more than one line, each of more than one card. + const [flow, across] = orientation === 'vertical' ? ['y', 'x'] : ['x', 'y'] + const lines = new Set(tools.map(id => Math.round(box(layout, id)[flow === 'y' ? 'top' : 'left']))) + assert.ok(lines.size > 1 && lines.size < tools.length, `${orientation}: ${lines.size} lines`) + assert.ok(new Set(tools.map(id => Math.round(layout.points.get(id)[across]))).size > 1) + // Every tool's route in shares one course, and every route out another. + const into = tools.map(id => JSON.stringify(layout.routes.get(`fan-${orientation}:set->${id}`))) + const out = tools.map(id => JSON.stringify(layout.routes.get(`${id}->repo`))) + assert.equal(new Set(into).size, 1, orientation) + assert.equal(new Set(out).size, 1, orientation) + assert.deepEqual(layoutIssues(layout, graph.relationships, orientation), [], orientation) + } +}) + +test('a block holds only cards drawn alike: a few, or ones whose relationships are drawn differently, stand on their own', async () => { + const graph = fanOut(5, 'few') + assert.equal((await layoutGraph(await sizedNodes(graph.entities), graph.relationships, {})).blocks.size, 0, 'five stay in their row') + const wide = fanOut(9, 'mixed') + // Three of the routes in are drawn as added: the six others still make a block, without them. + const edges = wide.relationships.map(edge => (/tool0[0-2]$/u.test(edge.to) ? {...edge, bundle: 'added'} : edge)) + const layout = await layoutGraph(await sizedNodes(wide.entities), edges, {}) + assert.deepEqual( + [...layout.blocks.values()].map(block => block.members.length), + [6], + ) +}) + +test("a transition's stages keep their union's blocks, under the same IDs, and a frame draws each block's tray", async () => { + const before = fanOut(3, 'grow') + const after = fanOut(9, 'grow') + const model = comparisonModel(before, after, await compare(before, after)) + const transition = await createGraphTransition(model, scheduleSteps(model)) + const union = transition.layouts.find(layout => layout.points.size === model.entities.length) + // The six arrivals' relationships are added, unlike the three that stay: the arrivals make a block of their own. + assert.deepEqual( + [...union.blocks.values()].map(block => block.members.length), + [6], + ) + const [key] = union.blocks.keys() + for (const layout of transition.layouts) for (const id of layout.blocks.keys()) assert.equal(id, key) + assert.equal(transition(0).blocks.length, 0, 'Before has no arrivals to wrap') + assert.deepEqual( + transition(1).blocks.map(block => block.key), + [key], + ) + assert.deepEqual( + transition.diff.blocks.map(block => [block.key, block.opacity]), + [[key, 1]], + ) +}) diff --git a/packages/renderers/kit/test/performance.test.mjs b/packages/renderers/kit/test/performance.test.mjs index 82a1577c9..ad7ae18cc 100644 --- a/packages/renderers/kit/test/performance.test.mjs +++ b/packages/renderers/kit/test/performance.test.mjs @@ -160,3 +160,18 @@ test('a first try that must grow to the widest gap stops routing, and the layout await layoutGraph(await sizedNodes(chain.entities), chain.relationships, {}) assert.deepEqual({routed: routingWork.routed - quiet.routed, stopped: routingWork.stopped - quiet.stopped}, {routed: 1, stopped: 0}) }) + +/** + * A wide fan-out routes as one: the GitHub MCP Server's 150 tools under 23 toolsets, most requiring the `repo` scope, + * routed one by one into that hub took over a minute and hundreds of millions of segment tests. Wrapped into blocks + * (see `GraphLayout.blocks`), each toolset's tools send one route into it. + */ +test('a hub most cards route into lays out within its budget once their fan-outs wrap into blocks', async () => { + const tools = JSON.parse(await readFile(new URL('graph/fixtures/mcp-tools-after.json', renderers), 'utf8')) + const before = {...crossingWork} + const layout = await layoutGraph(await sizedNodes(tools.entities), tools.relationships, {}) + const compared = crossingWork.compared - before.compared + assert.ok(layout.blocks.size >= 5, `${layout.blocks.size} blocks`) + assert.equal(layout.routes.size, tools.relationships.length) + assert.ok(compared <= 4_000_000, `${compared} segment pairs compared`) +}) From dd92371634f65ee31b836f1360bddc426e477cb4 Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Tue, 1 Dec 2026 17:45:13 -0800 Subject: [PATCH 4/8] Graph blocks: frame trays, document blocks, test a few hundred cards Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/guides/renderer-kit-graphs.md | 21 ++++++++++++++++++- packages/renderers/graph/README.md | 6 +++++- packages/renderers/graph/scenarios.json | 16 +++++++------- .../kit/src/react/graph-canvas/framing.ts | 10 ++++++--- .../renderers/kit/test/performance.test.mjs | 10 +++++++++ 5 files changed, 50 insertions(+), 13 deletions(-) diff --git a/docs/guides/renderer-kit-graphs.md b/docs/guides/renderer-kit-graphs.md index ae1b42616..c2a74647d 100644 --- a/docs/guides/renderer-kit-graphs.md +++ b/docs/guides/renderer-kit-graphs.md @@ -55,7 +55,8 @@ the whole graph does not fit at the floor, the view opens on the changed region at the floor so a content-sized frame still matches the content's height. Hubs widen automatically to provide a separate port for each incoming -relationship (`fanInWidths`). A hovered, focused or selected relationship is +relationship (`fanInWidths`). Routes from a sibling block are counted once +rather than once for each card. A hovered, focused or selected relationship is drawn over the others, and a selected or hovered card's relationships over the rest, so each can be traced whole into a hub. Every relationship has an origin dot where it leaves its source (`EdgeOrigins`, one dot per shared start), and @@ -89,6 +90,24 @@ subgraphs share layers, and cards within a layer align along the edge where their incoming relationships arrive (top or left) so each layer forms a clean baseline. +**Sibling blocks.** When six or more cards (`blockMinimum`) share every +relationship, they wrap into a block instead of stretching their layer into one +long row. Sharing every relationship means having the same sources and targets, +of the same kinds, drawn the same way (`LayoutEdge.bundle`). ELK places the +block as a single node. Its cards fill lines in reading order inside an inset +tray about three times as broad as it is deep; in a top-to-bottom graph, the +cards sit on the column grid. One route runs from each source into the tray, +entering directly across from the source where possible, and one route runs from +the tray to each target. Each relationship keeps its own link on the shared +route so it can still be selected and marked. Links into or out of a tray carry +`data-to-block` or `data-from-block`. The canvas draws each tray under its cards +with a caption that counts the cards and, while changes are emphasized, shows +how many each change touches (`11 tools +11`). `GraphLayout.blocks` lists each +block's tray and cards. Within a frame, each block in `blocks` is as visible as +its most visible card. Each step of a transition keeps the union's blocks +(`GraphLayoutOptions.blocks`) so the same cards stay together through the +animation. + For flat graphs with relationships and 300 or fewer nodes, ELK first orders cards to minimize crossings and then places them with one centered port per face using the narrowest of the four Brandes–Köpf alignments rather than their diff --git a/packages/renderers/graph/README.md b/packages/renderers/graph/README.md index c1b5d904e..43de6f077 100644 --- a/packages/renderers/graph/README.md +++ b/packages/renderers/graph/README.md @@ -82,7 +82,11 @@ layer's cards share one top, or one left edge), with each card over the card it links to wherever it can sit there, so that relationship runs straight, and relationships that leave and enter the cards' faces along the layers (top to bottom, or left to right for `graph-horizontal`), several into one card at -evenly spaced ports across its face. A graph's cards share the width its longest +evenly spaced ports across its face. Six or more cards that share every +relationship (such as a toolset's tools that all require one scope) wrap into a +block instead of one wide row: a captioned tray of cards in lines that ELK +places as a single node, with one route from each source and one to each target +(the kit's `GraphLayout.blocks`). A graph's cards share the width its longest card text needs, from 112 to 216 units (longer text ends in an ellipsis and the card's tooltip has it whole), and one revision's cards leave out the status footer a comparison reserves, so typical graphs open fitted with their text at diff --git a/packages/renderers/graph/scenarios.json b/packages/renderers/graph/scenarios.json index fc199ebfd..08e089be1 100644 --- a/packages/renderers/graph/scenarios.json +++ b/packages/renderers/graph/scenarios.json @@ -11,14 +11,6 @@ "before": "fixtures/service-platform-before.json", "after": "fixtures/service-platform-after.json" }, - { - "id": "mcp-tools", - "title": "MCP tools, toolsets and OAuth scopes", - "description": "A toolset arrives with 11 tools, every one requiring the repo scope, among about 140 unchanged tools: each toolset's tools that share their scopes wrap into a block, whose routes run as one.", - "renderer": "graph", - "before": "fixtures/mcp-tools-before.json", - "after": "fixtures/mcp-tools-after.json" - }, { "id": "service-platform-priority", "title": "Service platform, payments first (custom order)", @@ -1763,6 +1755,14 @@ "renderer": "graph", "extraction": "fixtures/module-graph-hub-heavy.json" }, + { + "id": "mcp-tools", + "title": "MCP tools, toolsets and OAuth scopes", + "description": "A toolset arrives with 11 tools, every one requiring the repo scope, among about 140 unchanged tools: each toolset's tools that share their scopes wrap into a block, whose routes run as one.", + "renderer": "graph", + "before": "fixtures/mcp-tools-before.json", + "after": "fixtures/mcp-tools-after.json" + }, { "id": "module-architecture-now", "title": "An architecture of 42 components (one revision)", diff --git a/packages/renderers/kit/src/react/graph-canvas/framing.ts b/packages/renderers/kit/src/react/graph-canvas/framing.ts index 557ce808f..b4d5d1f48 100644 --- a/packages/renderers/kit/src/react/graph-canvas/framing.ts +++ b/packages/renderers/kit/src/react/graph-canvas/framing.ts @@ -59,15 +59,19 @@ export function useFraming(transition: GraphTransition, diff: boolean) { const across = useStageInset() === undefined ? strokeRoom : 0 const framing = useMemo(() => { if (diff) { - const {nodes, edges} = transition.diff + const {nodes, edges, blocks} = transition.diff return { - boxes: nodes.map(node => ({x: node.x, y: node.y, width: node.width, height: node.height})), + // Blocks' trays too, which reach past their cards. + boxes: [...nodes, ...blocks].map(node => ({x: node.x, y: node.y, width: node.width, height: node.height})), points: edges.flatMap(edge => edge.points), } } const layouts = transition.layouts.filter(layout => layout.points.size) if (!layouts.length) return undefined - const boxes = layouts.flatMap(layout => [...layout.points].map(([id, point]) => ({...point, ...layout.sizes.get(id)!}))) + const boxes = layouts.flatMap(layout => [ + ...[...layout.points].map(([id, point]) => ({...point, ...layout.sizes.get(id)!})), + ...layout.blocks.values(), + ]) const points = layouts.flatMap(layout => [...layout.routes.values()].flat()) return {boxes, points} }, [transition, diff]) diff --git a/packages/renderers/kit/test/performance.test.mjs b/packages/renderers/kit/test/performance.test.mjs index ad7ae18cc..cf7209bde 100644 --- a/packages/renderers/kit/test/performance.test.mjs +++ b/packages/renderers/kit/test/performance.test.mjs @@ -175,3 +175,13 @@ test('a hub most cards route into lays out within its budget once their fan-outs assert.equal(layout.routes.size, tools.relationships.length) assert.ok(compared <= 4_000_000, `${compared} segment pairs compared`) }) + +/** A few hundred cards: a monorepo's 320 modules and 592 imports, few of which share all their imports. */ +test('a graph of a few hundred cards lays out within its budget', async () => { + const large = JSON.parse(await readFile(new URL('graph/fixtures/module-graph-large-after.json', renderers), 'utf8')) + const before = {...crossingWork} + const layout = await layoutGraph(await sizedNodes(large.entities), large.relationships, {}) + const compared = crossingWork.compared - before.compared + assert.equal(layout.routes.size, large.relationships.length) + assert.ok(compared <= 14_000_000, `${compared} segment pairs compared`) +}) From 7bb32668475fd40b2574fcb99ba4a13aa7a28016 Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Tue, 1 Dec 2026 17:56:10 -0800 Subject: [PATCH 5/8] Document block trays' TSDoc Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- packages/renderers/kit/src/graph-transition.ts | 3 +++ packages/renderers/kit/src/layout/blocks.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/renderers/kit/src/graph-transition.ts b/packages/renderers/kit/src/graph-transition.ts index dbe6e3165..e4d31d576 100644 --- a/packages/renderers/kit/src/graph-transition.ts +++ b/packages/renderers/kit/src/graph-transition.ts @@ -60,8 +60,11 @@ export interface TransitionEdge extends EntityChange { export interface TransitionBlock extends Point { /** The block's ID, the same in every layout that has it. */ key: string + /** The tray's width, interpolated between the layouts the frame moves between. */ width: number + /** The tray's height, interpolated between the layouts the frame moves between. */ height: number + /** How present the tray is, 0 to 1: as present as its most present card. */ opacity: number /** Its cards' entity row IDs, in reading order. */ members: readonly string[] diff --git a/packages/renderers/kit/src/layout/blocks.ts b/packages/renderers/kit/src/layout/blocks.ts index 5e2d97831..bed673aaa 100644 --- a/packages/renderers/kit/src/layout/blocks.ts +++ b/packages/renderers/kit/src/layout/blocks.ts @@ -13,8 +13,11 @@ const blockAspect = 3 /** A laid-out block: its centre and size, like a card's, and its cards in reading order. */ export interface LayoutBlock extends Point { + /** The tray's width, its padding and any overhang into the columns' gaps included. */ width: number + /** The tray's height, its caption and padding included. */ height: number + /** Its cards' IDs, in reading order. */ members: readonly string[] } From 25c4422e8a51925f0157ec1dbfdb7d4e37009006 Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Wed, 2 Dec 2026 01:15:20 -0800 Subject: [PATCH 6/8] Changelog fragments for #272 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- changelog.d/272-kit.md | 5 +++++ changelog.d/272.md | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 changelog.d/272-kit.md create mode 100644 changelog.d/272.md diff --git a/changelog.d/272-kit.md b/changelog.d/272-kit.md new file mode 100644 index 000000000..c2eda8666 --- /dev/null +++ b/changelog.d/272-kit.md @@ -0,0 +1,5 @@ +--- +section: kit +--- + +- **Graph layouts report sibling blocks** (#272). `GraphLayout.blocks` lists each block's tray and its cards, and a frame's `blocks` lists the trays it draws. `GraphLayoutOptions.blocks` keeps the blocks from a reference layout, as transition steps do. Links into a tray carry `data-to-block`, and links out of a tray carry `data-from-block`. `edgeEnd` gives the box where a block's relationship ends. diff --git a/changelog.d/272.md b/changelog.d/272.md new file mode 100644 index 000000000..1537e0157 --- /dev/null +++ b/changelog.d/272.md @@ -0,0 +1,5 @@ +--- +section: renderers +--- + +- **The graph renderer wraps wide fan-outs into blocks and lays out large graphs faster** (#272). When six or more cards share every relationship, such as a toolset's tools that all require one scope, they now form a block: the cards wrap into lines inside a captioned tray (for example, `11 tools +11`) instead of forming one row wider than the screen. Their relationships run as one route into the tray and one route out. Each relationship can still be selected and marked on its own. Routing large graphs is also faster: the GitHub MCP Server's 150 tools lay out in under a second instead of over a minute, and a graph of 320 modules lays out in about half the time. Graphs without these blocks lay out exactly as before. From 1a0bdbdef456d22861190957633e566c193d761f Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Wed, 2 Dec 2026 11:05:17 -0800 Subject: [PATCH 7/8] Regenerate reference pages for sibling blocks Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/reference/renderer-kit.md | 55 ++++++++++++++++++++++++++++++++++ docs/reference/renderers.md | 2 +- 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/docs/reference/renderer-kit.md b/docs/reference/renderer-kit.md index 7b9ec2360..eaae6056e 100644 --- a/docs/reference/renderer-kit.md +++ b/docs/reference/renderer-kit.md @@ -189,6 +189,14 @@ Whether to draw it is the caller's policy, and drawing it should be reported. | `crossed` | `"crossed": Array` | The indices in `obstacles` of the cards `least` crosses. | | `least` | `"least": BoxEdge` | The candidate route that overlaps the obstacles least. | +### `blockMinimum` + +```ts +blockMinimum: 6 +``` + +The fewest siblings wrapped into a block: fewer stand in their layer's row, as wide as a few cards. + ### `BorderWidths` ```ts @@ -1305,6 +1313,15 @@ edgeArrowHeadLength: 8.5 The arrowhead's length from tip to base (see `arrowHeadLength`); paths from `boxEdge` end this far short of the card. +### `edgeEnd` + +```ts +edgeEnd(node: TransitionNode, block: TransitionBlock | undefined): TransitionNode +``` + +Where a relationship of a block's card ends (see `GraphLayout.blocks`): on the block's tray, which fades but never +scales as an arriving card does (`cardBox`); any other ends on its card. + ### `edgeKind` ```ts @@ -1734,6 +1751,7 @@ What a graph transition draws at one progress (see `GraphTransition`), in layout | Member | Signature | Description | |---|---|---| +| `blocks` | `"blocks": Array` | Sibling blocks visible at this progress, drawn under their cards. | | `edges` | `"edges": Array` | Relationships visible at this progress; a rewired one may appear twice, its old and new routes crossfading. | | `height` | `"height": number` | The drawing's height, interpolated between the layouts the frame moves between. | | `junctions` | `"junctions": Array` | Join/split points of shared-prerequisite stages, when the frame is settled on a layout that has them. | @@ -1751,6 +1769,7 @@ A laid-out graph from `layoutGraph`, in layout units (CSS px at a zoom of 1). Sh | Member | Signature | Description | |---|---|---| | `alignment` | `"alignment": "BALANCED" \| "LEFTDOWN" \| "LEFTUP" \| "RIGHTDOWN" \| "RIGHTUP"` | How this layout placed its cards (see `GraphLayoutOptions.alignment`). | +| `blocks` | `"blocks": Map` | Sibling blocks by block ID: many cards that share every relationship, wrapped into a grid of lines in one place in their layer (see `GraphLayoutOptions.blocks`). Their relationships' routes are the block's: one from each source into the block's in face, one from its out face to each target, shared by every card in it. | | `groups` | `"groups": Map>` | Compound module boundaries and their direct members. | | `height` | `"height": number` | The height of the drawing, everything in it, its padding included. | | `junctions` | `"junctions": Array` | Join/split points of shared-prerequisite stages (see `GraphLayoutOptions.junctions`). | @@ -1773,6 +1792,7 @@ How `layoutGraph` lays out a graph; every option has a default. | Member | Signature | Description | |---|---|---| | `alignment` | `"alignment"?: "BALANCED" \| "LEFTDOWN" \| "LEFTUP" \| "RIGHTDOWN" \| "RIGHTUP"` | How to place the cards (see `GraphLayout.alignment`); chosen when absent. A transition passes its union's, so every step places its cards alike, in one ELK run. | +| `blocks` | `"blocks"?: ReadonlyMap>` | The blocks of a reference layout (`GraphLayout.blocks`, by block ID, their cards in order). Without it, a layout wraps every `blockMinimum` or more cards that share all their relationships (the same sources and targets, kinds and bundles) into a block; with it, only cards one of these held, two or more still alike, so a transition's steps keep their union's blocks. | | `boundaries` | `"boundaries"?: ReadonlySet` | Compound boundaries that stay boundaries even when nothing is left in them (see `moduleGroups`): a transition passes its union's, so no boundary turns into a card between steps. | | `compound` | `"compound"?: Array \| false \| true` | Group unambiguous containment-only entities into compound boundaries: `true` for `module`s (architecture), or the entity kinds that may become boundaries (infrastructure: modules, resource groups, parent resources). | | `hints` | `"hints"?: ReadonlyMap` | Where cards were in a reference layout. ELK then keeps that order within each layer (semi-interactive crossing minimization) and still minimizes the crossings of long edges. Transitions pass their union layout, so cards keep their relative places from step to step. | @@ -2041,6 +2061,22 @@ layerGap: number Space between layers: room for a route's tail stub, two full turns (`routeRadius`) and its arrowhead's lead-in. +### `LayoutBlock` + +```ts +interface LayoutBlock extends Point +``` + +A laid-out block: its centre and size, like a card's, and its cards in reading order. + +| Member | Signature | Description | +|---|---|---| +| `height` | `"height": number` | The tray's height, its caption and padding included. | +| `members` | `"members": Array` | Its cards' IDs, in reading order. | +| `width` | `"width": number` | The tray's width, its padding and any overhang into the columns' gaps included. | +| `x` | `"x": number` | Distance rightward. | +| `y` | `"y": number` | Distance downward. | + ### `LayoutEdge` ```ts @@ -3639,6 +3675,25 @@ trackSpacing: 10 Space between the crossing runs of S routes that share a gap and would otherwise lie on one another. +### `TransitionBlock` + +```ts +interface TransitionBlock extends Point +``` + +A sibling block in a frame (see `GraphLayout.blocks`): the tray its cards sit in, its centre and size in layout units, +and how present it is: as present as its most present card, faded while a move goes to or from a layout without it. + +| Member | Signature | Description | +|---|---|---| +| `height` | `"height": number` | The tray's height, interpolated between the layouts the frame moves between. | +| `key` | `"key": string` | The block's ID, the same in every layout that has it. | +| `members` | `"members": Array` | Its cards' entity row IDs, in reading order. | +| `opacity` | `"opacity": number` | How present the tray is, 0 to 1: as present as its most present card. | +| `width` | `"width": number` | The tray's width, interpolated between the layouts the frame moves between. | +| `x` | `"x": number` | Distance rightward. | +| `y` | `"y": number` | Distance downward. | + ### `TransitionEdge` ```ts diff --git a/docs/reference/renderers.md b/docs/reference/renderers.md index f69bcd4dc..a18ebdba6 100644 --- a/docs/reference/renderers.md +++ b/docs/reference/renderers.md @@ -99,7 +99,7 @@ Built-in Projections graph renderer: staged, identity-stable graph transitions ( - Handles: `graph`, `graph-horizontal`, `dag`, `architecture`, `infrastructure`, `dependencies` - Comparison modes: `diff`, `side-by-side`, `animated`, `swipe` - Package: `@githubnext/projections-renderer-graph` -- Example scenarios ([`scenarios.json`](../../packages/renderers/graph/scenarios.json)): Service platform; Service platform, payments first (custom order); Test timings with volatile durations; Class summaries, generated by a model; Source references, left to right; Declared rename; Feature flags; Feature flags, one revision; Single extraction; CI pipeline restructure; Release workflow; Platform gains a worker; Storage module split; Single extraction; Card icons; OpenRewrite: JUnit 4 to JUnit 5; Terraform: the database is replaced; Bicep: a private endpoint subnet; Terraform: one revision's plan; React 19.2 and clsx; Express 5 and React 19; npm workspace (one revision); NuGet package update; NuGet library with long package names; A layered module graph; A layered module graph (one revision); A wide module graph; A wide module graph (one revision); A hub-heavy module graph (one revision); An architecture of 42 components (one revision); Who may reach what: 6 callers, 16 owners, 74 relationships (graph); Who may reach what: 6 callers, 16 owners, 74 relationships (architecture) +- Example scenarios ([`scenarios.json`](../../packages/renderers/graph/scenarios.json)): Service platform; Service platform, payments first (custom order); Test timings with volatile durations; Class summaries, generated by a model; Source references, left to right; Declared rename; Feature flags; Feature flags, one revision; Single extraction; CI pipeline restructure; Release workflow; Platform gains a worker; Storage module split; Single extraction; Card icons; OpenRewrite: JUnit 4 to JUnit 5; Terraform: the database is replaced; Bicep: a private endpoint subnet; Terraform: one revision's plan; React 19.2 and clsx; Express 5 and React 19; npm workspace (one revision); NuGet package update; NuGet library with long package names; A layered module graph; A layered module graph (one revision); A wide module graph; A wide module graph (one revision); A hub-heavy module graph (one revision); MCP tools, toolsets and OAuth scopes; An architecture of 42 components (one revision); Who may reach what: 6 callers, 16 owners, 74 relationships (graph); Who may reach what: 6 callers, 16 owners, 74 relationships (architecture) ## `runtime-policy` From eb7b87a03ad2d119d57089dc2b0fccf3225fc6e0 Mon Sep 17 00:00:00 2001 From: Alex Gorischek Date: Wed, 2 Dec 2026 11:34:34 -0800 Subject: [PATCH 8/8] arrangeBlocks takes a mutable map and says it resizes the blocks' boxes Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- packages/renderers/kit/src/layout/block-layout.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/renderers/kit/src/layout/block-layout.ts b/packages/renderers/kit/src/layout/block-layout.ts index e7ae9e838..1aed686d9 100644 --- a/packages/renderers/kit/src/layout/block-layout.ts +++ b/packages/renderers/kit/src/layout/block-layout.ts @@ -9,9 +9,10 @@ import type {Box} from './unlinked.js' /** * Each block's arrangement as it is drawn: on the grid's columns, a pitch apart, where ELK laid it out a pitch of its - * own apart (see `blockArrangement`). Its box in `boxes` takes the arrangement's size. + * own apart (see `blockArrangement`). Resizes each block's box in `boxes` (ELK's, by ELK ID) to its arrangement's size, + * so the cards and routes placed after it see the block as drawn. */ -export function arrangeBlocks(input: ElkInput, boxes: ReadonlyMap, grid: Grid | undefined): Map { +export function arrangeBlocks(input: ElkInput, boxes: Map, grid: Grid | undefined): Map { const arrangements = new Map() for (const [id, block] of input.blocks) { const arranged = grid && block.gridded ? blockArrangement(block.nodes, input.direction, grid.pitch) : block.arranged