示例#1
0
 public DataAccess(RelationshipGraph graph)
 {
     this.graph = graph;
     //TODO Andreas - hier kannst du umschalten auf Demo-Daten
     //   this.dataBridge = new DataBridgeDemo();
     this.dataBridge = new DataBridgeODIS();
 }
示例#2
0
 public GraphFactory()
 {
     graph         = new RelationshipGraph();
     layoutFactory = new LayoutFactory <VertexModel, EdgeModel, RelationshipGraph>();
     undoRedo      = new UndRedo <ToggleUndoRedoStep>();
     UpdateRelationshipInfo();
     dataAccess = new DataAccess(graph);
 }
示例#3
0
 public EventSupressor(RelationshipGraph graph)
 {
     this.graph = graph;
     this.graph.IgnoreEvents = true;
 }
示例#4
0
 public RelationshipInfo(RelationshipGraph graph, IDictionary <VertexModel, Point> layout)
 {
     Graph  = graph;
     Layout = layout;
 }