This is an old revision of the document!


PHP's gd library is missing or unable to create PNG images

What is New in Dinamica EGO 3

Dinamica EGO 3 features a completely new graphical interface. The new features include:

Features

  • Better model edition tools;
  • New model editor that allows several models to be open simultaneasly;
  • The local submodels belonging to a model are presented together with the model itself;
  • Copy and paste parts of a model;
  • Print a model;
  • Many more!

A comprehensive list of changes can be seen below:

Models

  • It is possible to drag several models simultaneously to the script editor to open them.
  • The open model dialog allows several model filenames to be selected simultaneously.
  • The interface does not hang while a model is being loaded.
  • Open models can be reordered by their corresponding tabs.
  • It is possible to close all open models simultaneously.
  • It is possible to save all open models simultaneously.
  • Closing the application asks which modified models should be saved.
  • The editor decides automatically if a script editor draft should be discard or kept when opening new models.
  • Models open from read-only filenames are identified by an special icon on the script editor.
  • It is possible to print the current model. The visual representation of the model and editor content for all visible functors + comments + alias are printed. When printing the model details, the functors are rendered with a corresponding id visible, making easy to match the visual representation of the functor and its content.
  • Local submodels are presented with their corresponding model, allowing changes in the submodel to be applied immediately to the model.
  • The menu of recently open files asks whether a model that failed to open should be removed from the list.

Functor Library

  • The functor library allows functors to be searched.
    • The search has filters allowing functors to be searched by their names, descriptions and information of their ports.
    • The search for functors can be performed using the special filters is:container, is:loop, is:carrier, is:hook, is:mux, is:junction, is:loader, is:saver, is:submodel, is:systemsubmodel, is:usersubmodel, is:localsubmodel.
    • It is possible to type the terms that should be used by the search and then check the result on the on the other library tabs.
  • Funtors are split in general, submodel, favorites and local submodels.
  • Hovering the mouse on a functor gives access to a context action bar with options to manipulate favorites, see the functor documentation etc.
  • User submodels can be edited from the functor library.
  • It is possible to flag functors and submodels as favorites.
  • It is possible to collapse and expand the group of functors from the list.
  • It is possible to scroll the library content using the mouse-wheel.
  • The creation of certain functors also instantiate some accessory functors, e.g, CalculateMap also instantiate a NumberMap, CalculateLookupTable also instantiate a NumberTable etc.
  • Functors can be created dragging their names to the script editor.
  • Dragging the name of a functor to the script editor while pressing Shift automatically connects the input of the new functor to the output of the functor currently selected.

Script Editor

  • No more edition modes.
  • New presentation of functors and containers.
  • Select a functor to drag it, insert it and remove it from containers.
  • Visual feedback showing whether a functor can be inserted in a container or not.
  • It is used a distinct pattern to differentiate a collapsed container from other functors.
  • Lines connecting functors inside collapsed containers are represented by a single line.
  • Type of the line connecting functors represent the type of connection:
    • Connection between functors: regular line.
    • Connection between non-visible functors inside a container or between functor and non-visible functor inside a container: think line.
  • Context toolbar visible next to the selected functor (functor action bar) showing the options that can be applied to that functor. The system places the action bar automatically to ensure its visibility. The action bar representation changes automatically to make clear which functor is selected.
  • Options to collapse and expand functors:
    • It is possible to collapse only the most internal functors.
    • It is possible to collapse all functors.
    • It is possible to expand all functors.
    • It is possible to collapse and expand all functors back to their saved state.
  • Zoom in and out can be performed using mouse wheel. The zoom is centered around the current mouse position.
  • It is possible to pan the model view by dragging the right mouse button.
  • Dragging a functor hides all connections, except the ones connecting the functor.
  • Removing an ambiguous connection shows a dialog where the user can choose which connection will be removed.
  • Connecting two functors shows the connection dialog box when the connection is ambiguous.
  • Layout will center the model presentation on the functor currently selected. If no functor is selected, the whole model will be shown. If more than one functor is selected, the presentation will be centered on the resulting bounding box.
  • It is possible to copy, cut and paste selected functors. Functors will be always pasted on the visible portion of the screen.
    • Copying a container will copy its content as well.
    • Copying the content of a container does not copy the container itself.
    • All ports bound to functors that are not being copied are disconnected.
  • It is possible to zoom and pan the model view using the overview painel.
  • Invalid model cycles are presented visually in the script editor.
  • The model is validated automatically during the functor manipulation. Functors and invalid connections are identified visually and also presented in a list (issue pane).
  • It is possible to drag and drop map, tables and weights of evidence filenames directly in your model. The functors responsible for loading each file are automatically created.
  • After selecting a connection between functors, it is possible to navigate the connected functors, visualize the connection bounding box and/or expand the connected functors.
  • It is possible to automatically create a group around selected functors. It is also possible to remove a group containing other functors.
  • It is possible to automatically create special containers (such as loops) around selected functors.
  • Special buttons can be used to automatically select all functors, clear the current selection or select only the child functors of a container.
  • The model overview, issue pane and explorer are visible only when the model is visible on the graphical interface.
  • Double clicking a functor edits the functor inputs. If the functor does not have any editable inputs, double clicking edits its comments.
  • Collapsing or expanding a container does not trigger a modification in the current model.

