docs(codelab): add BigQuery Studio graph visualization to the query step#276
Merged
haiyuan-eng-google merged 1 commit intoJun 2, 2026
Conversation
Adds a 'Visualize the graph in BigQuery Studio' subsection to *Query the
decision trace*, showing the materialized agent_decisions_graph rendered in
BigQuery Studio's Graph view from a GQL path query. The codelab previously
had no graph-viz image (the same screenshot the blog uses in its access step).
The example query is dataset-qualified (GRAPH ${DATASET}.agent_decisions_graph)
to match the codelab's other GQL, and the caption avoids hard-coding node/edge
counts so it does not drift from the screenshot.
Notebook regenerated (now embeds 3 base64 images); --check passes; claat
export builds clean with 3 images copied; focused tests pass (12).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a graph-visualization screenshot to the periodic-materialization codelab's Query the decision trace step. The codelab previously had no graph-viz image — only the Conversational Analytics card — even though the companion blog shows this same screenshot in its access step.
A new
#### Visualize the graph in BigQuery Studiosubsection explains how to openagent_decisions_graphin BigQuery Studio, run a GQL path query, and switch the results pane to the Graph tab, followed by the screenshot.Details
docs/codelabs/images/graph-visualization.png.GRAPH ${DATASET}.agent_decisions_graph …) to match the codelab's other GQL, rather than an unqualified copy/paste.Verification
generate_colab_from_codelab.py --checkpasses (notebook regenerated, no drift).curl, 0 leakedDuration:/asidemarkers.claat exportbuilds clean (exit 0); 3 images copied intoimg/.pytest tests/test_generate_colab_asides.py tests/test_generate_colab_images.py tests/test_codelab_embedded_artifacts.py→ 12 passed.git diff --checkclean.