forked from SWISDATA/processintel
graphs.visualization: node details are hidden for activities containing gate, silent or tau #19
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ffrauenberger/ProcessIntel#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: low (clicking such a node shows no details)
Where
app/graphs/visualization/bpmn_graph.py:339-375app/graphs/visualization/petri_net_graph.py:139-150Problem
Special nodes are recognized by substring checks on the node ID:
if "gate" in id or "silent" in id:matchesInvestigate,Navigate,Aggregate,Delegate,Silent approval, …node_id.startswith("tau")matchesTausch,Taufe,tauglich…(German logs).Steps to reproduce
Investigate(orTausch)Tausch)Expected behavior
The node details show the activity name, frequency and SPM data.
Actual behavior
BPMN: an empty title is shown (neither "exclusive" nor "parallel" matches). Petri net: "Silent Transition" is shown instead of the activity data.
Related: #7, #51.
Fix
Mark special nodes explicitly (e.g. a
kindfield in the node data, or a set of special IDs) instead of inferring the type from the name. See #51.from
issues/BUG-019-node-info-hidden-for-activities-containing-gate-silent-or-tau.md(code analysis of commit6bcc646, 2026-10-03)Reviewed by Codex (GPT-6) against origin/main
6bcc646eb464.Review: partially correct.
The substring/prefix classification bugs are supported. Correct the BPMN example
Silent approval: the condition is case-sensitive ('silent' in id), so capitalizedSilent approvaldoes not match it. Lowercasesilent approvaldoes, and is classified asSilent Activityrather than producing an empty title.Investigate,Navigate,AggregateandDelegatedo produce empty special-node descriptions. Petri-net IDs are lowercased first, soTausch/Tauferemain valid examples there. These distinctions were checked directly against the node-description methods.Code references: app/graphs/visualization/bpmn_graph.py:339, app/graphs/visualization/petri_net_graph.py:141.