mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 08:48:54 +00:00
[FEATURE] Future design of the PlantUML Server
A new map feature to retrieve the image map of a diagram is added
This commit is contained in:
parent
e41286993f
commit
9ee4b279bc
36
src/main/java/net/sourceforge/plantuml/servlet/diagrams.txt
Normal file
36
src/main/java/net/sourceforge/plantuml/servlet/diagrams.txt
Normal file
@ -0,0 +1,36 @@
|
||||
## Class diagram ##
|
||||
###################
|
||||
|
||||
@startuml
|
||||
hide empty members
|
||||
hide empty methods
|
||||
hide empty fields
|
||||
abstract class UmlDiagramService {
|
||||
public void doGet(HttpServletRequest rq, HttpServletResponse rsp)
|
||||
abstract public ResponseSender getSender()
|
||||
abstract public String getSource( String uri)
|
||||
abstract public FileFormat getOutputFormat()
|
||||
}
|
||||
interface ResponseSender {
|
||||
ResponseSender( HttpServletResponse r, FileFormat f)
|
||||
void sendDiagram( String uml, int n)
|
||||
}
|
||||
abstract HttpServlet <|-- UmlDiagramService
|
||||
abstract HttpServlet <|-- ProxyServlet
|
||||
UmlDiagramService <|-- PngServlet
|
||||
UmlDiagramService <|-- SvgServlet
|
||||
UmlDiagramService <|-- AsciiServlet
|
||||
UmlDiagramService <|-- MapServlet
|
||||
UmlDiagramService o- ResponseSender
|
||||
ResponseSender <|-- DiagramResponse
|
||||
ResponseSender <|-- MapResponse
|
||||
ResponseSender <|-- ProxyResponse
|
||||
ProxyResponse -o ProxyServlet
|
||||
@enduml
|
||||
|
||||
## Sequence diagram ##
|
||||
######################
|
||||
|
||||
@startuml
|
||||
TODO
|
||||
@enduml
|
@ -6,7 +6,7 @@
|
||||
- Service servlets : ImgServlet, SvgServlet, AsciiServlet, ProxyServlet that only produce a diagram as output.<br>
|
||||
<br>
|
||||
Structure of the service part of the PlantUmlServer: <br>
|
||||
<img src="http://www.plantuml.com/plantuml/img/XP11JiCm44NtFiKiKwcv0HiaLDY1Y3Y0uqoJaUpO7OyZAk3kr2I4f0MwzDFJ_z_JKOE0BiWH7BeQEQfkYQJppGhj2Us9w3eAQoDWh8uHNfoz8zsoTXNoG0RXJG64L5ioC7XgeF7tACM3ICY6HNd6Gy8em8Sjh70Cley87CFcb34NJM6LCFKjj2YLJsom-2Q9QUNloEBEizEIvSSa8SduBZRgGusxfz5pQLvznehVrssN1VlS_FNDY7qp1VmiSpOtpiiMUN3pNfQNr_l7VMB_Ufo8kZpxwFJj5QCQhXctqH3zxVZo_4wV" />
|
||||
<img src="http://www.plantuml.com/plantuml/img/XP5DReGm38NtdC9BAi4DkgbKJRkfMXNr004CH4f8nZ6eexPtR_WjC7JOaUVFVlQZaZa2QiiNqAXJ91TKIuahaw-aGgBoYaWTayWOCYMSWm-j7gKeIUW4gPKPmbS0O9jKoGnQ8tF8pHDo-CniEq8Xl-EvGST0vmXMihEcTWZax9sVCHkDmwPwWdME12Noy1NkmGcJhCiUCWrb64vAGtAFFqc59qDQSDVpsh1jU7ZxyJ-1h1cf4FwwpHRTiMiftByfMbeKtGfzECxtZFdzhQXL1DuHwivwtdGn5kw_u_Ww-Xli6vdFowW4r_ziOEhoW4ZQ8-B1PL8UC2_2_a-OU9Ddi4cy7p4sJQLTnjlShFUHpCJg1R5P9VOB" />
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user