Closed rafaelxero closed 7 years ago
When having a component named such as Controller(Robot), the dot file generated by rtstodot has incorrect syntax:
Controller(Robot)
rtstodot
Controller(Robot):outPort->otherComp:inPort;
While the expected syntax is:
"Controller(Robot)0":outPort -> otherComp:inPort; //or Controller_leftp_Robot_rightp_0:outPort -> otherComp:inPort;
I suggest to update the escape function to include parentheses or to always use quoted component names.
escape
When having a component named such as
Controller(Robot)
, the dot file generated byrtstodot
has incorrect syntax:While the expected syntax is:
I suggest to update the
escape
function to include parentheses or to always use quoted component names.