tooltip issue on sequence diagram

0 votes
asked Jun 20, 2016 by hongtu (120 points)
edited Jun 20, 2016 by hongtu
@startuml

User.597d818b->Locus++: [[{{\n "id" : "lid.17d98ccc-372c-11e6-b4ed-e62258b45be7",\n "time" : "2016-06-20T21:15:19.962Z",\n "msgType" : "http.req",\n "msg" : {\n "ua" : "com.xyz.wx2.integration.l2sip.tests.SquaredToSquaredUC.SquaredToSquaredUCCloudUriMatrixIT.testFusedCallerHuronCalleeCloudUri",\n "uid" : "597d818b-e1d1-4251-8a10-a39af5891b26",\n "tid" : "L2Sip-ITCLIENT_l2sip-cfatestFusedCallerHuronCalleeCloudUri88d38418-680b-4a41-9585-d1202b89eeea_imi:false",\n "path" : "/loci/call",\n "method" : "POST"\n },\n "srcType" : "Test",\n "src" : {\n "ip" : "166.78.8.15",\n "port" : 42538\n },\n "dstType" : "Locus",\n "dst" : {\n "ip" : "10.254.2.114",\n "port" : 61346,\n "thread" : "nioconnector93"\n }\n}}]][POST] /loci/call [2016-06-20T21:15:19.962Z]

@enduml
 

It was working well for the plantuml 8036, but it is not working any more on the latest plantuml 8043. Thanks.
commented Jul 11, 2016 by anonymous
edited Jul 11, 2016
sorry, it works.
commented Mar 27 by anonymous
It looks like the tooltip is broken again with the latest version. The above tooltip sample is not working with the online http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000

Thanks.
commented Mar 28 by plantuml (134,570 points)
Tooltip and URL syntax has been slightly changed. See http://plantuml.com/link

1 Answer

0 votes
answered Jun 21, 2016 by plantuml (134,570 points)
Thanks for the report.

We have an issue with very long lines (due to regular expression), and we did not have fix it yet...
We are just truncating lines when there are too long (but in the future, we expect to have a better and complete solution).

So in the last beta, we've just slightly increased this limit so that your example is working now:
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

But with even longer lines, this issue will occur again. So do not hesitate to post if you have the case.

Hope this helps!
commented Jun 21, 2016 by anonymous
edited Jun 21, 2016
Thanks for quick reply.  How come it was working before. The tooltip could be very long in our call flow diagrams. What is the size limit of the tooltip lines? Based on my tests, it has the same issue with your attached plantuml.jar.
commented Jun 21, 2016 by plantuml (134,570 points)
We've just uploaded a new beta with a limit of 850.
commented Jun 22, 2016 by anonymous
the new beta works for me now. Thanks for your help.
...