Source References
When Rekhic generates an architecture diagram from source code, manifests, or README files, it attaches source references to the resulting nodes.
Why Source References Matter
In traditional diagramming tools, a box labeled Order Service has no traceability to the underlying codebase. Over time, as code evolves and names change, diagrams become stale and disconnected from reality.
By attaching source references:
- Engineers reviewing a generated diagram can immediately see which file or manifest triggered the component's creation.
- A database node indicates whether it was discovered via
docker-compose.yml, a Prisma schema (schema.prisma), or dependencies inpackage.json. - A microservice node links back to its entry point (e.g.
src/server.tsorApplication.java).
Inspecting References on the Canvas
When you click on a generated architecture node:
- Open the node details in the context toolbar.
- The Source Reference property displays:
- File path (e.g.
docker-compose.yml:L12orpackage.json:dependencies). - Detection reason (e.g.
Manifest dependency: redis). - Inferred component role.
- File path (e.g.
Next: Learn how to generate Markdown specifications in Diagram to Documentation.