Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any experience with a good drawing component/library

I am looking for a component/library I can use in an ASP.NET application that will allow the users to drag and drop shapes into a drawing area, connect them using lines, add text boxes etc. Pretty much the same thing you can do in packages like Visio, Samrt Draw etc

Additional requirements: 1. Ability to save the final drawing 2. Export the drawing to common formats such as jpeg

A nice feature would be the ability to define new shapes/items that could be dropped into drawings e.g. say the user was frequenlty drawing room plans they may want to create shapes representing tables, sofas, boilers etc that they can use in the drawings.

like image 595
Gary Joynes Avatar asked Oct 12 '09 21:10

Gary Joynes


People also ask

What makes a good component library?

Components in the library have a consistent look and feel and work together seamlessly. Intuitiveness. Developers can expect common patterns and features in the library allowing them to quickly learn and deploy components. Clarity.

What is the purpose of a component library?

Component Library Can Offer a Single Source of Truth As part of any design system, a component library can reduce the risk of any variation between products, or ending up with different components in different places. They handle the source code for UI elements and usually leverage CSS and JavaScript.

What is a design component library?

A UI component library, component library, pattern library, or, sometimes called, UI kit is a single file or folder that contains the components used in a website, software, or application that can be reused by developers. These components are responsive and can work on multiple platforms and/or devices.

How do I create a component library in Sketch?

In Sketch, go to “Preferences ‐> Add Library…” and add the library document. Once you've added a library to your project design file, you can access the library and its symbols in the symbols section.


2 Answers

You obviously need a web-based client (like ActiveX/Flash/Java) to enable things like drawing objects or dragging them around. Of course DHTML/JavaScript is another option but I wouldn't take that road.

You might consider Silverlight/Flash but if you're not familiar with these platforms you might consider Processing , a lightweight and simple language which outputs java applets. I believe you can integrate processing applets with your Asp.NET application, just like the other alternatives mentioned in the other suggestions.

Please check and see if it works for you. http://processing.org/learning/

like image 145
detay Avatar answered Oct 12 '22 03:10

detay


From what i understand this application will run on the client browser so i would recommend that you use either Silverlight or flash

like image 2
Hannoun Yassir Avatar answered Oct 12 '22 03:10

Hannoun Yassir