prepare_plot_data#
- iqm.applications.graph_utils.prepare_plot_data(data, seed=None)[source]#
Generates all layout and color data required for visualization.
- Parameters:
data (ProblemData) – Normalized problem data (output of
_extract_problem_info()).seed (int | None) – Optional seed to make the layout deterministic.
- Returns:
A
PlotDataobject containing positions, colors, widths, and labels needed for rendering the graph.- Return type: