Sparx Systems Forum
Pro Cloud Server / Prolaborate / WebEA => PCS General Board => Topic started by: Mauricio Moya (Arquesoft) on February 02, 2023, 01:19:42 am
-
As PCS has the worker that generates the fresh image files for the diagrams, where are those diagrams stored? is there a folder in the computer having the PCS that has all the files inside? how does it work? I know the images can not be generated by demand because it is just the purpose of the Worker, so where are the images stored?
-
Diagrams are always rendered on the fly. EA has some cache but the format diagrams stored therein is unknown (even to me).
q.
-
Diagrams are not always rendered on the fly.
There is a setting (see "Settings => Options => Cloud") where you can define that EA should always auto create a diagram image.
There even is a button to batch create all images available in the model.
This is necessary when using the WebEA functionality as this application has no ability to render the diagrams itself.
As far as I know, the images are stored in a separate table "t_images" or "t_document". I'm not quite sure which.
-
Diagrams are not always rendered on the fly.
There is a setting (see "Settings => Options => Cloud") where you can define that EA should always auto create a diagram image.
There even is a button to batch create all images available in the model.
This is necessary when using the WebEA functionality as this application has no ability to render the diagrams itself.
As far as I know, the images are stored in a separate table "t_images" or "t_document". I'm not quite sure which.
There is another thread on the forum somewhere that discusses this exact issue, and the location of the diagram images.
It's definitely in the database as ea0522 suggests.
Geert
-
Thanks Geert. I have found the thread. Just for reference:
Table: t_document
Condition: DocName = 'DIAGRAMIMAGEMAP'
Original post: https://sparxsystems.com/forums/smf/index.php/topic,44236.msg260783.html#msg260783 (https://sparxsystems.com/forums/smf/index.php/topic,44236.msg260783.html#msg260783)
-
Geert, en la tabla t_document en la columna DocName se guardan los nombre de los fragmentos que he creado para generar la documentación y no me aparece el valor 'DIAGRAMIMAGEMA'.
Necesito acceder a las imágenes de los diagramas, puesto que tengo diferentes carpetas(package) y en cada carpeta muestro una selección de diagramas diferentes.
Ejemplo:
CARPETA A : Diagrama de clases
CARPETA B: Algunos diagramas de composite
Algunos diagramas de sequence
intentaba hacer una sql (por eso quiero saber la tabla que tiene las imagenes) sobre cada fragmento para juntarlas y tener los diagramas filtrados por package, por tipo, y por tag.
La herramienta tiene esta flexibilidad?
Existe otro camino?
-
Sorry adelgado,
Could you please translate your reply to English?
It looks like your contribution is very interesting to me but my Spanish(?) is not that well.
-
Google thinks that it means
Geert, in the t_document table, in the DocName column, the names of the fragments that I have created to generate the documentation are stored and the value 'DIAGRAMIMAGEMA' does not appear.
I need to access the images of the diagrams, since I have different folders(package) and in each folder I show a selection of different diagrams.
Example:
FOLDER A : Class diagram
FOLDER B: Some composite diagrams
Some sequence diagrams
I was trying to do a sql (that's why I want to know the table that has the images) on each fragment to join them and have the diagrams filtered by package, by type, and by tag.
Does the tool have this flexibility?
Is there another way?
q.
-
Thanks for the translation and sorry I didn't think of Google myself...
The question posed is indeed interesting.
The tool does allow to use the diagram information and have SQL filter on the diagrams you need.
The problem however might be to 'translate' the binary image information into 'readable' png format to display.
The same problem is addressed in another topic:
https://sparxsystems.com/forums/smf/index.php/topic,47924.0.html (https://sparxsystems.com/forums/smf/index.php/topic,47924.0.html)
-
Well, of course. The fomat is a proprietary Sparxian one. No chance unless you get intimate with the coder.
q.
-
For me the question, which I think has been asked before, is how do you (why can't you) have a link to an image of each diagram (server by WebEA) that can be reused in other documentation, e.g. intranets.
-
I don't get your point.
q.
-
I'd like to be able to embed an architecture diagram created in EA without copying and pasting it into an intranet page.
E.g. access it as https://easerver/mymagicdiagramGUID.jpg
-
For instance for showing it on a Confluence page on my Wiki intranet...
-
https://prolaborate.sparxsystems.com/resources/documentation/enterprise-architect-and-confluence-integration
I fear it is a prolaborate only functionality, but as Prolaborate is a shell this could technically be done via Procloud (the question is how?)
-
We once had the discussion in the past and the workaround suggested was to publish the report to a folder (could be automated)
You can put a Sparx HTML report into a SharePoint document library if you have CIFS or Webdav access to it. You need to increase the files allowed in the library to about 10,000. there is no publish directly to SharePoint.
(https://i.ibb.co/wBmvK7x/sharesparx.png)
Configure your share point credentials and connection strings under Profile Manager
Open Publish to SharePoint
Choose an added existing connection and enter the password if available
Choose a folder from Available Folders (displays all the available folders in the selected SharePoint connection)
Enter the publish settings
Select Export