yieldplotlib.core.node
======================

.. py:module:: yieldplotlib.core.node

.. autoapi-nested-parse::

   The abstract base class for all nodes (files and directories).



Classes
-------

.. autoapisummary::

   yieldplotlib.core.node.Node


Module Contents
---------------

.. py:class:: Node(file_path)

   Bases: :py:obj:`abc.ABC`


   Abstract base class for all nodes (files and directories).


   .. py:attribute:: data
      :value: None



   .. py:attribute:: file_path


   .. py:attribute:: file_name


   .. py:attribute:: is_input
      :value: False



   .. py:method:: load()
      :abstractmethod:


      Load the file data or trigger recursive loading for directories.



   .. py:method:: get(key, **kwargs)
      :abstractmethod:


      Abstract method to search for data associated with a key.



   .. py:method:: has_key(key)

      Abstract method to determine if the node contains the given key.



   .. py:method:: __repr__()

      Default representation for a DataNode.



   .. py:method:: display_tree(level=0, max_children=5, prefix='')

      Default display method for a DataNode.



