The tgraph::version Command

This Tcl command returns version information about the version of the e4Graph library currently being used, and about the version of the library used to write a specific storage. It takes one of two forms:

package require tgraph 1.0
set lv [tgraph::version]
set sv [tgraph::version foo.db]

The first form shows how to retrieve version information for the version of e4Graph currently being used. The second form demonstrates retrieval of version information from an existing storage; it returns the version information of the version of e4Graph that most recently committed the storage.