Skip to content

sbellus/fitnesse-plantuml-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

The project integrates Plantuml into Fitnesse wiki.

Installation

  1. Install Graphviz on machine where your Fitnesse is running.
  2. Copy jar file from this project Releases to plugins directory of your Fitnesse.
  3. Restart Fitnesse

Configuration

The configuration is optional. Plugin will work also without any configuration. Plugin loads its configuration from file fitnesse-plantuml-plugin.properties located in same directory as jar file. Usually in plugins directory of your Fitnesse.

Default style

It is optional. When it is set in configuration file, all generated plantuml pictures will use this style.

defaultStyle =                               \
    skinparam monochrome true \n             \
    skinparam backgroundColor transparent \n \
    skinparam shadowing false \n             \
    hide footbox 

Usage

After installation and Fitnesse restart you should be able to use command on wiki

!startuml
fitnesse -> plantuml : generate
!enduml

The command !startuml has following syntax !startuml ["title"] [align] [width] [height]

  • Title has to be surronded by ""
  • align can be one of
    • c - center
    • r - right
    • l - left
  • width is width in pixels
  • height is height in pixels

Thanks

I would like to thank Tibor Trnovsky for idea how to align picture in HTML with <div> tags (GraphicsSvg.java).

See also

graphviz-plugin, codeprettifier-plugin

About

The project integrates Plantuml into Fitnesse wiki.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages