# Path: godot/api.py



from enthought.traits.api \
    import HasTraits, HasPrivateTraits, Any, Dict, Bool, Tuple, Int, \
    List, Instance, Str, Enum, Callable, Any, Class
from enthought.traits.ui.editor_factory \
    import EditorFactory
from enthought.traits.ui.helper \
    import Orientation
from enthought.etsconfig.api \
    import ETSConfig
    from enthought.traits.ui.wx.editor import Editor
    from enthought.traits.ui.qt4.editor import Editor
    from enthought.traits.ui.editor import Editor
from godot.api \
    import Graph
    dot_attr = Dict(Str, Any)

#------------------------------------------------------------------------------
#  'SimpleGraphEditor' class:
#------------------------------------------------------------------------------

class SimpleGraphEditor ( Editor ):
    """ Simple style of graph editor.
    """

    #--------------------------------------------------------------------------
    #  Trait definitions:
    #--------------------------------------------------------------------------

    # Currently selected object.
    selected = Any

    #-- Private Traits --------------------------------------------------------

    _graph = Instance(Graph)

    #--------------------------------------------------------------------------
    #  Finishes initialising the editor by creating the underlying toolkit
    #  widget:
    #--------------------------------------------------------------------------

    def init ( self, parent ):
        """ Finishes initialising the editor by creating the underlying toolkit
            widget.
        """

# Path: godot/api.py



# Path: godot/ui/graph_editor.py
from enthought.traits.api \
    import HasTraits, HasPrivateTraits, Any, Dict, Bool, Tuple, Int, \
    List, Instance, Str, Enum, Callable, Any, Class
from enthought.traits.ui.editor_factory \
    import EditorFactory
from enthought.traits.ui.helper \
    import Orientation
from enthought.etsconfig.api \
    import ETSConfig
    from enthought.traits.ui.wx.editor import Editor
    from enthought.traits.ui.qt4.editor import Editor
    from enthought.traits.ui.editor import Editor
from godot.api \
    import Graph

    dot_attr = Dict(Str, Any)

#------------------------------------------------------------------------------
#  'SimpleGraphEditor' class:
#------------------------------------------------------------------------------

class SimpleGraphEditor ( Editor ):
    """ Simple style of graph editor.
    """

    #--------------------------------------------------------------------------
    #  Trait definitions:
    #--------------------------------------------------------------------------

    # Currently selected object.
    selected = Any

    #-- Private Traits --------------------------------------------------------

    _graph = Instance(Graph)

    #--------------------------------------------------------------------------
    #  Finishes initialising the editor by creating the underlying toolkit
    #  widget:
    #--------------------------------------------------------------------------

    def init ( self, parent ):
        """ Finishes initialising the editor by creating the underlying toolkit
            widget.
        """

        self._graph = graph = Graph()