プロジェクト

全般

プロフィール

QA #1161

奈良 裕記 さんが3年以上前に更新

h3. ■現象/要望 

 "PluntUML":https://plantuml.com/ja/ をRedmineから利用するためのプラグイン"PlantUML Redmine plugin":https://github.com/dkd/plantuml で"Hyperlink機能":https://plantuml.com/ja/link が利用できない。 

 h3. ■解決策 

 以下のForkを利用する。 
 https://github.com/hitsoft-redmine/plantuml 
 * https://github.com/dkd/plantuml/pull/36 
 <pre> 
 Added possibility to render SVG diagrams embedded into the html page.  
 This is useful when you want to use some advanced features like links 
 </pre> 

 プラグイン管理画面にて、「Embed SVG images as inline <svg>」にチェックを入れる必要がある。 


 h3. ■補足 

 画像はSVGフォーマットにてレンダリングする必要有り。マクロの引数を以下に指定。 
 <pre> 
 {{plantuml(svg) 
 </pre> 

 h3. 適用例 

 redminehistory 
 http://demo1.unofficial-redmine.org/redmine/issues/61296 

 記入例 
 <pre> 
 Redmine -> RedmineTokyo [[https://redmine.tokyo]] : RedmineTokyo開始(2011/9) 
 </pre> 

 <pre> 
 note right 
 [[https://redmine.tokyo/projects/unofficialcooking unofficialcooking関連 ]] 
 end note 
 </pre> 


 h3. 参考 

 RedmineでPlantUMLを使う事例 
 https://forza.cocolog-nifty.com/blog/2016/01/redmineplantuml.html 

 railsでsvgをviewに表示する 
 https://joppot.info/2016/04/01/3079 

 !https://unofficial-redmine.org/matomo/matomo.php?idsite=1&rec=1161! !https://unofficial-redmine.org/matomo/matomo.php?idsite=1&rec=9999! 

戻る