Skip to content

Visualize operation info in plot_gantt_chart #13

Open
@Pabloo22

Description

@Pabloo22

Answering to:

          Can I see operation IDs or operation information on the gantt chart I created?

Originally posted by @dogukansert in #3 (comment)

A way to implement this is by adding a new optional argument of plot_gantt_chart that takes a callable similar to the operation_node_labeler parameter in the latest version of plot_disjunctive_graph. This callable would return a label for each ScheduledOperation object, which would then be displayed in the corresponding box. I prefer this option over passing a template string because it is a more flexible approach.

Additionally, another optional parameter could be added to include extra text in the legend, which can help explain the symbols used in the labels. This functionality is already available in plot_disjunctive_graph with the legend_text parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions