hyparview v0.1.2 Hyparview.DefaultHandler View Source

Hyparview Event callback module example

Link to this section Summary

Functions

Invoked when added the node to active view

Invoked when deleted the node to active view

Link to this section Functions

Link to this function add_node(node, view) View Source
add_node(Node.t(), Hyparview.View.t()) :: {:ok, term()}

Invoked when added the node to active view

Callback implementation for Hyparview.Event.add_node/2.

Link to this function del_node(node, view) View Source
del_node(Node.t(), Hyparview.View.t()) :: {:ok, term()}

Invoked when deleted the node to active view

Callback implementation for Hyparview.Event.del_node/2.