Skip to content

Latest commit

 

History

History
46 lines (23 loc) · 2.57 KB

File metadata and controls

46 lines (23 loc) · 2.57 KB

KTBS BIB JS

The KTBS_BIB_JS is a JS package used to communicate with KTBS ( Kernel of Trace Based Systems ) on the client side. Samotraces.js provides a set of tools to visualise and manage traces. We have added a tools to visualize a model for this framework.

Trace management

Samothraces.js offers differents class for creating traces, storage traces and obsels in KTBS and retrieving all the informations about stored traces from the KTBS :[KTBS.Resource.js] (https://github.com/fderbel/Assistant-Samo-Trace-Me/blob/master/ktbs_bib_JS/SamoTrace/core/KTBS.Resource.js), KTBS.Base.js , KTBS.Trace.js, [Obsel.js] (https://github.com/fderbel/Assistant-Samo-Trace-Me/blob/master/ktbs_bib_JS/SamoTrace/core/Obsel.js)

Trace visualisation

Samotraces.js offers differents trace visualisation widgets. Each widget provide a graphical user interface.

For more information about the widget in samotrace.js, have a look on this link : http://dsi-liris-silex.univ-lyon1.fr/bmathern/samotraces/doc/Samotraces.UI.Widgets.html

Model visualisation

We have added classes to samotraces.js that allows the visualization of model :

use

  current_obsel1	= new Samotraces.Selector('obsel');
  
  new Samotraces.UI.Widgets.ObselTypeInspectorCocher('obselinspector1',current_obsel1);
  
  model = new Samotraces.KTBS.Model(dataModel);
  
  Mod = new Samotraces.UI.Widgets.DisplayModel ('model1',model,options);
  
For a detailed description of the framwork samotraces.js please have a look on its official documentation

http://dsi-liris-silex.univ-lyon1.fr/bmathern/samotraces/doc/index.html