Skip to content

Commit

Permalink
Minor cleanup of connectorSizing
Browse files Browse the repository at this point in the history
Stumbeling upon this when trying to understand MCP-0033 review comments.
  • Loading branch information
henrikt-ma committed Jun 24, 2020
1 parent 61d42d7 commit a92c204
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1330,8 +1330,7 @@ \section{Annotations for the Graphical User Interface}\doublelabel{annotations-f

model Step
// nIn cannot be set in the parameter dialog (but maybe shown)
parameter Integer nIn=0
annotation(Dialog(connectorSizing=true));
parameter Integer nIn=0 annotation(Dialog(connectorSizing=true));
StepIn inPorts[nIn];
...
end Step;
Expand Down Expand Up @@ -1376,7 +1375,7 @@ \section{Annotations for the Graphical User Interface}\doublelabel{annotations-f
\end{lstlisting}
\item
If a new connection line is drawn to an inside connector with
connectorSizing and case 1 does not apply then, the parameter is
\lstinline!connectorSizing! and case 1 does not apply then, the parameter is
incremented by one and the connection is performed for the new highest
index. \emph{Example:} Assume that 3 connections are present and a new
connection is performed. The result is:
Expand Down

0 comments on commit a92c204

Please sign in to comment.