Enhancement #7276

Make prettyPrintTG available via SCL from Simantics/DB-module

Added by Jani Simomaa 6 months ago. Updated 4 months ago.

Status:ClosedStart date:2017-05-29
Priority:4Due date:2017-06-04
Assignee:Jani Simomaa% Done:

100%

Category:-Spent time:-
Target version:2017-24
Release notes:Introduced new function <code>prettyPrintTG</code> for printing Simantics tg's to human readable format
Tags: 1.30.0
Story points-
Velocity based estimate-

Description

Some fixes and enhancements in order to make PrettyPrintTG available via SCL from "Simantics/DB" with function prettyPrintResource :: Resource -> <ReadGraph, Proc> String. Also adding support for printing other resources than shared libraries

Associated revisions

Revision 1cc487c3
Added by Jani Simomaa 6 months ago

Make prettyPrintTG available via SCL from Simantics/DB-module

refs #7276

Change-Id: I640f4cb6d929482577ed8874e6b8fadcaa05ba64

Revision aea3e7b1
Added by Jani Simomaa 6 months ago

Lots of fixes for PrettyPrintTG

  • Ordering predicates alphanumerically for deterministic ordering
    between two databases
  • Filtering L0.identifier statements
  • Hash-based naming for blanks for ordering output print

Still needs some optimiziations to improve performance lost with these
changes..

refs #7276

Change-Id: I6848b319094863a8c85e4deca91df721b1642ce7

Revision 839ee9ef
Added by Jani Simomaa 6 months ago

Fixing PrettyPrintTG to not concatenate strings in logging

However, creates unnecessary Object[] now..

refs #7276

Change-Id: Icc78a9c39f147f52f5b75ed5b7fcedf200293ea8

Revision 17b717c7
Added by Jani Simomaa 6 months ago

More meaningful debug printing to PrettyPrintTG

Also removing commented out code

refs #7276

Change-Id: I1aee2b8424444a7ee0b3a08be31dbc3375b3e21f

History

#1 Updated by Tuukka Lehtonen 6 months ago

  • Due date set to 2017-06-04
  • Target version set to 2017-22
  • Start date set to 2017-05-29

#2 Updated by Jani Simomaa 6 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

#3 Updated by Jani Simomaa 6 months ago

  • Target version changed from 2017-22 to 2017-24

#4 Updated by Tuukka Lehtonen 6 months ago

  • Tags set to 1.30.0

#5 Updated by Jani Simomaa 4 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100
  • Release notes set to Introduced new function <code>prettyPrintTG</code> for printing Simantics tg's to human readable format

Also available in: Atom PDF