Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Ivan987 on June 27, 2023, 12:01:34 am
-
How to generate a sequence diagram from an existing project?
I tried to deal with the documentation.
I have built a sequence diagram.
I get
(https://i.ibb.co/Cvj0SHG/image.png)
This is all?
(Full image: https://i.ibb.co/Cvj0SHG/image.png)
My expectations: to see in the diagram the detailed work of the **Worker()** method of the **ParserWorker** class
Path: Node_Root.Package1.Parser.Core.ParserWorker
How to make the Worker() method to be displayed in detail on the diagram?
Is it possible?
Project:
Folder: c:\ProjectTest\5214\ParserExtrem\Project\
Github: https://github.com/jhon65496/ParserSequenceDiagrams (https://github.com/jhon65496/ParserSequenceDiagrams)
(https://i.ibb.co/DrB8YYq/image.png)
Class: ParserWorker;
Method: Worker();
private async void Worker()
{
for(int i = parserSettings.StartPoint; i <= parserSettings.EndPoint; i++)
{
if (!isActive)
{
OnCompleted?.Invoke(this);
return;
}
var source = await loader.GetSourceByPageId(i);
var domParser = new HtmlParser();
var document = await domParser.ParseAsync(source);
var result = parser.Parse(document);
OnNewData?.Invoke(this, result);
}
OnCompleted?.Invoke(this);
isActive = false;
}
Charting process
(https://i.ibb.co/ZSvPB31/261830108232780.png)
(https://i.ibb.co/cvGjzHw/527890108256347.png)
(https://i.ibb.co/mGvBtqW/126771009241434.png)
(https://i.ibb.co/6vfBjLr/513490208247815.png)
(https://i.ibb.co/L8xvMC3/287020308250602.png)
(https://i.ibb.co/cYLrSDj/311400408261955.png)
(https://i.ibb.co/GHwxhpc/105011108246765.png)
(https://i.ibb.co/KshS6c5/432891108243049.png)
(https://i.ibb.co/7VfnTRb/215392108256622.png)
(https://i.ibb.co/F6zt4K6/459042008246905.png)
(https://i.ibb.co/gtmNKTz/26862408247313.png)
(https://i.ibb.co/YRTsvHg/318932408243155.png)
(https://i.ibb.co/QFhG1cd/556672408253175.png)
(https://i.ibb.co/wh1sXQW/29163108246731.png)
(https://i.ibb.co/qmRPJ5t/208033208255114.png)
(https://i.ibb.co/X7BBCS2/384803308246908.png)
(https://i.ibb.co/C6MMbbt/318553608256360.png)
(https://i.ibb.co/Cv6bkG1/399122708253821.png)
(https://i.ibb.co/zX1NXyz/240662708230819.png)
(https://i.ibb.co/XC4yMx4/279712808233923.png)
(https://i.ibb.co/fGwdW6k/145123708248740.png)
(https://i.ibb.co/Bwgdzm7/102793808242327.png)
Step-1
(https://i.ibb.co/9ntw8gV/490353808261942.png)
Step-2
(https://i.ibb.co/RjWBx4r/342204008251297.png)
Step-3
(https://i.ibb.co/f1DHy59/554784008236412.png)
(https://i.ibb.co/thxq9Mw/115344608254981.png)
(https://i.ibb.co/PcP4yM2/394904208234939.png)
(https://i.ibb.co/D4s3PvV/404094708261811.png)
Result
(https://i.ibb.co/924PXBW/87735508231538.png)