krrood.rustworkx_utils.rxnode#
Classes#
Module Contents#
- class krrood.rustworkx_utils.rxnode.RWXNode#
- name: str#
- graph: rustworkx.PyDAG#
- weight: str = ''#
- data: Any | None = None#
- wrap_subtree: bool = False#
- wrap_facecolor: str | None = None#
- wrap_edgecolor: str | None = None#
- wrap_alpha: float = 0.08#
- enclosed: bool = False#
- enclosed_name: ClassVar[str] = 'enclosed'#
- remove()#
- visualize(figsize=(35, 30), node_size=7000, font_size=25, spacing_x: float = 4, spacing_y: float = 4, curve_scale: float = 0.5, layout: str = 'tidy', edge_style: str = 'orthogonal', label_max_chars_per_line: int | None = 13, filename: str = 'pdf_graph.pdf', title: str = 'Directed Query Graph (Top to Bottom)')#
Render a rooted, top-to-bottom directed graph. Delegates to a dedicated visualizer class to keep this method small and reusable.