Support » Plugin: PlantUML Renderer » Adding links to PlantUML diagram elements

  • Resolved lqbspidey

    (@lqbspidey)


    here is the UML that I added my own links to.

    [plantuml]
    actor Bob
    actor “This is [[http://www.google.com/ Alice]] actor” as Alice
    [/plantuml]

    Our company is looking to automate our documentation generation using UML in wordpress and the ability to embed links to drill down into each item is the key to this approach.

    Mike

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Hi @lqbspidey,

    Apologies but I’m not understanding. Are you saying that you are trying to use links and that they are not working?

    Thanks, Todd

    Hi Todd,

    When I use the above markdown (I think that’s the term), the page that is displayed by WordPress has the diagram figures and text but no useable links that I’m expecting to have been embedded using [[http://www.google.com/ Alice]].

    This is an incredible push for our companies approach to documentation, it is no understatement to say that it will transform not only our client facing documentation but also our support processes for our product.

    I’m very hopeful that this is user error on my part as opposed to a limitation elsewhere 🙂

    Mike

    axelwebers

    (@axelwebers)

    Hi Todd,

    yes, it would be nice, if the above code woud generate the diagram including a clickable link using an image map.
    Probably an image map can be derived from PlantUML to get this done.

    Thank you.

    Axel

    Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Could well be a case that I’m not escaping the square brackets (or more likely that these are being encoded by the TinyMCE related code). I’ll make a note to have a dig into this.
    Thanks for reporting.

    lqbspidey

    (@lqbspidey)

    Thanks Axel, Todd,

    I’m not sure if I should expect that a “fix” is on its way…

    I’m really hopeful.

    Mike

    lqbspidey

    (@lqbspidey)

    Hi Todd,

    I’m able to take stay-cation this Thanksgiving, but my real workalholic dream is to be able to start working on our documentation solution using your plugin for uml.

    I had the opportunity to outline my plan to another colleauge and his response was overwhelmingly positive.

    I’d like to make this a reality before I return in 8 days, but really do need to know that it will work.

    I hope that you are able to allow for the time.

    Mike

    Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Hi @lqbspidey,

    I’d like to say I could get this done, but I’m not sure yet how plantuml links work… maybe they are using SVGs or something (at the moment my plugin uses the png link).

    I have a couple of hours free tonight.. so might take a look.

    Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Ah yes, looks like when I get the png, there’s also an image map available too. Fingers crossed I can get this down and show it too.

    Plugin Author toddhalfpenny

    (@toddhalfpenny)

    @lqbspidey, @axelwebers,

    I have just pushed a v0.0.3 up that should support links now.
    Please let me know how you get on.

    Ta, Todd

    lqbspidey

    (@lqbspidey)

    duuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuude
    AWESOME!!!!
    This will probalby mean I’ll get promoted.

    tytytyty

    Mike

    axelwebers

    (@axelwebers)

    Hi Todd,

    thank you – great!

    One little thing that happens when I try it:
    a) [[http://www.somelink.com Linkname]]
    b) [[http://www.somelink.com]]

    Case a) is fine.
    Case b) has the link mapped some pixels off (+5,+5) or so.

    a) might be preferred anyway.

    Thank you.

    Axel

    Plugin Author toddhalfpenny

    (@toddhalfpenny)

    Great stuff @lqbspidey @axelwebers,

    I hope promotion comes your way 😉

    And don’t forget, if you like the plugin (and support) then a nice 5* rating would be greatly appreciated 🙂

    Good luck with your sites.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Adding links to PlantUML diagram elements’ is closed to new replies.