(self)
| 102 | |
| 103 | @property |
| 104 | def _distance(self): |
| 105 | # Graph.distance controls the (x,y) spacing between nodes. |
| 106 | return self.graph and float(self.graph.distance) or 1.0 |
| 107 | |
| 108 | def _get_x(self): |
| 109 | return self._x * self._distance |
no outgoing calls