Skip to content
Tim Richter edited this page Dec 14, 2024 · 2 revisions

Welcome to the spinne wiki!

graph TD
    A[Start Traversing File] --> B{Is it a File?}
    B -- Yes --> C[Find React Components]
    C --> D{React Component Found?}
    D -- Yes --> E[Find Children Components]
    E --> F[Check Import Source of Each Child]
    F --> G[Follow References and Reassignments]
    G --> H{Import Found?}
    H -- Yes --> I[Traverse to Imported File]
    I --> J[Look for Component as Export]
    J --> K{Is Component Directly Exported?}
    K -- Yes --> L[Add Component to Graph]
    K -- No --> M[Follow Exports to Root Component]
    M --> L
    B -- No --> N[End]
    D -- No --> N
    H -- No --> N
Loading
Clone this wiki locally