: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(self, new_attrs) .. py:method:: to_draw(self) .. py:method:: set_color(self, color) .. py:method:: text_justify(words, max_width) :staticmethod: .. py:method:: __hash__(self) Return hash(self). .. py:method:: __eq__(self, other) Return self==value. .. py:method:: __repr__(self) Return repr(self). .. py:class:: Node(id_, attrs) Bases: :py:obj:`Element` .. py:method:: set_color(self, color) .. py:class:: Edge(from_, to, attrs) Bases: :py:obj:`Element`