1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-19 09:19:59 +00:00
Commit Graph

610 Commits

Author SHA1 Message Date
Arnaud Roques
0646c23a18 Import version 1.2021.14 2021-11-12 18:21:14 +01:00
Arnaud Roques
9ee6179c3a Improve hyperlink color management 2021-11-10 22:15:26 +01:00
Arnaud Roques
1fbe080683 wip 2021-11-10 19:18:02 +01:00
Aljoscha Rittner
65492a5259 Introduction of an internal function %loadJSON to load JSON data from file or URL. 2021-11-10 10:01:27 +01:00
Arnaud Roques
a66cf71deb Merge branch 'wip' 2021-11-09 18:47:51 +01:00
Arnaud Roques
5599f8fc82 wip 2021-11-09 18:47:19 +01:00
arnaudroques
fc54479685
Merge pull request #224 from albert-github/feature/bug_docu
Documentation corrections
2021-11-09 11:53:06 +01:00
Arnaud Roques
471c71d5ae Merge branch 'wip' 2021-11-08 18:25:12 +01:00
Arnaud Roques
69d735e7ae wip 2021-11-08 18:23:42 +01:00
matthew16550
03272b104a Delete replaceTransparentByWhite parameter from ISkinParam.getBackgroundColor() 2021-11-09 00:56:52 +11:00
matthew16550
60fac9cd96 More changing sequence diagram so group backgrounds are transparent when the diagram background is transparent 2021-11-09 00:46:19 +11:00
Arnaud Roques
562cad88bc Merge branch 'wip' 2021-11-07 19:22:20 +01:00
Arnaud Roques
482cc6f25a wip 2021-11-07 19:21:14 +01:00
arnaudroques
d3c0a59782
Merge pull request #743 from matthew16550/middle-circle
Change svek line middle circle default color, from white to diagram background color
2021-11-07 12:10:33 +01:00
The-Lum
7568e37f73
Fix error message
Fix:
- https://forum.plantuml.net/14905/typo-in-error-message
And comment on:
- https://forum.plantuml.net/12557/problems-with-built-in-functions-%25upper-and-%25lower-eclipse
2021-11-06 19:31:11 +01:00
matthew16550
077ef52650 Change sequence diagram so group backgrounds are transparent when the diagram background is transparent 2021-11-05 17:11:20 +11:00
matthew16550
ba9b69aeb1 Change svek line middle circle default color, from white to diagram background color 2021-11-05 16:03:15 +11:00
Arnaud Roques
041b2b45b9 Temporary fix NPE 2021-11-01 15:47:30 +01:00
Arnaud Roques
d1e5f82084 Import version 1.2021.13 2021-11-01 13:02:46 +01:00
Arnaud Roques
c94e204240 Wip on gtile 2021-11-01 12:38:32 +01:00
matthew16550
a2a12adb58 Update smetana arrows to support beta style line colors & change decorators to fill with diagram background color instead of white 2021-11-01 18:00:05 +11:00
arnaudroques
8f7e2f787d
Merge pull request #735 from matthew16550/fix-folder-width
Fix folder width growing with length of alias (#476)
2021-10-31 10:18:35 +01:00
matthew16550
bad57a329f Change StringUtils.isEmpty() & isNotEmpty() to avoid creating new strings 2021-10-31 16:27:39 +11:00
matthew16550
0a6c4454cf Fix folder width growing with length of alias (#476) 2021-10-31 14:25:28 +11:00
Arnaud Roques
2a4a75e5de Merge branch 'wip' 2021-10-29 18:49:24 +02:00
Arnaud Roques
5908de8966 WIP on gtile 2021-10-29 18:48:50 +02:00
arnaudroques
eb7c4c7a6d
Merge pull request #734 from matthew16550/more-StringBounder-injection
Inject StringBounder into UGraphicBraille, UGraphicEps, UGraphicHtml5, UGraphicVdx
2021-10-29 09:53:44 +02:00
arnaudroques
f71ce124ee
Merge pull request #732 from matthew16550/braille-descent
Fix Braille text descent calculation
2021-10-29 09:52:01 +02:00
matthew16550
d6737bb6aa Inject StringBounder into UGraphicBraille, UGraphicEps, UGraphicHtml5, UGraphicVdx. Also minor nearby tidying. 2021-10-29 16:42:46 +11:00
matthew16550
107d1e2980 Fix Braille text descent calculation 2021-10-29 15:12:57 +11:00
Arnaud Roques
7a30afc9be WIP 2021-10-28 19:40:22 +02:00
Arnaud Roques
03c34c18c3 WIP 2021-10-27 18:43:04 +02:00
matthew16550
699e437bef Rename net.sourceforge.plantuml.security.ImageIO to SImageIO 2021-10-28 00:36:42 +11:00
matthew16550
1f68cc262a Fix broken A000*_Test tests on macOS 2021-10-24 15:10:28 +11:00
Arnaud Roques
1f922c2650 Minor fixes 2021-10-20 18:33:09 +02:00
Arnaud Roques
ae4d0b65a2 Fix toString() method for non-US JVM 2021-10-19 20:21:37 +02:00
Arnaud Roques
742542290a Merge branch 'wip' 2021-10-17 11:04:20 +02:00
Arnaud Roques
aa7d520a45 wip 2021-10-17 11:02:33 +02:00
matthew16550
f8871accbe Simplify UDriver code:
- Add SHAPE type param to UDriver.draw()
- Add AbstractUGraphic.ignoreShape()
- Rename some driver classes for consistency
2021-10-15 21:53:50 +11:00
matthew16550
14006f7fcf Add assertImagesEqual(), assertImageSizeEqual(), ColorHSB. 2021-10-14 18:04:52 +11:00
arnaudroques
b5bf071737
Merge pull request #696 from matthew16550/xml-factories
Reuse long-lived XML DocumentBuilderFactory & TransformerFactory instances
2021-10-07 18:59:50 +02:00
Arnaud Roques
637adfa6cb Stereotype refactoring 2021-10-07 18:51:26 +02:00
matthew16550
cd6f988eac Reuse long-lived XML DocumentBuilderFactory & TransformerFactory instances. 2021-10-07 02:59:13 +11:00
Arnaud Roques
c874842158 Import version 1.2021.12 2021-10-05 18:52:46 +02:00
Arnaud Roques
5fb770cb57 Fix arrow constraint position 2021-10-04 23:01:59 +02:00
matthew16550
abc3ca620f Remove some redundant calls to StringBounder.calculateDimension() 2021-10-04 23:56:35 +11:00
matthew16550
a02ff86cbd Delete UScale and related code as it is now unused. 2021-10-04 22:00:11 +11:00
arnaudroques
4ac9b7cd90
Merge pull request #689 from matthew16550/StringBounder-simplifications
StringBounder injection & some minor related tidyings
2021-10-04 09:25:43 +02:00
Arnaud Roques
11de152d92 Import version 1.2021.11 2021-10-03 23:01:18 +02:00
matthew16550
ead2698f01 Remove redundant getDefaultStringBounder() methods 2021-10-03 06:12:31 +11:00
matthew16550
c38b269089 Simplify StringBounder code in ImageBuilder 2021-10-03 06:11:03 +11:00
matthew16550
102d67271c Pass a StringBounder into DriverTextG2d & DriverTextAsPathG2d 2021-10-03 05:39:53 +11:00
matthew16550
102a7ccf64 Pass a StringBounder into UGraphicG2d & EmptyImageBuilder 2021-10-03 05:12:56 +11:00
matthew16550
d3a4fc6fe0 Pass a StringBounder into UGraphicSvg 2021-10-03 04:54:37 +11:00
matthew16550
2b2a47b9f0 Add FileFormat.getDefaultStringBounder(SvgCharSizeHack) 2021-10-03 04:50:13 +11:00
matthew16550
f1bff6dde6 Simplify UGraphicTikz constructors 2021-10-03 04:36:02 +11:00
matthew16550
eecb097640 Remove redundant UGraphicTikz constructor param 2021-10-03 04:34:41 +11:00
matthew16550
ff53f679ef Pass a StringBounder into UGraphicTikz 2021-10-03 04:31:42 +11:00
matthew16550
4c3b0bd989 Remove unused tikzFontDistortion field 2021-10-03 04:04:23 +11:00
matthew16550
3c5769cc5f Remove unused stringBounder field 2021-10-03 04:02:00 +11:00
arnaudroques
2a3ecbb72e
Merge pull request #680 from matthew16550/PSystemUtils
Enable cmapx file creation for Board, Mindmap, Network, Timing & WBS diagrams
2021-09-22 09:33:31 +02:00
matthew16550
4937c8f1be Enable cmapx file creation for Board, Mindmap, Network, Timing & WBS diagrams. 2021-09-22 15:19:39 +10:00
Arnaud Roques
8f8d2863b1 Fix nwdiagram issue 2021-09-21 19:44:04 +02:00
arnaudroques
08cba946b3
Merge pull request #679 from matthew16550/png-split
Update PNG splitting to support more diagram types
2021-09-21 14:43:38 +02:00
matthew16550
25413d5b2b Update PNG splitting to support these diagram types:
Activity, Archimate, Board, Class, Component, Deployment, Gantt, Mindmap, Network, Salt, State, Timing, WBS, Wire
2021-09-21 21:45:07 +10:00
Arnaud Roques
3d7aa78624 Merge branch 'master' of https://github.com/plantuml/plantuml 2021-09-20 18:38:45 +02:00
Arnaud Roques
d0fe54026d Fix broken switch/case arrows when using kill/detach 2021-09-20 18:38:08 +02:00
matthew16550
16f9d973fa Add AbstractCommonUGraphic.stringBounder field 2021-09-20 22:56:11 +10:00
matthew16550
9791fc3f66 Rename UGraphic2.writeImageTOBEMOVED() -> UGraphic.writeToStream() & remove UGraphic2 interface. 2021-09-20 16:56:14 +10:00
arnaudroques
a6f3d162a6
Merge pull request #675 from matthew16550/UGraphicNo
Extract common functionality to UGraphicNo class
2021-09-19 19:26:30 +02:00
arnaudroques
3c2fbb9c53
Merge pull request #674 from matthew16550/createTextLayout
Extract TextBlockUtils.createTextLayout() methods
2021-09-19 19:05:48 +02:00
Arnaud Roques
6fdb340b37 Improve style support 2021-09-19 19:05:24 +02:00
matthew16550
8ec5a84040 * Extract common functionality to UGraphicNo class
* Simplify subclass constructors
* Remove dpiFactor() methods which became redundant a while ago
2021-09-19 22:33:09 +10:00
matthew16550
c6f40e32b1 Extract TextBlockUtils.createTextLayout() methods 2021-09-19 20:22:54 +10:00
Arnaud Roques
b3bf75e0b7 Improve style support for nwdiag 2021-09-15 23:03:09 +02:00
Arnaud Roques
e1fe53457a Add shadowing for nwdiag and support for D+xx notation in gantt 2021-09-14 19:26:18 +02:00
Arnaud Roques
da75a18cde Add new command 'printscale weekly with calendar date' 2021-09-13 18:22:02 +02:00
Arnaud Roques
673da114f2 Temporary rollback to fix issue when import zip file 2021-09-13 17:58:32 +02:00
arnaudroques
1bd97a0992
Merge pull request #669 from matthew16550/charset
Simplify Charset code
2021-09-13 17:38:08 +02:00
Arnaud Roques
b4819a8365 Fix typo 2021-09-13 17:37:30 +02:00
matthew16550
e3e2c2836e Use UTF_8 object instead of "UTF-8" string literal. 2021-09-13 15:18:15 +10:00
matthew16550
91749a2da3 Simplify Charset usage by using non-null Charset objects instead of charset name in nullable Strings 2021-09-13 14:37:17 +10:00
arnaudroques
5cb202295d
Merge pull request #664 from matthew16550/imageio-read-bytes
Extract ImageIO.read(byte[]) method
2021-09-12 12:35:01 +02:00
arnaudroques
061ce99bc5
Merge pull request #665 from matthew16550/SourceFileReaderAbstract
Extract common code to SourceFileReaderAbstract constructor
2021-09-12 12:33:12 +02:00
arnaudroques
07d9cc9917
Merge pull request #666 from The-Lum/detach-mod
mod: change class of `detach`
2021-09-12 12:29:53 +02:00
The-Lum
d7eba91125
mod: change class of detach
- `detach` is more a `keyword` than a `type`, like `kill`.

Then change class of `detach` from `type` to `keyword`.
2021-09-11 11:33:43 +02:00
matthew16550
c72202eb96 Extract common code to SourceFileReaderAbstract constructor 2021-09-11 19:02:36 +10:00
matthew16550
985916664f Extract ImageIO.read(byte[]) method 2021-09-11 14:21:48 +10:00
matthew16550
08dfd191ba Refactor some code to use AutoCloseable / try-with-resources 2021-09-11 00:52:29 +10:00
matthew16550
9e7db1ce64 Fix copy to clipboard on Mac.
The previous code `Toolkit.getDefaultToolkit().createImage()` does not read the image file into memory but Clipboard.setContents() on Mac seems to need an image that is already in memory.
2021-09-08 14:51:40 +10:00
matthew16550
8903d5e689 Prevent intermittent test failure due to PSystemError creating different output at different times of the hour. 2021-09-03 17:51:22 +10:00
Arnaud Roques
9238bacd65 Import version 1.2021.10 2021-08-30 19:13:54 +02:00
damienwojtowicz
b5e9171558 Implemented zoom control keyboard shortcuts
- Added a `CTRL + +` to zoom in
- Added a `CTRL + -` to zoom out
- Added a `CTRL + 0` to reset zoom
- Minor refactor in classes names (removed "2" appended to GUI's classes name)
2021-08-02 12:11:47 +02:00
Josep Mones Teixidor
0bef01372f Fix issue with garbage after the diagram and created better tests 2021-07-29 06:02:06 +02:00
Josep Mones Teixidor
6849c96144 Add tests for Pipe 2021-07-29 03:50:30 +02:00
Arnaud Roques
1edafc748d Import version 1.2021.9 2021-07-25 12:41:36 +02:00
arnaudroques
671cbc4101
Merge pull request #586 from The-Lum/LanguageDescriptorImprovement
Language Descriptor Improvement (adding some word)
2021-07-07 22:56:43 +02:00
The-Lum
275b9b33f5
Suppress of then word to avoid warning of Cypher
Suppress of `then` word to avoid warning of Cypher:

[Observed on V1.2021.7]
```
>java -jar  plantuml.jar -stdrpt -cypher
Warning:then
```
or:
```
java -jar  plantuml.jar -v -cypher
(0.000 - 254 Mo) 248 Mo - SecurityProfile LEGACY
(0.014 - 254 Mo) 247 Mo - PlantUML Version 1.2021.7
(0.014 - 254 Mo) 247 Mo - GraphicsEnvironment.isHeadless() false
(0.014 - 254 Mo) 247 Mo - Forcing resource load on OpenJdk
Warning:then
(0.372 - 254 Mo) 240 Mo - Found 0 files
```
2021-07-06 13:27:46 +02:00
The-Lum
f8e02ef0aa
Rename Warning to CypherWarning
Rename `Warning` to `CypherWarning`, for more readability on the stdout/stderror
2021-07-06 13:01:39 +02:00
The-Lum
5aee7363b7
Language Descriptor Improvement
Adding:
- collections
- hexagon
- label
- person
- annotation
- left to right direction

+ all `@start/@end` with same order than https://github.com/plantuml/plantuml/blob/master/src/net/sourceforge/plantuml/core/DiagramType.java
2021-07-05 22:36:10 +02:00
Arnaud Roques
d55c9c6ca7 Import version 1.2021.8 2021-06-27 18:50:40 +02:00
Arnaud Roques
39c585ee09 Import version 1.2021.7 2021-05-23 17:35:13 +02:00
Arnaud Roques
f83a207360 Import version 1.2021.6 2021-05-14 10:42:57 +02:00
matthew16550
28983460d7 Add "help themes" command. And ThemeUtils class. 2021-05-10 12:36:09 +10:00
Arnaud Roques
7afaa0c743 Add use of Objects.requireNonNull 2021-05-09 23:14:40 +02:00
matthew16550
de5ed44c97 Add -filedir option. 2021-05-08 11:07:20 +10:00
Arnaud Roques
c216d071b5 Improve theme support 2021-05-06 23:23:05 +02:00
Arnaud Roques
1048a07d7d Improve theme support 2021-05-03 22:11:48 +02:00
Arnaud Roques
f1d83b484c Integration of themes from Brett Schwarz 2021-05-01 19:40:56 +02:00
Arnaud Roques
fcf10ee0a9 Import version 1.2021.5 2021-04-25 22:59:17 +02:00
Thilo Schaper
9a46840192 remove unused option '-recurse' from usage listing 2021-04-21 22:54:56 +02:00
Arnaud Roques
a53860d53d Fix compile error 2021-04-20 22:27:12 +02:00
Arnaud Roques
e1e6bcc5c8 Improve ELK support 2021-04-20 22:19:49 +02:00
Arnaud Roques
bc1074a775 Improve ELK support 2021-04-17 13:19:39 +02:00
Arnaud Roques
cb8cd3492c Improve ELK support (Label and orientation) 2021-04-15 18:49:28 +02:00
Arnaud Roques
320ab186b4 Improve ELK support 2021-04-14 20:08:29 +02:00
Arnaud Roques
dfdec8820f Improve Gantt and add alpha support for ELK 2021-04-13 19:05:18 +02:00
Arnaud Roques
f69cfcd011 Add some Gantt improvement 2021-04-07 20:02:23 +02:00
matthew16550
7863aae1af Infer svgLinkTarget instead of storing it in ImageBuilder. 2021-04-07 19:47:24 +10:00
matthew16550
f1b5a4c827 Infer svgDimensionStyle instead of storing it in ImageBuilder. 2021-04-07 19:41:13 +10:00
matthew16550
8fc84d437a Infer preserveAspectRatio instead of storing it in ImageBuilder. 2021-04-07 19:38:03 +10:00
matthew16550
5b970db545 Infer hoverPathColorRGB instead of storing it in ImageBuilder. 2021-04-07 19:32:14 +10:00
matthew16550
5c2634cf4e Simplify ImageBuilder.getFinalDimension() and cache calculated result. 2021-04-07 19:25:27 +10:00
matthew16550
f47a2a14fc Infer scale instead of storing it in ImageBuilder. 2021-04-07 19:16:17 +10:00
matthew16550
2b712e44c0 Infer lengthAdjust instead of storing it in ImageBuilder. 2021-04-07 19:11:44 +10:00
matthew16550
5c8b1dc46a Infer handwritten instead of storing it in ImageBuilder. 2021-04-07 18:50:19 +10:00
matthew16550
c4fe9f4349 Infer dpi instead of storing it in ImageBuilder. 2021-04-07 18:46:12 +10:00
matthew16550
81abee58fa Refactor duplicate scaleFactor calculations. 2021-04-07 18:38:29 +10:00
matthew16550
9c865ab58b Infer svgCharSizeHack instead of storing it in ImageBuilder. 2021-04-07 18:27:57 +10:00
matthew16550
f0e978de36 Move all ImageBuilder border related code into maybeDrawBorder() method. 2021-04-07 13:01:15 +10:00
arnaudroques
ee0503cbe5
Merge pull request #521 from matthew16550/createImageBuilder
Add AbstractPSystem.createImageBuilder().  Remove styledImageBuilder()
2021-04-05 23:05:24 +02:00
Arnaud Roques
af012b24fb Fix minor regression when exporting Cmap data in PNG image.
DPI is no more relevant, scaleFactor must be used instead.
2021-04-05 22:57:59 +02:00
matthew16550
935c52109b Add AbstractPSystem.createImageBuilder(). Remove styledImageBuilder() 2021-04-04 23:45:56 +10:00
arnaudroques
b659ee4d3b
Merge pull request #520 from matthew16550/skinparam
Simplify default & boolean values in SkinParam
2021-04-04 13:33:26 +02:00
matthew16550
75f80fa2df Simplify default & boolean values in SkinParam. Change "sameClassWidth" param to case insensitive. Rename a few SkinParam tests for consistency. 2021-04-04 21:25:02 +10:00
arnaudroques
49c9fba2ec
Merge pull request #519 from matthew16550/drawable
Add ImageBuilder.imageBuilder() & ImageBuilder.drawable().  Move ImageBuilder creation to CucaDiagram & SequenceDiagram classes.
2021-04-04 12:33:48 +02:00
Arnaud Roques
feba01473c Import version 1.2021.4 2021-04-04 12:31:53 +02:00
matthew16550
af3dbd1cdb Add ImageBuilder.imageBuilder() & ImageBuilder.drawable(). Move ImageBuilder creation to CucaDiagram & SequenceDiagram classes. 2021-04-03 11:49:34 +11:00
arnaudroques
33ba37318c
Merge pull request #518 from nicerloop/gantt-scale-compress
Add compress parameter to print scale command in gantt diagram
2021-04-02 19:28:28 +02:00
arnaudroques
3a9ef9671c
Merge pull request #517 from nicerloop/gantt-scale-yearly-quarterly
Add quarterly and yearly print scale to gantt diagram
2021-04-02 19:28:13 +02:00
Arnaud Roques
9f224e46f3 Minor correction 2021-04-02 19:26:59 +02:00
Loïc PÉRON
638bd2e9ea Add compress parameter to print scale command in gantt diagram 2021-04-02 16:34:14 +02:00
Loïc PÉRON
be69806a96 Add quarterly and yearly print scale to gantt diagram 2021-04-02 16:12:41 +02:00
matthew16550
15c85b7190 Extract FileFormat.getDefaultStringBounder() method 2021-04-02 22:02:44 +11:00
matthew16550
5c58b61278 Fix preserveAspectRatio regression caused in #511 - ensure that "plain" diagrams use a default value of "none". 2021-04-02 17:09:04 +11:00
Arnaud Roques
0e98cae2d0 Minor fixes 2021-03-30 23:19:28 +02:00
arnaudroques
16c3c672df
Merge pull request #513 from matthew16550/getAsInt
Extract SkinParam.getAsInt() method
2021-03-29 09:22:22 +02:00
matthew16550
d5780e48f6 Extract SkinParam.getAsInt() method 2021-03-29 15:50:53 +11:00
matthew16550
75f26baab7 Remove redundant FileFormatOption.affineTransform field (it was always null and could not be set to another value) 2021-03-29 12:00:19 +11:00
matthew16550
13a62c3884 Move preserveAspectRatio & svgLinkTarget calculation to ImageBuilder class. 2021-03-29 01:33:48 +11:00
arnaudroques
8496f821ca
Merge pull request #510 from matthew16550/imagedatacomplex
Undelete ImageDataComplex constructor that was accidentally removed from net.sourceforge.plantuml.api
2021-03-28 12:31:05 +02:00
arnaudroques
4ac177c458
Merge pull request #509 from matthew16550/hoverpathcolor
Move hoverpathcolor calculation to ImageBuilder class.
2021-03-28 12:30:39 +02:00
Arnaud Roques
cb0bcb6952 Minor fixes 2021-03-28 12:30:15 +02:00
matthew16550
d43fe93e2b Undelete ImageDataComplex constructor that was accidentally removed from net.sourceforge.plantuml.api in commit a746d98 2021-03-28 12:36:41 +11:00
matthew16550
1c70b9ea34 Move hoverpathcolor calculation to ImageBuilder class. 2021-03-28 12:05:48 +11:00
Arnaud Roques
986393d90d Improve URL management 2021-03-25 18:46:44 +01:00
matthew16550
880441b1cf Replace UGraphicUtils with ImageBuilder. 2021-03-25 21:49:53 +11:00
matthew16550
d7127326ad Minor simplifications in ImageBuilder 2021-03-25 13:26:11 +11:00
matthew16550
a746d98e3d ImageBuilder simplifications 2021-03-24 14:53:58 +11:00
Arnaud Roques
b982cc4caf Update file header 2021-03-23 23:10:34 +01:00
Arnaud Roques
d579f6899f Add few non regression tests 2021-03-23 18:14:35 +01:00
matthew16550
bc2cc49550 Merge ImageParameter into ImageBuilder 2021-03-24 01:11:20 +11:00
matthew16550
68be6ae4a0 Simplify passing around of seed value. 2021-03-24 00:06:33 +11:00
arnaudroques
3cbe042f8e
Merge pull request #504 from matthew16550/builders-2
Add plainImageBuilder() plainPngBuilder() styledImageBuilder() and PlainDiagram / PlainStringsDiagram classes
2021-03-23 11:13:07 +01:00
Arnaud Roques
c2eadfd3e4 Add minor correction and some test test 2021-03-23 11:11:32 +01:00
matthew16550
ac1fa530cf Extract common functionality to new ImageBuilder methods plainImageBuilder() plainPngBuilder() styledImageBuilder() and to PlainDiagram / PlainStringsDiagram classes. 2021-03-23 20:40:50 +11:00
Arnaud Roques
efab37d3ce Import version 1.2021.3 2021-03-22 19:00:32 +01:00
Arnaud Roques
2efa343e38 Decouple StringBounderDebug from any OS 2021-03-22 14:20:24 +01:00
Arnaud Roques
aad084e5a1 Try to turn around some rounding issues 2021-03-22 10:54:54 +01:00
Arnaud Roques
0d6a17a27e Fix SimpleSequenceDiagramTest by using the appropriate StringBounderDebug 2021-03-22 09:45:48 +01:00
Arnaud Roques
bdc0eb9709 Add a first test using Debug format output 2021-03-21 13:52:20 +01:00
matthew16550
720d9f5203 Tweak Smetana Y offset to avoid clipping at top 2021-03-21 19:07:28 +11:00
matthew16550
9f576036df Fix top & left margin problems with CucaDiagrams (#497) 2021-03-21 00:37:59 +11:00
Arnaud Roques
ad2e9d5fb3 Remove unused files 2021-03-19 18:27:32 +01:00
Arnaud Roques
e6437ce908 Refactor Gantt and clean TitledDiagram 2021-03-19 17:58:09 +01:00
matthew16550
848a75216f Fix previous regression a different way that fixes a use case the previous fix missed. 2021-03-20 02:51:26 +11:00
matthew16550
3c87ae4671 Fix regression for Activity, Class, Description & State Diagram default margins. 2021-03-19 23:06:57 +11:00
matthew16550
c20fe8d58f Fix regression for Sequence Diagram default margins when using Puma. 2021-03-19 22:20:29 +11:00
arnaudroques
4a1a8787d0
Merge pull request #493 from matthew16550/scale
Handle Scale & DPI more consistently for all diagram types.
2021-03-18 22:38:24 +01:00
Arnaud Roques
756225dee0 Add Gantt bugfix 2021-03-18 22:38:00 +01:00
matthew16550
270fec579a Simplify GitDiagram code for consistency with other diagrams. Margin / scale / background color etc will not take effect until those commands are enabled for this diagram type. 2021-03-19 06:00:55 +11:00
matthew16550
2da2146f21 Handle Scale & DPI more consistently for all diagram types. 2021-03-19 05:14:42 +11:00
arnaudroques
69645c8e1e
Merge pull request #492 from matthew16550/test-2
Tweaks to enable "Test Playground" in plantuml-test repo
2021-03-18 14:38:48 +01:00
Arnaud Roques
266e8b6497 Add new affectation 2021-03-18 14:38:17 +01:00
matthew16550
7d7fdaddf2 Tweak visibility in PSystemError to help with tests. 2021-03-19 00:12:00 +11:00
Kir Ax
8b99027a83 Add empty line between code blocks 2021-03-14 23:40:04 +07:00
Kir Ax
869143866f Make interactive SVG for Object diagrams 2021-03-14 23:37:50 +07:00
Kir Ax
e27667b683 Make interactive SVG for Class diagrams 2021-03-14 18:56:57 +07:00
Arnaud Roques
28f253d992 Bug fixes 2021-03-12 19:16:16 +01:00
Arnaud Roques
1fb75b1b0e Delete unused files 2021-03-10 18:34:49 +01:00
matthew16550
4b4562ec35 Move UmlDiagram.animation to parent class (TitledDiagram). 2021-03-10 05:41:49 +11:00
matthew16550
568c2e3106 Move diagram.getAnimation() & diagram.getWarningOrError() into ImageParameter class. 2021-03-10 05:31:38 +11:00
Arnaud Roques
bedbe1036b Fix background color for MinMapDiagram 2021-03-09 19:02:38 +01:00
matthew16550
fbbb8a2756 Refactor duplicated logic to ImageParameter class. This will provide consistent support for Diagram Border, Handwritten, Background Color, Metadata (and possibly more) in many diagram types than previously did not support them. 2021-03-09 16:13:14 +11:00
matthew16550
2d50dd9c59 Move diagram margin logic to ImageParameter.calculateDiagramMargin(). This will allow CSS control of margins in many diagrams that previously did not allow it. 2021-03-09 05:32:41 +11:00
Arnaud Roques
eea48055d3 Import version 1.2021.2 2021-03-07 13:23:24 +01:00
Arnaud Roques
66520f0a35 Add interactive functionality for Usecase diagrams exported to SVG 2021-03-04 19:11:16 +01:00
arnaudroques
74ff89f4ba
Merge pull request #475 from ioplker/master
Add interactive functionality for Usecase diagrams exported to SVG
2021-03-03 14:39:52 +01:00
arnaudroques
0f034043df
Merge pull request #348 from matschaffer/remove-license-message-on-empty-diagram
Move license message below getting started
2021-03-02 18:00:55 +01:00
Kir Ax
ae3f858c81 Add check for elem existance to interactive SVG; reindent JS-code 2021-03-02 21:25:46 +07:00
Kir Ax
f3e7e97fe8 Add interactive functionality for Usecase diagrams exported to SVG 2021-02-28 20:44:02 +07:00
matthew16550
40e7e762e4 Add support for wave underlined text in SVG. 2021-02-21 13:51:54 +11:00
matthew16550
a4553adeb2 Add "POST /render" endpoint to picoweb server.
It expects a JSON body like
  { "source": PLANTUML_SOURCE_STRING, "options": ARRAY_OF_STRINGS }

And returns the rendered diagram with suitable Content-Type header (all output formats are supported).
2021-02-13 01:09:28 +11:00
matthew16550
f850b5f400 * Allow specifying the bind address that picoweb will listen on (e.g. -picoweb:8000:localhost).
* Change picoweb server to print the actual port being listened on when port 0 was specified.
2021-02-12 17:19:03 +11:00
Arnaud Roques
0dc13cccf2 Import version 1.2021.1 2021-02-02 11:12:15 +01:00
matthew16550
6c5a53b0bf Change Activity Diagram "Stop" and "End" symbols to fill using the diagram background color instead of always using white. 2021-01-21 12:44:35 +11:00
matthew16550
12211946f4 Change link decorators to fill using the diagram background color instead of always using white. 2021-01-21 00:33:07 +11:00
Arnaud Roques
5ec1037202 Import version 1.2021.0 2021-01-10 21:52:19 +01:00
arnaudroques
3a7e935cec
Merge pull request #440 from Nordes/feature/432-gantt_color_DaysOfWeek
[GANTT] Implement "[day] are colored in #AAAAFF"
2021-01-08 18:35:24 +01:00
Nordes Menard-Lamarre
443be15d3e 432-Implement "[day] are colored in #AAAAFF" 2021-01-07 22:16:04 -05:00
Nordes Menard-Lamarre
b6a5270b9c #437-Implement arrow style color 2021-01-07 20:56:09 -05:00
Arnaud Roques
099843c830 Import version 1.2020.26 2020-12-21 20:05:24 +01:00
Arnaud Roques
5dab086ba1 Import version 1.2020.24 2020-12-19 22:21:54 +01:00
Arnaud Roques
56cd2269dd Import version 1.2020.23 2020-12-14 19:31:06 +01:00
Arnaud Roques
7e81ef289b Import version 1.2020.22 2020-12-06 22:43:09 +01:00
Arnaud Roques
9b708081fc Import version 1.2020.21 2020-12-01 22:39:27 +01:00
Arnaud Roques
2404fb605b Import version 1.2020.20 2020-11-21 18:33:24 +01:00
arnaudroques
b3e4b7f8f2
Merge pull request #396 from vprcic/master
New actor style - Hollow
2020-10-30 17:25:29 +01:00
vprcic
a9813ad99d New actor style - Hollow
A new actor style named Hollow that changes the actor appearance, similar to the already existing Awesome actor style
2020-10-29 11:51:40 +01:00
Cédrik LIME
de02412c79 Update OpenIconic from 1.1.0 to 1.1.1 2020-10-27 20:47:53 +01:00
Arnaud Roques
c670872511 Import version 1.2020.19 2020-10-12 22:56:58 +02:00
Arnaud Roques
58936dc235 Import version 1.2020.18 2020-09-30 22:57:58 +02:00
Arnaud Roques
b27fa50b50 Import version 1.2020.17 2020-09-19 17:43:24 +02:00
Arnaud Roques
55d1d81055 Import version 1.2020.16 2020-08-25 19:24:17 +02:00
Beat Christen
be5564f5b2 ignore trailing ws when reading diagrams from pipes
fixes #349
2020-07-13 15:46:55 +02:00
Mat Schaffer
68bb4dae02
Move license message below getting started 2020-07-06 10:52:54 +09:00
Arnaud Roques
55ca84b7c1 Import version 1.2020.15 2020-06-28 14:40:33 +02:00
Arnaud Roques
a38685d3ba Import version 1.2020.14 2020-06-21 22:31:45 +02:00
Matt Crouch
c04cbf14e1
Correct minor typo
Sprits -> Sprites
2020-06-17 13:48:55 +01:00
Arnaud Roques
37a6f82e35 version 1.2020.13 2020-06-14 22:35:42 +02:00
Arnaud Roques
301fd18b2f version 1.2020.12 2020-06-07 12:03:18 +02:00
Arnaud Roques
3192fa218c version 1.2020.11 2020-05-30 17:20:23 +02:00
Serge Wenger
0dc09da9a8 Sate deep history first implementation 2020-05-18 22:01:37 +02:00
Arnaud Roques
bb94634fd4 version 1.2020.10 2020-05-17 23:15:50 +02:00
Jason Harper
ed9fdb02c2 Added better documentation to the angle conversion function 2020-05-12 11:12:59 -04:00
Jason Harper
114e14457b Fixed arc orientation for lollipop connections 2020-05-12 11:09:03 -04:00
Arnaud Roques
5bd20214e2 version 1.2020.9 2020-05-10 16:19:20 +02:00
Arnaud Roques
e9fb57cbbe Adding contribution from Hisashi Miyashita for SysML v2 support 2020-05-07 16:12:08 +02:00
Thomas Weißschuh
ec246f16a0 dot: be less restrictive in digraph header
The space between the digraph title and the following brace is not required by
"dot".
2020-05-05 13:48:56 +02:00
Arnaud Roques
138cfb900a version 1.2020.8 2020-04-26 20:31:41 +02:00
Arnaud Roques
9077d971d7 version 1.2020.7 2020-04-19 18:04:39 +02:00
boessu
b2f33306ca
Update Colors according to Archiate off. Specs
This is mainly a proposal.
The colors at the moment are sometimes quite "loud" and on some it's a bit hard to read the (black) text on it. The colors from the Archimate Specifications (https://pubs.opengroup.org/architecture/archimate3-doc/chap03.html#_Toc10045294) are more subtle and you can better read text on it. It is not necessary to change the colors of the sprites too. But that's just my opinion.
2020-04-10 14:29:24 +02:00
Arnaud Roques
85ad30b381 version 1.2020.6 2020-04-05 17:13:04 +02:00
Arnaud Roques
ce8d9045b5 version 1.2020.4 2020-03-19 14:06:15 +01:00
Arnaud Roques
03b30b1007 version 1.2020.3 2020-03-18 11:50:02 +01:00
Arnaud Roques
7a5b515bf6 version 1.2020.2 2020-03-03 23:29:34 +01:00
Alfred Porter
d95ff13351 Added %upper/%lower to built-in macro functions 2020-02-28 16:32:17 +01:00
Arnaud Roques
4cad5546ac version 1.2020.1 2020-02-18 22:24:31 +01:00
Arnaud Roques
19b9eb3534 version 1.2020.0 2020-01-12 23:13:17 +01:00
Arnaud Roques
275cde19a8 version 1.2019.13 2019-12-10 22:45:49 +01:00
Arnaud Roques
36c461dabe version 1.2019.12 2019-11-03 18:40:03 +01:00
arnaudroques
82b570d0f0
Merge pull request #220 from cosminpolifronie/master
fix FileFormatOption constructor not using withMetadata parameter
2019-10-10 16:18:02 +02:00
Arnaud Roques
c4397fac97 version 1.2019.11 2019-09-22 19:20:16 +02:00
Arnaud Roques
90372b993c version 1.2019.10 2019-09-14 20:12:04 +02:00
Arnaud Roques
d0fdb2433b version 1.2019.9 2019-08-26 19:07:21 +02:00
wb-slc596115
5ac89402b0 fix: note split problem 2019-08-19 10:34:45 +08:00
Arnaud Roques
18b688210f version 1.2019.8 2019-07-14 22:09:26 +02:00
albert-github
d43296c82e Documentation corrections
Some "obvious" code documentation corrections.
2019-07-04 13:52:30 +02:00
Cosmin Polifronie
ac64f9fa11 fix FileFormatOption constructor not using withMetadata parameter 2019-07-01 18:52:38 +03:00
Arnaud Roques
fb108ebb5a version 1.2019.7 2019-06-26 21:24:49 +02:00
Arnaud Roques
99041c5ccb version 1.2019.6 2019-05-24 21:59:31 +02:00
szpio
f97efa4c91 Store mindmap source in PNG images
This change will store mindmap source diagram as metadata in PNG images or as
comment in SVG images. It is very useful when only image, not source, is
available and the change to mindmap is required.

This functionality was/is already available for other types of diagrams
but was not working for mindmap.

As described in `help` to retrieve mindmap sources use:

```
java -jar plantuml.jar -metadata <mindmap-image>.png
```
To get the sources from SVG image simply open SVG file in text editor
and copy sources from `comment element` at the end of the file.
2019-04-30 22:40:17 +01:00
Arnaud Roques
73b507c1df version 1.2019.5 2019-04-21 22:40:01 +02:00
Arnaud Roques
857ec10b8b version 1.2019.4 2019-03-29 23:14:07 +01:00
Arnaud Roques
120fb859b2 version 1.2019.2 2019-03-01 23:16:29 +01:00
Arnaud Roques
d7535d8027 version 1.2019.1 2019-02-09 22:56:24 +01:00
qwazer
269c2828c0 Add ability to use any shape from USymbol in nwdiag elements.
Example:
@startuml
nwdiag {
  network inet {
	  web01 [shape = cloud]
  }
}
@enduml
2019-02-06 17:41:01 +03:00
robert
c9c46b00e3 Avoid passing too many arguments to String.format 2019-01-23 15:15:02 +00:00
robert
ec0611d7cf Fix SuggestEngineResult.sameString for two non-null strings 2019-01-23 15:06:56 +00:00
robert
1ec667cc0b Fix type mismatch on container access 2019-01-23 14:56:26 +00:00
Arnaud Roques
2c655a6b74 version 1.2019.0 2019-01-16 19:34:41 +01:00
Arnaud Roques
3ecadf6bd5 version 1.2018.14 2018-12-22 12:11:40 +01:00
Arnaud Roques
3736d048b3 version 1.2018.13 2018-11-26 19:46:50 +01:00
Arnaud Roques
03e61673a7 version 1.2018.13 2018-11-26 19:46:22 +01:00
Steffen Dettmer
2d2086d88f Allow "hide footbox" in timing diagrams (ignoring it).
http://forum.plantuml.net/8089/hide-footbox-not-recognized-in-timing-diagrams:

  When placing "hide footbox" at the beginning of a timing diagram, a
  syntax error is reported.

  This "hide footbox" is common to all our diagrams (plantuml.cfg file).

  ------

  We have a similar problem with 'hide footbox' in the global config
  file; the syntax error is not related to the config file though, you can
  place 'hide footbox' directly in the diagram and will get the syntax
  error
2018-11-22 09:54:40 +01:00
Arnaud Roques
54ace4f309 version 1.2018.12 2018-10-21 21:44:14 +02:00
Arnaud Roques
414f51d257 version 1.2018.11 2018-09-23 14:15:14 +02:00
Arnaud Roques
4758fa1d66 version 1.2018.10 2018-08-26 14:09:50 +02:00
Arnaud Roques
1a8e4feb6a version 1.2018.9 2018-07-27 23:59:19 +02:00
Arnaud Roques
87ee4898b1 version 1.2018.9 2018-07-27 23:56:46 +02:00
Arnaud Roques
a363246176 version 1.2018.8 2018-06-25 21:05:58 +02:00
Arnaud Roques
84e117e287 version 1.2018.7 2018-06-12 22:50:45 +02:00
Arnaud Roques
55390ef1d1 Start to add Problem Diagrams 2018-05-21 21:24:25 +02:00
Arnaud Roques
1aec937bbe Start to add Problem Diagrams 2018-05-21 21:15:19 +02:00
Arnaud Roques
d7ecae5722 version 1.2018.6 2018-05-21 15:07:09 +02:00
Arnaud Roques
14e1e6671c version 1.2018.5 2018-05-06 21:59:19 +02:00
Arnaud Roques
cfacbc1f97 version 1.2018.4 2018-05-01 19:26:04 +02:00
Arnaud Roques
e3bdf19745 version 1.2018.3 2018-04-06 22:36:30 +02:00
Arnaud Roques
86c9c6d603 version 1.2018.2 2018-03-09 22:37:34 +01:00
Arnaud Roques
557e8c94b9 version 1.2018.1 2018-01-28 23:08:15 +01:00
Arnaud Roques
0be8ee2e6f version 1.2018.0 2018-01-04 23:32:45 +01:00
Arnaud Roques
c17f4a1254 version 1.2017.20 2017-12-11 22:02:10 +01:00
Arnaud Roques
a628cfdb76 version 1.2017.19 2017-11-20 17:10:36 +01:00
Arnaud Roques
a5701fb84b version 1.2017.18 2017-10-07 11:46:53 +02:00
Arnaud Roques
ce99e6f260 version 1.2017.17 2017-09-03 18:59:24 +02:00
Arnaud Roques
1a5ca5cf48 version 1.2017.15 2017-07-03 19:59:53 +02:00
Arnaud Roques
f9bf7c08e5 version 1.2017.14 2017-06-05 13:27:21 +02:00
Arnaud Roques
2202502f2f version 1.2017.13 2017-05-10 21:51:15 +02:00
Arnaud Roques
dc9d5327b7 version 1.2017.12 2017-04-26 19:48:37 +02:00
Arnaud Roques
5c62d2c083 version 2017.11 2017-04-19 20:30:16 +02:00