ericabouaf / wireit

A javascript wiring library to create web wirable interfaces for dataflow applications, visual programming languages or graphical modeling.
http://neyric.github.io/wireit/docs/
Other
520 stars 90 forks source link

Make a page demonstrating different stroke styles for wires #83

Open ericabouaf opened 12 years ago

ericabouaf commented 12 years ago

WireBase inherits from the Y.Path class. It means you can vary colors, weight, opacity, dashstyle, etc...

Make a page with as many "styles" as possible.

Example :

fill: { color: "#9aa" }, stroke: { weight: 2, color: "#000" }

or

stroke: {
            weight: 1,
            color: "#000",
            opacity: 1,
            dashstyle: [3, 4]
        }