Org.simantics.graph

From Developer Documents
Jump to navigation Jump to search

Introduction

The org.simantics.graph feature provides a textual graph database source editing environment that integrates into the Eclipse IDE.

The feature adds a new project nature and builder for Java/Plug-in projects to support development of .pgraph partial graph source files. The environment will compile all partial graphs with in a project into a single transferable graph /graph.tg. Simantics applications will then be able to integrate this transferable graph into handled databases.

The environment also allows you to add the graph compilation nature to any project from the project's context menu Configure/Add graph compilation.

Plugins

Org.simantics.graph.png

org.simantics.graph
Utilities creating, browsing and editing transferable graphs.
org.simantics.graph.db
Importing transferable graphs to Simantics database and exporting fragments of the database as a transferable graph.
org.simantics.graph.compiler
Translates textual graph format to transferable graphs. Additionally generates resource files.
org.simantics.graph.ui
Eclipse editor, builder and nature for textual graph format and transferable graphs.

Download

The graph development environment is distributed using an update site at http://dev.simantics.org/update.

Release notes

1.0.7
Supports loading literal data from external files (the file name given relative to the directory containing the graph file)
  • @L0.loadBytes "filename"
  • @L0.loadString "filename"
  • @L0.loadDataValue "filename"
Check for the number of template arguments
1.0.5
Changed endianness of transferable graphs.
1.0.3
Fix: When templates with literals were applied, the literal values were put to wrong resources.
1.0.2
Source files are sorted in order to generate identical tgs for identical source files (not necessarily enough, there may be some identity hash maps).
Deprecated resources are marked deprecated in resource files.
Fix: Compiler closes handles to graph.tg files
1.0.1
Reading input files in UTF-8
1.0.0.201008241242
Feature: loads graph.tg:s also from target platform
Feature: New notation Foo."Bar"
Fixed bug in loading graph.tg from dependencies
Fixed bug in automatic creation of inverses for relations whose superrelations have also generated inverses
Feature: Reporting missing URI for relations whose inverse has a URI
Fixed bug in locating lexing errors
Some optimizations in parser