kumo-graph-visualization
Provide graph visuals in Kumo notebooks and SDK scripts, display or export relationships on request, and inspect Markdown schemas during model iteration.
- 01Installs
- New
- 02Files scanned
- 4
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 7a207942110fd081… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Graph visualization
Use Graph.visualize() to give users a view of the tables and relationships their model uses.
Reuse the graph for the current task; graph changes follow kumoai-reference/references/graph_construction.md.
A request to view or export an existing graph needs no model-training intake.
Generated notebooks
After graph construction and graph.validate(), include a separate cell before snapshot creation or training:
from IPython.display import display
if not hasattr(graph, 'visualize'):
print('Graph preview needs a kumo-engine build including #134; upgrade when available. Continuing.')
else:
try:
display(graph.visualize())
except Exception as error:
print(f'Graph preview unavailable: {type(error).__name__}: {error}')
Introduce the cell as an interactive view where the user can explore tables, columns, and relationships. It requires no snapshot and reads no source rows by default. Continue the workflow normally; pause for visual review only if the user asks.
Generated SDK scripts
Save the diagram next to the artifact, named after it (churn_30d_train.graph.svg for
churn_30d_train.py), before training, and report its path. visualize overwrites an existing
file, and here that is intended: the name derives from the script's own name, so the only file it
can replace is the diagram an earlier run of the same script wrote, and a rerun should redraw it
for the graph it trains on:
from pathlib import Path
graph_path = Path(__file__).with_suffix('.graph.svg').resolve() # this script's own diagram
if not hasattr(graph, 'visualize'):
print('Graph preview needs a kumo-engine build including #134; upgrade when available. Continuing.')
else:
try:
_ = graph.visualize(graph_path)
print(f'Graph diagram: {graph_path}')
except Exception as error:
print(f'Graph preview unavailable: {type(error).__name__}: {error}')
A missing visualization API, unsupported graph, or export failure should report the error and let modeling continue with the original graph. The viewer supports up to 30 tables and does not support self-relations.
Requested visuals and exports
Display the graph in a notebook or save the format the user requests: .svg for a diagram, .pdf for a diagram and complete schema index, or .md for a Mermaid diagram and schema tables.
graph.visualize(EXPORT_PATH, show_cols=True) also shows ordinary columns in the diagram.
EXPORT_PATH is the path the user named. When they named none, choose one that does not exist yet and report it; when the named file exists, say so and confirm before replacing it.
Use layout='standard' or layout='compact' to select an arrangement; the default is 'auto'.
Export paths belong to the Python runtime; use kumo-data-science/hosts/<host>/runtime.md for display and file retrieval.
Keep samples off unless the user requests source values.
show_samples=True queries source data and includes sample values in saved notebook output; file exports omit them.
Model iteration with Markdown
When considering which tables or relationships to change for a use case, export the graph for text inspection:
import tempfile
from pathlib import Path
schema_path = Path(tempfile.mkdtemp(prefix='kumo-graph-')) / 'graph.md' # a new directory: replaces nothing
_ = graph.visualize(schema_path)
print(f'Graph schema: {schema_path}')
Read the file at the printed path to inspect all declared columns, key and time roles, and relationships, including columns hidden in the diagram. The assignment suppresses automatic notebook display. Use this schema alongside model evaluation results to plan graph experiments; it does not measure predictive usefulness. Markdown inspection is optional during iteration, not a prerequisite for generating or running a model.
Source: shipped package (kumo.engine.graph.Graph.visualize, kumo.engine._visualization.SVG)
Files
4- BENCHMARK.md
faeab409ed10.0 KB - SKILL.md
9563c2d5d44.1 KB - evals/evals.json
774a278a663.9 KB - skill-card.md
6a3417a0616.6 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from NVIDIA/skills8
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Customize NVIDIA Nemotron Voice Agent's Generic Pipecat example for healthcare appointment, five-field patient intake, or custom tool-calling workflows without a separate backend.
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.
Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to `amc-run-rtsp-calibration`.
Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.
Related knowledge skillsscan passed
Clean fixture tool skill with no forced reads and no mode table.
Diagnoses, mitigates, and prevents Google Compute Engine resource availability and capacity stockout errors (ZONE_RESOURCE_POOL_EXHAUSTED, ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS, and machine type or accelerator unavailable in zone). Use ONLY when VM creation, Managed Instance Group (MIG) scale-ou
Use when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and handling third-party plugin classes.
YAGNI-ladder coding discipline for writing changes — existence-first, reuse before writing, dependency ladder, shortest correct diff, with non-negotiables that must never be minimized away