User Experience Stack Exchange is a question and answer site for user experience researchers and experts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our group developed a stream-oriented NetFlow query language, called NFQL.

Given that it can have multiple filtering/grouping stages and a number of branches, defining a query in a text file can become cumbersome. Therefore, we would like to develop a browser-based interface for defining these queries.

A user is initially presented a layout with a single branch. An interface would feature an "Add branch" button, which adds more branches and rearranges the layout to accommodate all of them (similar to the layout shown in this figure). After that a user can click on individual stages (depicted as rectangles), which would open a dialog box where a user can specify query rules for that particular stage.

My question is: how can branches be added dynamically? Would using d3.js's transitions suffice to do that or is there a better way of doing that?

share|improve this question

closed as not constructive by JonW Feb 23 '13 at 0:01

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Sorry, but questions requesting recommendations for books / software / apps / tools etc. would fall into the shopping request category and aren't really suitable to a Q&A website. The reason for this is that there is no one correct answer, and such recommended items would soon be updated and replaced with newer / better versions making the best answers redundant. Therefore you're better off visiting our Chat site for such discussions, they're not really suitable for this main site I'm afraid. – JonW Feb 23 '13 at 0:01
Nikolay, do you want to enhance usability of your solution or just need some technology insights? – Renat Gilmanov Feb 23 '13 at 2:33
Nikolay, please create similar question with more details using the main site I have some information for you. – Renat Gilmanov Feb 23 '13 at 3:18