← Graph

How do you determine call-graph arrow direction?

question 2 connections

Audience member Nick asks how to decide which way an arrow points in the call graphs, especially between views and models — how do you tell whether a view is asking a model or vice-versa. Wójtowicz explains that views and models were drawn on separate horizontal lines as independent layers (no arrow between them). In the decorator slide, the 'up' arrows came from views iterating over models or decorators depending on their views — dependency (not mutation) alone is enough to produce the wrong-way arrow. Nick summarizes it as 'the view knows too much about the model.'

answer_summary
An arrow points from the caller to the callee. Views iterating over models create upward dependencies even without mutation — the view simply 'knows too much' about the model.
question How do you determine call-graph arrow direction?
about
Asks how to interpret the direction of arrows in the talk's call graphs.
question How do you determine call-graph arrow direction?
asked_at
First Q&A question of the talk.

Provenance

Read by
2 extractions