class_docstr: Graph reader to read vdl graph files, support for frontend api in lib.py.
      
class_docstr_tok: ["Graph","reader","to","read","vdl","graph","files",",","support","for","frontend","api","in","lib.py","."]
docstr: Instance of GraphReader
  
  Args:
      logdir: The dir include vdl graph files, multiple subfolders allowed.
docstr_tok: ["Instance","of","GraphReader","Args",":","logdir",":","The","dir","include","vdl","graph","files",",","multiple","subfolders","allowed","."]
code: def __init__(self, logdir=""):
      """Instance of GraphReader
  
      Args:
          logdir: The dir include vdl graph files, multiple subfolders allowed.
      """
      if isinstance(logdir, str):
          self.dir = [logdir]
      else:
          self.dir = logdir
  
      self.walks = {}
      self.displayname2runs = {}
      self.runs2displayname = {}
      self.graph_buffer = {}
      self.walks_buffer = {}
  
imports: import json
  import os
  from visualdl.component.graph import analyse_model
  from visualdl.component.graph import Model
  from visualdl.io import bfile
label_desc: Use image node_id 1 to create a new GraphReader object from inherited base classes: object with example: obj = GraphReader(logdir)