Skip to content

Generation Process

naraesk edited this page Mar 4, 2019 · 2 revisions

This page is out of date! It applies only to generator but not to generator2.

General

  • The different visualizations of metaphors are generated in three steps
  • These three steps are included in packages which belong to the org.svis.generator project
  • In each one of them are files containing the Number two in their name, those are the transforming components the other classes have a supporting purpose.

Generation Steps

1 Source to Model (s2m)

  • First the Source to Model package analyzes a document which can either be famix,dynamix or hismo.
  • Then the generator filters information which is relevant for the visualization and creates a model of the chosen metaphor.

2 Model to Model (m2m)

  • With the information given the Model 2 Model package constructs the Layout based on the model passed from s2m

3 Model to Target (m2t)

  • In this final step an output file is created, most likely a X3D file