Ребят, привет. Не могу разобраться с EA 8. Я написал компонент для Joomla на php. Как мне по коду сделать диаграммы?
Архив с компонентом прилагаю.
Спасибо заранее.
Вопрос интересный:)
8 я уже давно не использую. В 9 немного кудряво.
Вообще:
Import a Directory Structure
You can import from all source files in a complete directory structure, which enables you to import or synchronize multiple files in a directory tree in one pass.
Enterprise Architect creates the necessary packages and diagrams during the import process.
Access Project Browser package context menu | Code Engineering | Import Source Directory
How to
To import a directory structure, using the Import Source Directory dialog, follow the steps below:
Step
Action
See also
1
Select the options you require; you can configure:
· The source directory
· The source type
· The file extensions to look at
· Whether to recurse sub directories
· Whether to create a diagram for each package
· Whether to import additional files as described in the Import Component Types dialog
· Whether to exclude private members from libraries being imported from the model
· Whether to Synchronize or Overwrite existing Classes when found; if a model Class is found matching the one in code:
· Synchronize updates the model Class to include the details from the one in code, which preserves information not represented in code, such as the location of Classes in diagrams
· Overwrite deletes the model Class and generates a new one from code, which deletes and does not replace the additional information
· Whether to create a package for every directory, namespace or file; this might be restricted depending on the source type selected
· How to handle Classes not found during the import (prompt for action enables you to review Classes individually)
· What is shown on diagrams created by the import
Classes not found during Import
2
Click on the OK button to start.
Learning Center topics
· (Alt + F1) | Software Engineering | Import Code | Import Source Directory
или
Import Source Code
How to
To import source code (reverse engineer) follow the steps below:
Step
Action
See also
1
In the Project Browser, select (or add) a diagram into which to import the Classes.
2
Right-click on the diagram background to open the context menu and either:
· Select the language to import from the Import from source file(s) submenu
· Click on the Import Language drop-down arrow in the Code Generation toolbar and select the Import | Import xxx files menu option, where xxx represents the language to import
3
From the file browser that appears, select one or more source code files to import.
Notes on Source Code Import
4
Click on the Open button to start the import process.
As the import proceeds, Enterprise Architect provides progress information. When all files are imported, Enterprise Architect makes a second pass to resolve associations and inheritance relationships between the imported Classes.
Learning Center topics
· (Alt + F1) | Software Engineering | Import Source Code
В 9 довольно странно. Не удается вытащить из вашей структуры всю схему. Только по отдельным файлам. Но это как-то гемморно
Вот что получилось последовательно проходя по папкам вашего проекта (только админка)