Giter VIP home page Giter VIP logo

vincenzocaputo / drawse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cluelab/drawse

1.0 1.0 0.0 265.31 MB

drawSE is a fork of draw.io that allows the creation of symbols with customized attaching points. It can be run online at https://cluelab.github.io/drawSE/src/main/webapp/index.html

License: Apache License 2.0

Java 2.91% Dockerfile 0.01% Python 0.01% Makefile 0.01% Shell 0.03% Cap'n Proto 0.05% C++ 0.20% HTML 1.09% C# 1.72% CSS 0.59% ASP 0.01% JavaScript 93.40%

drawse's Introduction

About

drawSE is a free to use application for creating diagrams with highly customized symbols. It is built on top of draw.io and adds to it functionalities for creating symbols with customized attaching points.

drawSE can be started by clicking on this link.

Features


In order to allow to create customized symbols, drawSE provides two editing modes: one for drawing the shape of the symbol (Shape Mode) and one for defining the attaching points of the symbol (AP Mode). The application always starts in Shape Mode and it can be changed to the AP Mode by switching the Mode button in the toolbar (see the figure below).

Mode switch button

Shape Mode


The sidebar on the left contains the graphical objects that can be used to compose new symbols. As in draw.io, a user can click on an object and drag it to the canvas. The object can be customized (changing color, line thickness and style, etc.) by using the panel on the right. With respect to draw.io, the new features are:

  • setting the fill color of a poly line (open or closed) by choosing the color from the fill element placed in the Style tab of the right sidebar (see the figure below).

Fill color button

  • creating a single symbol from a group of objects by selecting two or more objects and, after right clicking, choosing Make a Symbol from the context menu.
  • splitting a symbol into its original components by selecting the symbol and, after right clicking, choosing Break up from the context menu.

AP Mode


In AP Mode, drawSE provides a palette with seven tools in order to define the attachment points of the symbols in the canvas. The tools can be used to dispose the points in seven geometrical shapes:

  • a simple point
  • a straight line
  • a curved line
  • a rectangular area
  • an elliptical area
  • a rectangular outline
  • an elliptical outline

Features of the AP Mode include the possibility of giving a name to an attachment geometrical shapes by selecting it and pressing F2 on the keyboard or, alternatively, by using the textbox placed in the Arrange tab of right sidebar. In addition, the AP Mode allows a user to turn an attachment outline into an attachment area. To do this, the user must select an outline or two or more lines sharing an end point in AP Mode and check the Area constraint checkbox from the Arrange tab (see the figure below); one can also use the context menu.

Area constraint checkbox

When switching back to the Shape Mode drawSE automatically updates the symbols with the specified attachment points. When the mouse is passed over the symbol the attachment points are shown as small blue crosses.

Note: the work can be saved only in Shape Mode.

Custom Palettes


Another feature of drawSE consists of the possibility to create custom palettes with new symbols. This can be done by clicking on the New palette button in the left sidebar and drag a symbol to it from the canvas. The application then asks the user a name for the newly added symbol. Note: the name of a symbol must be unique.

The pencil icon on the bar (see the figure below) allows to modify the palette content in order to:

  • change the palette name
  • change a symbol name
  • delete a symbol
  • export/import the set of symbols in an XML file
  • create a symbol from an image url and add it to the palette

A user can import symbols in draw.io from exported symbols created in drawSE and use them to create diagrams as usual. To import a custom library in draw.io a user can select the Open library from option from the File menu.

Palette edit button

Palette edit window

drawse's People

Contributors

alderg avatar christ66 avatar davidjgraph avatar jdittrich avatar jsteel avatar kannangce avatar kentonv avatar mat-dr avatar mediaslav avatar pothitos avatar vincenzocaputo avatar zlumer avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.