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
Arnaud Roques
82c57e1b54
fix typo in comment
2021-03-15 17:14:41 +01: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
11a9317042
Missing files
2020-12-20 13:59:51 +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