You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TSX/JSX: components used as <Comp /> get no incoming edge #3854
I use graphify on a React Native (Expo) app and noticed that components rendered with JSX never get an incoming edge, so affected / query tell me most of my components aren't used anywhere.
Small repro:
// components/Bubble.tsxexportfunctionBubble({ text }: {text: string}){return<span>{text}</span>;}exportdefaultfunctionCard(){return<div/>;}// app/Screen.tsximportCard,{Bubble}from'../components/Bubble';exportfunctionScreen(){return(<Card><Bubbletext="hi"/></Card>);}exportfunctionhelper(){returnBubble({text: 'x'});}
On v8 (0.9.69) I get helper() -> Bubble() but nothing from Screen() to Bubble() or Card().
Looks like the JSX nodes (jsx_self_closing_element, jsx_opening_element) just aren't in call_types for the JS/TSX configs, and the tag sits in the name field rather than function. I have a fix locally and can open a PR if that approach sounds OK. Lowercase tags like <div> / <motion.div> would be skipped so they can't bind to some unrelated div() function.
Activity
safishamsi commentedon Sep 27, 2026
Fixed in v0.9.70 (now on PyPI) by #3855 — thanks @sinangumuskabak-sys.
Release: https://github.com/Graphify-Labs/graphify/releases/tag/v0.9.70