Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-08-20 Thread Mohamed Fawzan
Hi Srinath, Here is the status of the project. as I tried some techniques to draw the canvas with the interactions, I figures out that I was making a mistake when I try the following things. Drawing the static thing in the canvas is OK, but as per the meeting I was asked to put operators inside a

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-08-20 Thread Srinath Perera
Please send an update? we need to finish tomorrow I think. On Tue, Jul 28, 2015 at 3:52 PM, Mohamed Fawzan wrote: > Hi srinath, > > I.m in the exam week. Will send an update by friday. Please excuse. > > > On Tue, Jul 28, 2015 at 3:05 PM, Srinath Perera wrote: > >> please send an update. >> >>

[Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-28 Thread Mohamed Fawzan
Hi srinath, I.m in the exam week. Will send an update by friday. Please excuse. On Tue, Jul 28, 2015 at 3:05 PM, Srinath Perera > wrote: > please send an update. > > On Thu, Jul 9, 2015 at 9:25 AM, Mohamed Fawzan > wrote: > >> Is this similar to what you have in your mind? >> >> graph = { >> >

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-28 Thread Srinath Perera
please send an update. On Thu, Jul 9, 2015 at 9:25 AM, Mohamed Fawzan wrote: > Is this similar to what you have in your mind? > > graph = { > >nodeA : { >in : [ nodeB ], >out : [nodeC, nodeE] > }, > > nodeB : { >in : [nodeM],

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-08 Thread Mohamed Fawzan
Is this similar to what you have in your mind? graph = { nodeA : { in : [ nodeB ], out : [nodeC, nodeE] }, nodeB : { in : [nodeM], out : [nodeA] }, } -Regard

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-08 Thread Srinath Perera
Typically, graph are represented by list if vertices and list of edges. Each vertice can keep a list references to incoming and outgoing edges On Thu, Jul 9, 2015 at 8:28 AM, Mohamed Fawzan wrote: > Yes, we can track the added streams an throw an error when we get the same > stream more than o

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-08 Thread Mohamed Fawzan
Yes, we can track the added streams an throw an error when we get the same stream more than once. One more question on building the graph, i am struggling to find a optimal data structure to sotre the graph information, because unlike regular graphs, a particular node in our graph will have two ve

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-08 Thread Srinath Perera
not often, as that will lead to circles. Can we detect and give a error when he try to add a stream to canvus. On Wed, Jul 8, 2015 at 7:16 PM, Mohamed Fawzan wrote: > Hi Srinath, > > When we compose the query, Can we have the same stream appear twice in the > canvas? > > -Regards > > > > On Mon,

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-08 Thread Mohamed Fawzan
Hi Srinath, When we compose the query, Can we have the same stream appear twice in the canvas? -Regards On Mon, Jul 6, 2015 at 8:29 AM, Mohamed Fawzan wrote: > Hi Srinath, > > > I have removed the Drawing feature as I have encountered a bug, Looks like > the 'click' event in d3 automatically

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-05 Thread Mohamed Fawzan
Hi Srinath, I have removed the Drawing feature as I have encountered a bug, Looks like the 'click' event in d3 automatically triggers a 'drag' event as well. I have tried to set a Flag and resolve the issue. But it seems that only Opera (Web Browser) has the issue. Chrome and FF works fine. I wil

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-05 Thread Srinath Perera
I tried to draw, but failed. Can you do a small screencast on how to draw and connect. On current palette, everything looks same, we need to indicate queries are different than other operators. --Srinath On Fri, Jul 3, 2015 at 8:39 PM, Mohamed Fawzan wrote: > Hi Srinath, > > As per our discuss

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-07-03 Thread Mohamed Fawzan
Hi Srinath, As per our discussion, I have modified the UI[1] . here is the list of updated features, 1. I have added an operator to compose queries. (icon : query). 2. Other operators can be dropped to query boxes(cannot dropped outside the query boxes), Also it can only be

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-23 Thread Mohamed Fawzan
Hi Srinath, I have found a workaround for connecting elements with click & click. I will update the demo soon with the (progress of) improvements we have discussed in the meeting on 19th. . -Regards On Mon, Jun 15, 2015 at 5:13 AM, Mohamed Fawzan wrote: > Hi Srinath. > > I have added support

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-14 Thread Mohamed Fawzan
Hi Srinath. I have added support for large file names in the streams [1] by showing the part of the stream name in the rectangle element. When you *hover * you can see the* full stream name. *Also when the user drag the element to the canvas, he get the same

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-12 Thread Srinath Perera
yes that is OK. On Fri, Jun 12, 2015 at 4:25 PM, Mohamed Fawzan wrote: > Yes. It is a good time. I can take the 6.00AM Train from kandy. Can reach > colombo by 10.00 i guess. Is it o? > > > On Friday, June 12, 2015, Mohamed Fawzan wrote: > >> Understood. Thanks Srinath. >> >> On Friday, June 12

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-12 Thread Mohamed Fawzan
Yes. It is a good time. I can take the 6.00AM Train from kandy. Can reach colombo by 10.00 i guess. Is it o? On Friday, June 12, 2015, Mohamed Fawzan wrote: > Understood. Thanks Srinath. > > On Friday, June 12, 2015, Srinath Perera > wrote: > >> Input and output streams are the same thing. Some

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-12 Thread Srinath Perera
Input and output streams are the same thing. Sometimes, a stream can be both inputs and outputs E.g. Stream 2. [image: Inline image 1] On Thu, Jun 11, 2015 at 1:53 PM, Mohamed Fawzan wrote: > Hi Srinath, > > Can you please help me to understand the streams? I mean the InputOutputNode > in. > >

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-11 Thread Mohamed Fawzan
Hi Srinath, Can you please help me to understand the streams? I mean the InputOutputNode in. InputOutputNode : { connectionName : 'StockQuoteStream', connectionType :'Stream', connectionTypeDetails : 'para1:string, para2:int' } In the layout[1] I have

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Mohamed Fawzan
Hi, On Thu, Jun 11, 2015 at 8:04 AM, Srinath Perera wrote: > Need names inside canvas as well. ( need to handle large names). > > What are the children of streams? attributes? > I was planning to categorize streams there. Please see the updated names here[1].

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Srinath Perera
Need names inside canvas as well. ( need to handle large names). What are the children of streams? attributes? I would rather connect streams and operators, then click on operator and pick which attribute/ or attributes you use. If so I would not show children against streams. On Thu, Jun 11, 201

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Mohamed Fawzan
Hi Srinath, I have just added the streams names inside the rectangles [1] . Please check and comment on it. -Regards [1] - http://vc.mutexlk.com/dashboard.html On Wed, Jun 10, 2015 at 5:55 PM, Mohamed Fawzan wrote: > > On Wed, Jun 10, 2015 at 5:52 PM, Sr

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Mohamed Fawzan
On Wed, Jun 10, 2015 at 5:52 PM, Srinath Perera wrote: > We can do it several ways > > 1. have small connectors showing against each node ( Stream/ Operator), > which you can click and drag to connector in other node. > +1, I had the same idea on my mind. I will work on that, Feel free to sugges

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Srinath Perera
We can do it several ways 1. have small connectors showing against each node ( Stream/ Operator), which you can click and drag to connector in other node. 2. Second option drop into other one as you mention. I think #2 run into a problem if you want to connect two streams to same operator ( e.g.

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Mohamed Fawzan
Are we talking about connecting the streams & operators phase? If so what is your preferred method of doing it? does the connection made when we drop an operator on another operator OR drop an operator on a stream? Am I correct ? On Wed, Jun 10, 2015 at 5:42 PM, Srinath Perera wrote: > We ne

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Srinath Perera
We need to connect stream to operators and operator to other operators by connectors? Need to click on a connector and drg it to another operator or stream. Would that clear? On Wed, Jun 10, 2015 at 5:36 PM, Mohamed Fawzan wrote: > > On Wed, Jun 10, 2015 at 5:31 PM, Srinath Perera wrote: > > >

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Mohamed Fawzan
On Wed, Jun 10, 2015 at 5:31 PM, Srinath Perera wrote: > we need name of the stream in the box IMO. > +1, I will make the changes. > Also we need a way to draw from the stream to operators and between > operators next. > > I can't quite understand that, Can you please explain it a bit?

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-10 Thread Srinath Perera
we need name of the stream in the box IMO. Also we need a way to draw from the stream to operators and between operators next. On Tue, Jun 9, 2015 at 7:24 PM, Mohamed Fawzan wrote: > Hi Srinath, > > I have added the streams[1] as > well. Please check and co

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-09 Thread Mohamed Fawzan
Hi Srinath, I have added the streams[1] as well. Please check and comment. -Regards [1] - http://vc.mutexlk.com/dashboard.html On Tue, Jun 9, 2015 at 9:43 AM, Srinath Perera wrote: > Look good. And overall layout is OK. ( We can do bit of styling with UI

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-08 Thread Srinath Perera
Look good. And overall layout is OK. ( We can do bit of styling with UI team later) --Srinath On Mon, Jun 8, 2015 at 6:06 PM, Mohamed Fawzan wrote: > Hi Srinath, > > I have just added the right click delete option [1] > . Please check and comment on it. >

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-08 Thread Mohamed Fawzan
Hi Srinath, I have just added the right click delete option [1] . Please check and comment on it. -Regards [1] - http://vc.mutexlk.com/dashboard.html On Mon, Jun 8, 2015 at 3:54 PM, Mohamed Fawzan wrote: > Yeah. Right now working on the stream, i will tr

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-08 Thread Srinath Perera
Mohan said I need to move it to red box to delete. Not very intuitive IMO. Can we support right click and delete? On Mon, Jun 8, 2015 at 3:25 PM, Srinath Perera wrote: > I did not see any streams .. but can move the operators. > > I assume you have not done deletes yet. > > --Srinath > > On Sun

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-08 Thread Srinath Perera
I did not see any streams .. but can move the operators. I assume you have not done deletes yet. --Srinath On Sun, Jun 7, 2015 at 9:02 PM, Mohamed Fawzan wrote: > Hi, > > I have updated the SVG layout with icons. Please check [1] > > > [1] - http://vc.mut

Re: [Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-07 Thread Mohamed Fawzan
Hi, I have updated the SVG layout with icons. Please check [1] [1] - http://vc.mutexlk.com/dashboard.html On Sun, Jun 7, 2015 at 3:35 PM, Mohamed Fawzan wrote: > Hi, > > Since our plan to create layout (as in milestone) failed, I have created a > new layo

[Dev] [GSoC 2015] New SVG Layout for Visual Composer Siddhi Lang.

2015-06-07 Thread Mohamed Fawzan
Hi, Since our plan to create layout (as in milestone) failed, I have created a new layout[1] . Which is completely made of SVG. I have hosted a demo so that you can check it easily. Expecting your feedback to proceed work. -Regards [1] - http://vc.mutexlk.com/sv