Skip to content

Framework Routes

CodeGraph detects web-framework routing files and emits route nodes linked by references edges to their handler classes or functions. Querying the callers of a view or controller then surfaces the URL pattern that binds it.

FrameworkShapes recognized
Djangopath(), re_path(), url(), include() in urls.py (CBV .as_view(), dotted paths)
Flask@app.route('/path', methods=[…]), blueprint routes
FastAPI@app.get(…), @router.post(…), all standard methods
Expressapp.get(…), router.post(…) with middleware chains
NestJS@Controller + @Get/@Post/…, GraphQL resolvers, message/event patterns, WebSocket subscriptions
LaravelRoute::get(), Route::resource(), Controller@action, tuple syntax
Drupal*.routing.yml routes; hook_* implementations in .module/.theme/.install/.inc
Railsget '/x', to: 'users#index', hash-rocket syntax
Spring@GetMapping, @PostMapping, @RequestMapping on methods
Gin / chi / gorilla / muxr.GET(…), router.HandleFunc(…)
Axum / actix / Rocket.route("/x", get(handler))
ASP.NET[HttpGet("/x")] attributes on action methods
Vaporapp.get("x", use: handler)
React Router / SvelteKitRoute component nodes

Route resolution is automatic — there’s nothing to configure. If a framework file is recognized, its routes appear in the graph after the next index or sync.