This pull request addresses two specific issues to improve the graph visualization feature for timeline dfgs:
Cleanup of Unused and Erroneous Import
Removed the unused import statement from pm4py.statistics.sojourn_time.log import get as soj_time_get, which referred to a non-existent module and could cause errors.
Enhanced Error Handling for Data Alignment
Updated error handling in the graph node creation process to better manage data misalignment. Now, encountering data without a second element issues informative warnings instead of halting the process. This approach ensures the visualization remains functional and user-friendly despite data inconsistencies.
Impact: These changes enhance the usability and reliability of the graph visualization tool, making it more resilient to data format variations and reducing potential sources of confusion or error.
This pull request addresses two specific issues to improve the graph visualization feature for timeline dfgs:
Cleanup of Unused and Erroneous Import Removed the unused import statement from pm4py.statistics.sojourn_time.log import get as soj_time_get, which referred to a non-existent module and could cause errors.
Enhanced Error Handling for Data Alignment Updated error handling in the graph node creation process to better manage data misalignment. Now, encountering data without a second element issues informative warnings instead of halting the process. This approach ensures the visualization remains functional and user-friendly despite data inconsistencies.
Impact: These changes enhance the usability and reliability of the graph visualization tool, making it more resilient to data format variations and reducing potential sources of confusion or error.