Пример #1
0
        internal static GeometryGraph CreatePhyloTree(PhyloTree drawingTree)
        {
            var creator   = new GeometryGraphCreator(drawingTree);
            var phyloTree = new Prototype.Phylo.PhyloTree();

            creator.FillPhyloTree(phyloTree);
            AssignLengthsToGeometryEdges(phyloTree);
            return(phyloTree);
        }
Пример #2
0
 /// <summary>
 /// Creates the corresponding layout settings.
 /// </summary>
 /// <returns>The created layout settings.</returns>
 public virtual SugiyamaLayoutSettings CreateLayoutSettings()
 {
     return(GeometryGraphCreator.CreateLayoutSettings(this));
 }
 /// <summary>
 /// creates the geometry graph corresponding to the tree
 /// </summary>
 public override void CreateGeometryGraph()
 {
     this.GeometryGraph = GeometryGraphCreator.CreatePhyloTree(this);
 }
 internal static GeometryGraph CreatePhyloTree(PhyloTree drawingTree) {
     var creator = new GeometryGraphCreator(drawingTree);
     var phyloTree = new Prototype.Phylo.PhyloTree();
     creator.FillPhyloTree(phyloTree);
     AssignLengthsToGeometryEdges(phyloTree);
     return phyloTree;
 }
Пример #5
0
 /// <summary>
 /// creates the geometry graph corresponding to the tree
 /// </summary>
 public override Core.Layout.GeometryGraph CreateGeometryGraph()
 {
     return(this.GeometryGraph = GeometryGraphCreator.CreatePhyloTree(this));
 }