graph
Analyze Python import dependencies from an entry point by building a graph of modules classified as stdlib, third-party, local, builtin, or unresolvable. Returns nodes, edges, and statistics.
Instructions
エントリーポイントからの import グラフを構築して可視化します。
全モジュールの依存関係をノードとエッジで返します。 各ノードは stdlib / third_party / local / builtin / unresolvable に分類されます。
Args: entry_point: プロジェクトのエントリーポイントファイルパス python_path: site-packages パス(空の場合は現在の環境を自動検出) max_depth: 最大探索深度(デフォルト: 5)
Returns: ノード・エッジ・統計情報を含むグラフデータ
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_point | Yes | ||
| python_path | No | ||
| max_depth | No |