Hi,Great work Dakshika.--On Fri, Nov 28, 2014 at 1:09 PM, Dakshika Jayathilaka <firstname.lastname@example.org> wrote:Yes gayan.. d3js include tidy algo inbuit. it can handle any number of nodes. Normally binary tree algo can't handle more than two.Dakshika JayathilakaSoftware EngineerWSO2, Inc.lean.enterprise.middleware0771100911On Fri, Nov 28, 2014 at 1:02 PM, Gayan Gunarathne <email@example.com> wrote:Great work and nice findings of algorithm Dakshika!
Is that algorithm supports more than 2 Siblings per parent?--On Fri, Nov 28, 2014 at 10:25 AM, Sajith Kariyawasam <firstname.lastname@example.org> wrote:Great work Dakshika !Just a thought, can this be supported with expand / collapse options? which I think be useful when the number of nodes are high..--On Fri, Nov 28, 2014 at 10:14 AM, Shiroshica Kulatilake <email@example.com> wrote:Looks spiffy !!I was going to ask the same question as Chamila :)
Would it be useful to have the status shown in a label against the node ?--On Fri, Nov 28, 2014 at 10:09 AM, Chamila De Alwis <firstname.lastname@example.org> wrote:Great work Dakshika!
Will there be a legend to indicate which colors represent which statuses?On Fri, Nov 28, 2014 at 10:04 AM, Lakmal Warusawithana <email@example.com> wrote:Great work!On Fri, Nov 28, 2014 at 10:01 AM, Imesh Gunaratne <firstname.lastname@example.org> wrote:Hi Dakshika,Fabulous work!! This is one of the key elements of the dashboard.I would like to propose use three simple colours like "Orange", "Green" and "Red" to represent "Inactive", "Active" and "Terminating" states of each element. WDYT?+1Thanks--On Fri, Nov 28, 2014 at 9:36 AM, Dakshika Jayathilaka <email@example.com> wrote:Hi Devs,I'm planning to add topology view tree to application detail view page. We had suggestion thread and i have came up with solution based on d3js which include automatic node positioning with Reingold–Tilford “tidy” algorithm.
I have created three icons based on our requirement. (Application, Group, Cluster and Member). Each node on the tree will include extra information on hover. Also we need to finalize colors of each node depending on the status.Current status levelsMemberStatus - Created, Starting, Activated, In_Maintenance, ReadyToShutDown, Suspended, TerminatedApplicationStatus - Created, Active, Inactive, Terminating, TerminatedClusterStatus - Created, Active, Patching, Inactive, Terminating, TerminatedGroupStatus - Created, Active, Inactive, Terminating, TerminatedSeems we need to coloring only the important status and need to show keys on screen. Also Current tree is not live updating, so i'm planning to add refresh button to get latest status on topology.WDYT?please be kind enough to add your valuable feedback. You can check code demo on my personal repo and live screenshot attached. Dashboard for the Composite Application based on status changes http://htmlpreview.github.io/?https://github.com/dakshika/stratos-app-editor/blob/master/topologyviewer.htmlImesh GunaratneTechnical Lead, WSO2Committer & PMC Member, Apache Stratos--Sajith KariyawasamCommitter and PMC member, Apache Stratos,WSO2 Inc., http://wso2.comAMIE (SL)Mobile: +94772269575Gayan GunarathneTechnical LeadWSO2 Inc.