Ejemplo n.º 1
0
        internal static GeometryGraph CreatePhyloTree(PhyloTree drawingTree)
        {
            var creator   = new GeometryGraphCreator(drawingTree);
            var phyloTree = new Microsoft.Msagl.Prototype.Phylo.PhyloTree();

            creator.FillPhyloTree(phyloTree);
            AssignLengthsToGeometryEdges(phyloTree);

            return(phyloTree);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates the corresponding layout settings.
 /// </summary>
 /// <returns>The created layout settings.</returns>
 public virtual SugiyamaLayoutSettings CreateLayoutSettings()
 {
     return(GeometryGraphCreator.CreateLayoutSettings(this));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// creates the geometry graph corresponding to the tree
 /// </summary>
 public override void CreateGeometryGraph()
 {
     this.GeometryGraph = GeometryGraphCreator.CreatePhyloTree(this);
 }