spinetoolbox.spine_db_editor.widgets.graph_layout_generator

Contains the GraphLayoutGeneratorRunnable class.

Module Contents

Classes

GraphLayoutGeneratorRunnable

Computes the layout for the Entity Graph View.

class spinetoolbox.spine_db_editor.widgets.graph_layout_generator.GraphLayoutGeneratorRunnable(identifier, vertex_count, src_inds=(), dst_inds=(), spread=0, heavy_positions=None, max_iters=12, weight_exp=-2)[source]

Bases: PySide6.QtCore.QRunnable

Computes the layout for the Entity Graph View.

class Signals[source]

Bases: PySide6.QtCore.QObject

finished[source]
layout_available[source]
progressed[source]
stop(_checked=False)[source]
set_show_previews(checked)[source]
_is_stopped()[source]
_layout_progressed(iteration)[source]
_layout_available(x, y)[source]
_preview_available(x, y)[source]
run()[source]