
I added a sketch of what I want
I want to add <<input>> to this code
I added :HW type\n detected; <> but I don't know how to attach it with 'HW type detected' element
@startuml Type Initialization
start
:Read default type\n ;
:HW type detected;
if (Compare types) is (matches) then
:Continue;
stop
else (doesn't match)
:Store detected\n type ;
end
:HW type\n detected; <<input>>
@enduml

Do you mean like this?
Using the new syntax of
:HW type detected; <<input>>gives the same effect.I am testing with the online tool at http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000