Bugs of generating image map with pipe

0 votes
asked Nov 24, 2017 in bug by jebbs

Hi! I'm trying to solve: https://github.com/qjebbs/vscode-plantuml/issues/77. But I found:

  • -pipemap doesn't suport multiple page diagram and not work with -pipeimageindex, always output same image map for non-page-splitted-image
  • -pipemap still outputs "null" when the diagram got no image map data, that I cannot determine to create the cmapx file or not.
Can you help to fix? Thank you!

1 Answer

0 votes
answered Nov 25, 2017 by plantuml (138,580 points)
Sure : could you post here a simple and basic example of such cmap and multipaged diagram that does not work ?

It would help to solve the issue. Thanks!
commented Dec 1, 2017 by jebbs
I think you've fixed the first one.  

Here is the sample:

@startuml
Bob -> Alice : [[http://a.com]] hello
newpage
Bob <- Alice : [[http://b.com]] hello
@enduml

and all relevant issues I collect:

1. -pipemap still outputs "null" when the diagram got no image map data, that I cannot determine to create the cmapx file or not.
2. docker plantuml server cannot generate cmap. plaese see https://github.com/plantuml/plantuml-server/issues/58
3. how to make plantuml server (including docker version) support "page index" parameter, like "http://www.plantuml.com/plantuml/png/SoWkIImgAStDuULooazIqBLJSCp9J4vLi5A8ZiueAIcmqjTFr4lEpusDLSX8pSd9v-NAIoqlI4nFXQYtqSLKduIgtY4rBmLeFW00?idx=1", which support specifying page number both for image & cmap generating.

Thanks!!
...