code: def visual_size(self):
      return self.physical_size[0] - 40, self.physical_size[1] - 40
  
file_path: vispy/examples/basics/visuals/graph.py
imports: import sys
  import networkx
  from vispy import app, visuals
  from vispy.visuals.graphs import layouts
  from vispy.visuals.transforms import STTransform
label_desc: Use image node_id 2 for calling the Canvas obj's underlying member method code with example usage: obj.visual_size() and returns: unknown,  unknown