Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Hyperlink interferes with visibility

0 votes

This code illustrates a minor bug(?)

    class Operation << (H,#E6FFE6)  >> {
     -is_abstract   [[ blaha(xyz,12) { tooltip } ]]

The visibility symbol in front of "is_abstract" is a red filled square, whereas I expected the square not to be filled (edges only).  It's the "()" inside the "[[]]", which makes the square filled.


Above, I tried to make a short example. In my code I use [[]] to include hyperlinks, which in the MATLAB IDE opens the source code file at the appropriate line. (A bit like in https://www.youtube.com/watch?v=QjwXITp6fwg)

asked Nov 16, 2016 in bug by poi (920 points)
edited Nov 16, 2016 by poi

1 Answer

+1 vote

Thanks for your feedback.

As you have stated, parenthesis in the link incorrectly turn the field to be a method.
We are going to fix this in next beta/release.

In the meantime, you can use {field} notation to force a correct drawing.

class Operation << (H,#E6FFE6)  >> {
    {field} -is_abstract   [[ blaha(xyz,12) { tooltip } ]]


answered Nov 16, 2016 by plantuml (125,210 points)
"{field}" did it. Thanks so much!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter