Beispiel #1
0
 public D2DEdgeBundlingScene(StoryTable st, ForceParameters f, bool showLocationLines)
 {
     this._st = st;
     this._f = f;
     this._showLocationLines = showLocationLines;
     brushes = new Dictionary<string, D2D.SolidColorBrush>();
 }
Beispiel #2
0
        public StoryDrawingManager(Dictionary <string, object> layoutObjects, DataTable dt, StoryType st, ForceParameters f)
        {
            this._storyType     = st;
            this._layoutObjects = layoutObjects;
            this._dt            = dt;
            this._meta          = new Dictionary <string, object>();
            refresh             = RefreshMeta();

            this._forceParameters = f;
        }
Beispiel #3
0
 public Storygraph(DataTable data, bool isForceSelected, ForceParameters f)
 {
     InitializeComponent();
     svm = new StoryViewModel(this, data, isForceSelected ? StoryType.STORYGRAPHWFORCE : StoryType.STORYGRAPH, f);
     this.DataContext = svm;
 }
Beispiel #4
0
 public StoryViewModel(IGraph sg, DataTable dt, StoryType storyType, ForceParameters f)
 {
     _dm = new StoryDrawingManager(sg.GetLayout(), dt, storyType, f);
 }