mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 03:41:41 +00:00
Fix a bug with edge line styling.
This commit is contained in:
parent
1cea2ba36e
commit
05dd52dc3d
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ module DotHelper
|
|||
def agent_edge(agent, receiver)
|
||||
edge(agent_id[agent],
|
||||
agent_id[receiver],
|
||||
style: ('dashed' unless agent.can_control_other_agents? || !receiver.propagate_immediately?),
|
||||
style: ('dashed' unless receiver.propagate_immediately?),
|
||||
label: (" #{agent.control_action}s " if agent.can_control_other_agents?),
|
||||
arrowhead: ('empty' if agent.can_control_other_agents?),
|
||||
color: (@disabled if agent.disabled? || receiver.disabled?))
|
||||
|
|
Loading…
Add table
Reference in a new issue