First graph-based analysis: resistor loop detection