Live data from Hacker News

Show HN: Vecta.io - Team diagramming with an advanced SVG editor

vecta.io

61–70 of 85 posts

Re: Show HN: Vecta.io - Team diagramming with an advanced SVG editor

#62
post #55
post #53

Earlier quoted context omitted.

Many apologies, may we get back to you in 4 hours or so? Our devs are all asleep now (huge time difference), and I'm afraid I can't help much :/ Really sorry, I'll ensure it is fixed in max 5 hours' time

Not a problem! How can I reach out via email? I'd be glad to assist when everyone's available. And since it's beta, don't worry about getting me a time back, as long as I can get the developers some info we're cool :)

Hey abuani. I can't seem to replicate this bug you spoke of. Please feel free to get back to us whenever you can on this bug.

Re: Show HN: Vecta.io - Team diagramming with an advanced SVG editor

#63

Recently, I evaluated different JS drawing tools and libraries. Its very cool that your web app does not clog the whole CPU like similar tools. Can you tell a little bit about the technology stack. Feel freeto skip questions if they are too invasive. 1. Do you use a drawing library or is this in house? 2. Do you store the SVG-objects as JS-objects? 3. If (3), how do represent the SVG-objects? (I looked into hyperscri…

1. We tried drawing libraries before using something in house. In fact what we have now is actually the 3rd version, where we throw away 2 previous versions that is not working as well as we would like. 2. We do not store SVG objects as JS object as we think that will be too memory intensive on a browser. What we have are wrappers, that will take SVG and wrap it internally as objects and to have a consistent and easy way to manipulate them, and once done working with them we throw them away. For example, we have wrappers for rectangle and ellipse and they both uses .move(x,y) and .size(width, height) which is more consistent than using SVG which requires x, y, width, height for rects and cx, cy, rx, ry for ellipses.

In addition, we have plans for opening up our API, so that people like yourself can build solutions on top of Vecta, right now you can play with it programmatically by opening your console, and typing Vecta. This single namespace allow you to access the page or shapes, Vecta.activePage.shapes, or you can set color to the first shape with Vecta.activePage.shapes(0).style('fill', '#ff0000');

4. We use document fragments to render to shadow DOM and write it to DOM, using in house code. However, we have found that what really matters is not so much of speed offered by rendering to shadown DOM but instead of the calculations we have to make internally like making sure the center of rotation and the tight bounding box. These, due to the inability of browsers to calculate them accurately, we have to make.

5. No, we rely on DOM and classes and wanted to keep things simple, so we have objects that handle the handles (no pun intended).

6. We use firebase. It not only handles our collaborative editing well but also allow us to generate previews, smooth and easy login, upload to storage, etc. We love firebase!

7. We do abstract mouse events, key events and many others with internal objects. These objects provide more information, like which shape the user has clicked on and therefore makes the entire task of handling the editing far easier, and we use JQuery for it's ease of use and cross browser compatibility.

8. There is no such thing as 2 users modify the same object at the same time, as one is always slower than the other. The slowest one wins. Say, I drag the object right and you drag it left, if you do it later, then the object is gonna go left.

Hopes that helps! Thanks for asking.

Re: Show HN: Vecta.io - Team diagramming with an advanced SVG editor

#64

Great products. But your header bar in frontpage has a transparent background. It's great for the hero section but completely unusable in the content section. Add some background to it

Will absolutely double check on this one, and we did add a white background to and but will sure check why it does not work as well as we would like. Thanks a million for the feedback

Re: Show HN: Vecta.io - Team diagramming with an advanced SVG editor

#66

- First impression is impressive. Clearly a large amount of work and engineering effort invested that ended up in a powerful product. Well done. - You need a damn video on your home page! Many click and try products don't need this. But here the collaboration aspect simply has no chance to fully shine and show it's true potential in 60 seconds without a short demo video. - An API / Plugin option would be great to see…

Thank you very much. We worked really hard to get Vecta up to this stage. Your feedback meant a lot to us. Now about that API option, we do have plans and it is actually... already built in! We have plans of opening it up soon, but here's a little something you can do in your browser's JS developer console. Try typing in Vecta.

The namespace 'Vecta' allows you to access the page or shapes in your active drawing. Vecta.activePage.shapes returns you an array of shapes in your current drawing. You can try setting the color to the first shape with a simple line like this: Vecta.activePage.shapes(0).style('fill', '#ff0000 ');

Re: Show HN: Vecta.io - Team diagramming with an advanced SVG editor

#67
post #63

Recently, I evaluated different JS drawing tools and libraries. Its very cool that your web app does not clog the whole CPU like similar tools. Can you tell a little bit about the technology stack. Feel freeto skip questions if they are too invasive. 1. Do you use a drawing library or is this in house? 2. Do you store the SVG-objects as JS-objects? 3. If (3), how do represent the SVG-objects? (I looked into hyperscri…

1. We tried drawing libraries before using something in house. In fact what we have now is actually the 3rd version, where we throw away 2 previous versions that is not working as well as we would like. 2. We do not store SVG objects as JS object as we think that will be too memory intensive on a browser. What we have are wrappers, that will take SVG and wrap it internally as objects and to have a consistent and easy…

Thank you for the technical details. Probably a bit late for you guys, but we offer a BaaS tailor-made for this sort of product. For instance you could add multiple mouse tracking and selection awareness in a matter of hours with our APIs. Check out our diagram demo for a taste: https://convergencelabs.com/demos/

Re: Show HN: Vecta.io - Team diagramming with an advanced SVG editor

#69
I like the idea -- this is something I would use and pay for if it were good enough.

Advice, in addition to all the other advice here:

- Connector line routing needs to be good (currently it doesn't really work) and if it were great then that would be a huge selling point.

- You should consider including a ton of "Cloud" (AWS, Azure, Google) symbols and icons out of the box. There are crappy ones available free from Amazon, that would be a start at least. I think "cloud architecture" is one of the biggest use-case for diagramming software right now.

- Not sure if you're using SVG as the native format but if not, consider it. The main reason I didn't upgrade to the new OmniGraffle was its so-so SVG support. Imagine a use-case where people collaborate on a drawing and then store the result in Git, maybe do some batch editing elsewhere, then need to get it back for more visual editing.

- If you want to get traction in the Enterprise world (the horror!) then you probably need a Confluence plug-in at some point.

Re: Show HN: Vecta.io - Team diagramming with an advanced SVG editor

#70

Earlier quoted context omitted.

>doesn't appear to be open source, so why would I rely on this? Because there is no open source project as good? Or was that rhetorical? Historically OSS content creation hasn't been as competitive with commercial offerings as other categories of software. Does Gimp compare to Photoshop nearly as well as Linux compares to Windows Server? Would love for a serious benefactor to help OSS content creation in general. If…

The rest of my comment does explain the logic: If a SaaS app is closed source, like this one appears to be, if it closes (e.g. if they're acquired, decide its not profitable enough, lose interest, etc) I have no options. Maybe I can get my data out, but then what? If a SaaS app is open source, and the paid version is essentially paying for the service of it being hosted, I have no concerns: if they close for whatever…

We're hopeful our export to SVG feature would have provide LOTS of options to use desktop software or other online SaaS to have continued access to your work. In these days and age, SaaS players must be open especially so with their file formats, and since we want to work well with other platforms, but not reinventing the wheel, we opt for SVG file format, so it can continue to work well with others for many years to come. Hope it clears your doubts :)
Post reply on HN