package router import ( "github.com/Tencent/WeKnora/internal/handler" "github.com/gin-gonic/gin" "net/http" ) func RegisterNativeGraphRoutes(r *gin.RouterGroup, h *handler.NativeGraphHandler, g *rbacGuards) { if h == nil { return } g.apiKeyRoute(r, http.MethodGet, "/knowledge-bases/:id/evidence-graph", apiKeyRetrieve(apiKeyFullAccess()), g.Viewer(), g.KBAccessRead("id"), h.Browse) }