:py:mod:`ontoviz.graph_element` =============================== .. py:module:: ontoviz.graph_element Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: ontoviz.graph_element.Element ontoviz.graph_element.Node ontoviz.graph_element.Edge .. py:class:: Element(id_, attrs=None) .. py:method:: update(new_attrs) .. py:method:: to_draw() .. py:method:: set_color(color) .. py:method:: text_justify(words, max_width) :staticmethod: .. py:method:: __hash__() Return hash(self). .. py:method:: __eq__(other) Return self==value. .. py:method:: __repr__() Return repr(self). .. py:class:: Node(id_, attrs) Bases: :py:obj:`Element` .. py:method:: set_color(color) .. py:class:: Edge(from_, to, attrs) Bases: :py:obj:`Element`