Functor Edition

  • Improved layout for editors in the functor editor dialog.
  • It is possible to detach complex port editors from the functor editor dialog e edit them in a separated window.
  • Complex port editors now fill all the available area in the editor dialog when they are the only editor.
  • Editable inputs that are connected to other outputs can be disconnected directly from the functor editor dialog.
  • Inputs whose correction depends on the value of other inputs are validated by the functor editor dialog.
  • It is possible to revert the content of optional inputs back to their default values. This also includes binding auto-bound input to the internal compatible output of a parent container.
  • Expressions used by CalculateMap, CalculateLookupTable, CalculateValue etc are rejected when identifiers not bound to any corresponding NumberMap, NumberTable or NumberValue are used.
  • The expression editor shows which identifiers [iX, tX and vX] area available to be used.
  • When editing a carrier, the comment and alias from the carrier itself are used as the port description and name by the functor editor dialog.
  • Editing hooks now fills the index automatically using the most appropriate value to avoid repetitions.

Help

  • The functor documentation is shown in a dockable panel.

Issue Pane

  • The list of current model issues is automatically updated while editing the model.
  • The list is organized as a tree of functor with their corresponding issues as the functor children.
  • It is possible to collapse and expand items from the list.
  • It is possible to search for specific issues:
    • Issues from the list can be searched by their corresponding functor names, alias and error messages.
    • Issues can be searched using special filters is:container, is:loop, is:carrier, is:hook, is:mux, is:junction, is:loader, is:saver, is:submodel, is:systemsubmodel, is:usersubmodel, is:localsubmodel. These filters operates over the corresponding functor.
  • It is possible to locate the functor from the corresponding issue in the issue list and to find the issue from the corresponding functor in the model view.
  • The issue pane of a model is visible only when the corresponding model is visible on the interface.
  • The total issues of a functor is visible according to the current search criteria.
  • Trying to run a model with pending issues brings a confirmation dialog asking if the user would like to proceed.
  • Reported Issues:
    • Invalid functor cycles.
    • Invalid cycles formed by internal input ports of a container and the container content.
    • Missing input connection.
    • Incompatibility between null value and cell type. 1)
    • Invalid null value. 2)
    • Cell type can not be used by categorization.
    • Missing container hooks such as NumberMap, NameMap etc. 3)
    • Undefined identifiers used by expression. 4)
    • Invalid operations used in expressions by certain kinds of functors, e.g, line, column and functions nbXXXX use in a CalculateValue. 5)
    • Definition of the same index by several hooks on the same container (Select's, Calculate's etc).
    • Warning for Muxes placed directly inside a model script.
    • Warning about identifiers defined but not used by an expression.
    • Warning about the possible performance penalty when using some specific cell types.
    • Warning about editing the feedback port from Muxes.
    • Warning about Steps whose inputs are connected to some other functor.
    • Warning about Steps whose inputs are being edited.
    • Warning about Steps placed outside loop containers.
    • Warning about carrier outputs not connected to any other functors.
    • Validation of the parameters of a CreateCubeMap.
    • Warning about hooks being used outside the appropriate containers.

Explorer

  • Informação de desempenho de cada functor é atualizada automaticamente quando o modelo corrente é executado.
  • É mostrado o tempo acumulado para a execução de cada functor do modelo.
  • Os functors são visualizados de forma hierarquica sendo que os containers são mostrados como pais de seus functors filhos.
  • É possível expandir e colapsar os elementos da árvore de functors.
  • É possível fazer busca de functors da árvore por seus nomes, alias, descrições, ???. Os pais dos functors encontrados são sempre visíveis. O tempo total do script é atualizado para refletir o tempo acumulados dos functors visíveis.

