// import { ChronoGraph } from "../../src/chrono/Graph.js" // import { Base } from "../../src/class/Base.js" // import { Entity } from "../../src/replica/Entity.js" // import { reference } from "../../src/replica/Reference.js" // import { bucket } from "../../src/replica/ReferenceBucket.js" // import { Replica } from "../../src/replica/Replica.js" // import { Schema } from "../../src/schema/Schema.js" // import { CytoscapeWrapper } from "../../src/visualization/Cytoscape.js" // // declare const StartTest, document : any // // StartTest(t => { // // t.it('Author/Book with commits', async t => { // // const graph : ChronoGraph = ChronoGraph.new() // // // // const i1 = graph.variableNamed('i1', 0) // // const i2 = graph.variableNamed('i2', 10) // // // // const c1 = graph.identifierNamed('c1', function* () { // // return (yield i1) + (yield i2) // // }) // // // // const c2 = graph.identifierNamed('c2', function* () { // // return (yield i1) + (yield c1) // // }) // // // // const c3 = graph.identifierNamed('c3', function* () { // // return (yield c1) // // }) // // // // const c4 = graph.identifierNamed('c4', function* () { // // return (yield c3) // // }) // // // // const c5 = graph.identifierNamed('c5', function* () { // // return (yield c3) // // }) // // // // const c6 = graph.identifierNamed('c6', function* () { // // return (yield c5) + (yield i2) // // }) // // // // graph.commit() // // // // const wrapper = CytoscapeWrapper.new({ graph : graph }) // // // // wrapper.renderTo(document.getElementById('graph')) // }) // })