(→Share menu) |
(→Share menu) |
||
| Line 304: | Line 304: | ||
'''Copy View Parameters''' provides a quick way to share views with other users of AgileBrowser. Copied view parameters can be also used locally for manual bookmarking purposes. The view parameters are built into a URL that can be used re-visualize the view extracting the parameters from the URL. | '''Copy View Parameters''' provides a quick way to share views with other users of AgileBrowser. Copied view parameters can be also used locally for manual bookmarking purposes. The view parameters are built into a URL that can be used re-visualize the view extracting the parameters from the URL. | ||
| - | '''Paste View Parameters''' pastes the clipboard content and and loads the corresponding view. Note: this requires clipboard to contain URL that has been automatically generated or produced with above mentioned '''Copy View Parameters''' functionality. | + | '''Paste View Parameters''' pastes the clipboard content and and loads the corresponding view. Note: this requires clipboard to contain URL that has been [[/ProducingViewURL| automatically generated]] or produced with above mentioned '''Copy View Parameters''' functionality. |
'''Copy Visible Elements to Clipboard as Text''' copies the full identifiers of the visible elements to clipboard as text | '''Copy Visible Elements to Clipboard as Text''' copies the full identifiers of the visible elements to clipboard as text | ||
Download AgileBrowser installer
Agile Browser is a free architecture management tool. It abstracts and visualizes software models of MeeGo OS. The main focus is to provide easier access to up-to-date architecture information gathered from multiple sources. The models contain stuctural and dependendency information. There are several types of external attributes to be attached to the information. Users of AgileBrowser can navigate, search, highlight with colors, share and export diagrams in various abstraction levels according to their individual needs.
Installer package is available in this wiki: File:AgileBrowser.zip
Agile Browser can be run on Windows, Mac, Linux, etc., anywhere where Java is supported. The most important requirement is that the tool is memory expensive so it is recommended to have 1 GB RAM or fast swapping.
The following image is the overview of the Agile Browser. Diagram highlights the main areas of the Agile Browser user interface. Each section is is described in detail below.
For visualizing incoming dependencies, use Dependencies setting with value Incoming. As an opposite of that, view outgoing dependencies with Outgoing. In case you want to visualize both incoming (users) and outgoing, select In and Out.
In addition to Dependencies selection, dependency view can be activated from context menu. E.g. there are External Users View (same as incoming deps) and Externally Used Elements View (outgoing deps).
There is structure browsing enabled in Model tree view.
Use query field at the top of the screen with element name.
AgileBrowser Search Tree displays all the search results. Tree is updated when search query is entered to search field or when user surfs in the model. Search results are categorized in tree.
There are 3 different types of search matches (those can be seen from the Search Tree image):
All these results contain a tooltip which shows what was match type and what was matched (matched string with capital letters).
Search Tree contains following actions that user can do:
Info View is for obtaining more information of the selected element. If no elements are selected Info panel is empty. Once some element is selected (a SW element or a dependency arrow, doesn't support multiple selection mode) in the main Graph View, the Info panel shows all related attributes. The set of available attributes depends on the model, the type of the selected SW element and the availability of optional, separate attribute files. The following basic attributes are widely available:
Legend View is for displaying all the matching colors and values for selected attributes that user wants to highlight from the graph. If user selects e.g some string valued attribute to be as coloring method. Then Legend View is updated and show all the matching colors with attribute values. Also it is possible to change color by double clicking color from the legend view and then selecting a new color from the RGB picker.
From the figure below it is possible to see how the Legend View looks if type attribute is selected to be as coloring method.
Properties pane in AgileBrowser contains all the content rules for constructing the graph, automatic layouting and attribute highlighting functions. Properties panel looks like following:
Detail level. This parameter adjusts depth of hierarchy in the current view. You can see a description of the current detail level in a tooltip by pointing to this item. "If only one element is visible, try increasing the depth to see what it contains!"
Dependencies. This parameter defines how far the dependency network is traversed.
Post Filter. Filter that is applied in the last phase of graph construction. Visible items can be filtered out using the same rules than in Search Field. See Search language for detailed information.
Dependency types are visible in graphs and as tooltips. The dependency types currently available are:
Automatic layout is used for layouting the currently visible graph. Default layout is default layout and other layouts are applied only when dependencies are available in the graph. Currently following automatic layouts are available:
Attribute highlighting is for element representation. Elements can be colored by attributes, restrict coloring to specific detail level, elements area/height/width can be scaled by using some numeric attributes and Condensed view mode can be toggled on/off.
If numeric attribute is selected to be as element coloring method then coloring uses a green, yellow and red scale to highlight the attribute. Red is used for maximum value and green for the minimum value.
If textual attribute is selected to be as element colouring method then random colours are used and Legend View shows the matching attribute with value to the color.
Restricts coloring to some detail level. Means that if level 3 is chosen to be force color level, then colored elements are only available in detail levels 0-3.
Attributes that have numeric values can be represented as element area size, element width or as element height. Bigger the value then the area/height/width is bigger.
Condensed view mode is a representaton mode where all the child elements are listed inside the leaf element. This is used to get more information into graph in more compact way.
Search Field is used to search some content from the build and represent results in a graphical format. Also the results are displayed in tree format in Search Tree.
The field has a dual role: it may either contain an absolute Element ID, e.g the "address" of an SW element in the SW build, such as "/sf/app/camera" for the camera Package. Or it may contain a search string which can be for example:
Search language provides filtering nodes or dependencies. For example, query phoneapp AND uicontrol means that both of these texts must be found in the element ID. This query is an example of a node filter.
Dependencies can be searched with a dependency operator, (-->) e.g. Query '/sf/app/phone --> /sf/mw produces all immediate dependencies between these elements or their descendants (actual binaries).
The following language elements are supported in the expression/query:
Combining expressions is possible:
{{#if: Note:
Please check if the example queries can help you ("Views and queries" menu)
Open file launches a local file or a directory if it can be found on the computer, using Symbian development environment specific method, so this is not applicable in the context.
Show view in Global Folder View activates the selected element in the leftmost tree view.
New creates an empty model.
Open model file opens a model file to be loaded in the tool. Supported formats are Deps format (use .txt extension), attribute file format (use .csv extension) and XML format, described later (use .xml extension).
Open model from a URL opens a model file to be downloaded and opened from a given URL. Currently supported formats: Architecture XML models, line based : delimited text file, and special trace files (.txt). The type of input is detected automatically.
Open model from System Definition 3.0 file... opens local System Definition file and represents its in graphical format.
Save model to System Definition 3.0 file... saves currently active mode into System Definition file.
Save view to System Definition 3.0 file... saves currently visible graph view into System Definition file.
Inject Attributes from CSV file... adds attributes into the active model from a separate attribute file. CSV file must have element id in the first column (containing / characters, e.g. /sf/app/phone). Other columns are handled as attributes and the corresponding column header is interpreted as the name of the attribute.
Import any data from local file on top of current model... Imports data from local file on top of current model without loosing any existing data.
Import any data from URL on top of current model... Imports data from URL on top of current model without loosing any existing data.
Save View As.. saves current view to a file. File save supports these formats: .svg, .svgz, .jpg, .png, .gif, .ygf, .gml, .graphml. Use one of these extensions as the output file extension to select your desired format.
Save Model As .txt... Saves model in FullDeps format into .txt file. txt model can be opened again from the 'Open model file'.
Report Wizard Contains different types of reporting tools. Currently available only Dependency Info Report.
Export Wizard Contains different types of exporting methods. Currently contains:
Refresh reloads the view based on the last used query and view parameters.
Load Panel Layout Loads user configured panel layout (positions where all the UI panels are docked)
Save Panel Layout Saves user configuration for panel layout (saves the positions for UI panels) and sets this layout to be default.
Reset Panel Layout to Default Resets panel layout to factory layout.
Backward steps backward in the browsing history.
Forward steps forward in the browsing history.
Show Elements Table for Current View Shows the current visible view in a table format.
Show All Elements Table Shows the whole model in a table format.
Show Dependency Table for Current View Shows the current dependencies visible in the view in a table format.
Show All Dependency Table Shows the all dependencies in the model in a table format.
Hide Edges Hides all the visible dependencies from the current graph view.
Several layout algorithms may be invoked for the active view. Hierarchical layout is optimal for well structured and preferably tree type graphs.
Orthogonal layout provides optimal layout for dependency graphs without hierarchical alignment, but tales significantly more time than the other algorithms.
Organic layout is suitable for big and complex structures as it is quick and provides compact output. Most dependent elements will be centered.
Smart organic layout gives better control for defining compactness of the layout.
Organic Edge Router is useful for rerouting edges in the graph. It also makes the graph less compact in case of overlapping edges.
Orthogonal Edge Router is useful for rerouting edges in the graph that is orthogonally structured.
Channel Edge Router enables channel style edges between elements.
Preferences contains general, system, tooltip and node configurations.
Model Information displays the detailed information of the model in textual format.
Transform contains methods for different transformation like:
Run Analysis Locally contains different methods for different analysis e.g for C/C++, Python, PHP, XSL, Java and Doxygen.
Find... (current view) searches keyword from the labels of the visible nodes.
Find from the attributes... (current view) searches the given keyword incasesensitively from the attributes of the visible nodes.
View Compare compares the current view with the corresponding view in another build.
Compare Model Against Local Model File compares the current model against the another model located in local file system.
Propose Dependency Changes in Current View traverses all the dependencies in the current view, and if cycles are found those are colored with red color.
Propose Dependency Changes in Model traverses all the dependencies in the current whole model, and if cycles are found those are colored with red color.
Open Locally Decoded MobileCrash File Opens locally decoded MobileCrash file and maps the symbols from the call stack to the current architecture model, finally visualizing the call stack in the tool. This functionality can be used multiple times without reloading the model and all crash call stacks can be visualized with search query '@mobilecrash'
File Browser scans the file system and creates a structure model with some attribute information about the files.
Copy View Parameters provides a quick way to share views with other users of AgileBrowser. Copied view parameters can be also used locally for manual bookmarking purposes. The view parameters are built into a URL that can be used re-visualize the view extracting the parameters from the URL.
Paste View Parameters pastes the clipboard content and and loads the corresponding view. Note: this requires clipboard to contain URL that has been automatically generated or produced with above mentioned Copy View Parameters functionality.
Copy Visible Elements to Clipboard as Text copies the full identifiers of the visible elements to clipboard as text
Copy Selected Elements to Clipboard as Text copies the full identifiers of the selected elements to clipboard as text.
Copy View to Clipboard as PNG copies the current view as a PNG image file to the clipboard.
Copy copies the selected element(s).
Paste pastes the copied element(s).
View Parameter concept is originally done for parametrizing the Web Start functionality of AgileBrowser 2, therefore the view parameters are transcoded as URL which contains Nokia specific part.
For example:
http://swdocwiki.nokia.com/agilebrowser2/index.php?requested=%22/sf%22&dataFile=SF.MCL_200918.xml&requestedDepth=3&depsLevel=0&dir=both&layoutName=default
This menu contains educational views on different aspects of the model. The different views show how query language works, what kind of filtering can be done and representation options.
Agile Browser 2.0 supports model comparison between two models. Model Comparison is a powerful tool for getting the difference between two models. There are two different types of comparison; Numeric Comparison and Graphic/Table Comparison.
More information about Agile Browser's Model Comparison can be found from Model Comparison.
Agile Browser 2.0 has limited support for forward planning. User is able to view and modify local plans. This feature is highly experimental. More information about Forward Planning can be found from Forward Planning.
View Construction is a feature in AgileBrowser that allows incremental and more powerful construction of views, both programmatically and UI-wise. A view is a set of elements and dependencies and their metadata. View Construction is operation oriented, which means that each view is produced out of a set of operations.
More information about View Construction can be found from View Construction.
Agile Browser 2.0 supports basically 3 different data formats; Architecture Interchange XML, Deps format and Attribute file format.
Model and dependencies (architecture hierarchy, architecture element attribute information and dependencies) information can be imported flexible to Agile Browser by using Architecture Interchange XML format or by Deps format. Deps is simplified data format for architecture data. The latter format supports adding any custom attribute data. Architecture Interchange XML format is focused for software architecture information.
Custom attribute data is used for importing custom data to Agile Browser for visualization on top of the basic architecture model. Examples of such attributes: ”owner”, ”team”, ”tech_domain”. Each element can have several different attributes.
More detailed information about supported data formats can be found from Supported Data Formats.
Here are some use case how tos. These pages are updated all the time to gain a good collection of different how to -instructions.
Take a look of the How To -section.
Please try with launching the start.bat or start.sh file from command prompt at AgileBrowser installation directory. If that complains about java net CookieManager, too old Java is used (e.g. Java 5) is used at the startup. The problem is solved this way: first ensure the latest Java is installed. Then try again, and if that does not work you will need to modify start.bat (or start.sh) file to point to the correct java executable of Java 6. That is done by defining full path of java.exe instead of just plain java, as it is now.
The other way to solve the problem is to modify Java settings under Control Panel (or similar) so that only Java 6 runtime is enabled at the operating system, but there has been some difficulties getting the Java settings really work.