Submodelos

  • Submodelos locais podem ser definidos em pasta com o nome do modelo, trocando os pontos por “_” e seguido por “_Submodelos”. Ex: O script “teste.egoml” pode definir seus submodelos em uma pasta “teste_egoml_Submodels”. A pasta “Submodels” local ainda por ser usada para compatibilidade com as versões anteriores.
  • Submodelos também poder definir submodelos locais [esse recurso ainda não ser editado na interface gráfica, mas eles são lidos e gravados normalmente]. A definição pode incluir outros submodelos locais.
  • É possível selecionar um grupo de functors e transformar a seleção em um submodelo. A seleção será substituída pelo submodelo criado. Os portos conectando a seleção de functors aos demais functors do modelo são usados como portos de entrada e saída do submodelo. É sugerido nome único inicial para o submodelo que será criado.
  • Functor que possuem portos exportados pelo submodelo ao qual o functor pertence é mostrado com representação especial.
  • É possível definir os ícones 16×16 e 32×32 pixels usados pela representação do submodelo.
  • Nomes dos portos dos submodelos são sugeridos automaticamente com base nos portos e functors selecionados :
    • Os nomes dos portos de entrada e suas descrições são sugeridos da seguinte forma: caso o porto que será exportado pertença a carrier, o alias e descrição do functor será usado como nome e descrição do porto, caso eles estejam definidos; senão, caso o porto que será exportado esteja conectado a functor, o alias e descrição do functor será usado como nome e descrição do porto, caso eles estejam definidos; senão, será usado o nome e descrição do porto original.
    • Os nomes dos portos de saída e suas descrições são sugeridos da seguinte forma: caso o porto que será exportado pertença a carrier, o alias e descrição do functor será usado como nome e descrição do porto, caso eles estejam definidos; senão, caso o porto que será exportado esteja conectado a functor que seja carrier, o alias e descrição do functor será usado como nome e descrição do porto, caso eles estejam definidos; senão, será usado o nome e descrição do porto original.
  • Criação de submodelos insere automaticamente carriers nos submodelos para evitar que os submodelos criados tenham portos de entrada redundantes.
  • A qualquer momento, é possível aplicar ou descartar as modificações de um submodelo local.
  • Os erros ocorridos dentro dos submodelos locais são mostrados visualmente pela interface.
  • Submodelos locais podem ser importados por outros scripts. A importação inclui todas a dependências dos submodelos.
  • É possível importar submodelos do usuário e submodelos globais e torná-los submodelos locais de um script. Desse modo, o seu conteúdo pode ser editado e o submodelo modificado usado no script.
  • É possível tornar qualquer submodelo local e suas dependências um submodelo do usuário.
  • É possível renomear as entradas e saídas de um submodelo local mantendo as conexões anteriores dos functors do submodelo.
  • Validação contínua se o uso dos submodelos causa ciclos nas definições.

Wizard?

Functor

  • New experimental parallel loop container (ParallelForEach).
  • Functors used to manipulate sub-regions now can also be used to manipulate cells outside the region.
  • Submodel ExpandKeysToColumns was optimized.
  • The carrier name Bool was changed to BooleanValue.
  • The carrier name NonNegativeInt was changed to NonNegativeIntegerValue.
  • The carrier name PositiveInt was changed to PositiveIntegerValue.
  • The carrier name Int was changed to IntegerValue.
  • The carrier name Double was changed to RealValue.
  The new names are consistent with the name of functors such as CalculateValue [Calcula any value], MuxValue [provides feedback for any value] etc.
                                  

Types

   * Bool is now known as BooleanValue.
   * NonNegativeInt is now known as NonNegativeIntegerValue.
   * PositiveInt is now known as PositiveIntegerValue.
   * Int is now known as IntegerValue.
   * Double is now known as RealValue.

General

  • Checking model changes does not fill the log with expurious content.
  • It is possible to scroll through the tabs of any tabbed pane presented by the application using the mouse wheel.
  • The application title is now “Dinamica EGO 32” for the 32-bit version and just “Dinamica EGO” for the 64-bit version. In the previous version, it was the opposite.
  • Fixed issues in various functors.
  • The automatic detection of the number of processors now finds a maximum of 10 processors. This value can be increased or decreased manually, if necessary.
  • The application can now maximizes correctly even when several screens are being used.

License

  • Now the software can also be used by commercial institutions for commercial purposes.
1) , 2) , 3) , 4) , 5)
Also validated by the functor editor dialog