This Tcl command is used to open a storage. It takes one, two or three arguments:
The storage name is a legal name for the e4Graph driver selected. The rest of the arguments are alternating option names and values. The following options are supported:package require tgraph tgraph::open storage-name ?option val ...?
The tgraph::open command returns a Tcl object representing the new storage just opened. If a storage is opened multiple times, the same Tcl object is returned on subsequent calls to tgraph::open. The Tcl storage object can be used to operate on the e4Graph storage object.
Here is an example showing how to open an e4Graph storage from Tcl and save the returned object in a Tcl variable for future use.
set mystorage [tgraph::open foo.db]