magilus / jsdot Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jsdot
Automatically exported from code.google.com/p/jsdot
This works combining JS and CSS.
What is not possible is to define new styles at runtime. Even if this feature
would be available, we would need some way to make those styles persistent.
E.g. by storing them in the graph representation.
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 11:47
Implement a stencil factory which allows code reuse when creating new stencils.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2010 at 1:23
jsdot.fromJSON(.)
jsdot.toJSON()
also allow it to merge the loaded graph with the existing one.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2010 at 1:29
Node shape
_________________
/ \
/ \
\ /
\_________________/
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 12:08
Fire before* events before the actual graph events.
When one of these handlers returns false the operation is aborted.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 1:28
To showcase the library capabilities, you should add a small demo widget on
the homepage with a link to the full demo on another wiki page
Original issue reported on code.google.com by [email protected]
on 17 Dec 2009 at 3:34
Could use marker-mid to visualise them.
They should also be draggable and be saved inside the edge.
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 12:35
How easy is it to attach event handlers to nodes through the API? This way,
some user-defined code can be written to react to the mouse interactions
with the graph (for example, if you use the library to show the navigation
graph of the site, double clicking on the node takes you to the page
represented by the node)
Original issue reported on code.google.com by [email protected]
on 17 Dec 2009 at 3:39
add edges with both a marker-end and a marker-start
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 12:33
What happened to the very nice idea of allowing to put custom HTML content
inside the SVG nodes?
Original issue reported on code.google.com by [email protected]
on 17 Dec 2009 at 3:40
Add a checkbox in the toolbar to switch on/off the graph directed flag
Original issue reported on code.google.com by [email protected]
on 17 Dec 2009 at 3:36
Events are registered with jsdot.addEventHandler and triggered with
jsdot.fireEvent.
This can easily be exposed on the API.
When the basic editor features are implemented and the view gets updated in
response to editor and model events this ticket can be closed.
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 11:43
When the container has an absolute position the offsetParent for the toolbar is
the container itself, whereas when the position is not absolute the
offsetParent is the body.
This causes a misplacement of the toolbar on startup.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 12:47
The 'center' layout doesn't scale anymore, since it uses the svg container size
as a constraint, but now the container is allowed to grow.
Introduced by r248.
Original issue reported on code.google.com by [email protected]
on 11 Sep 2010 at 11:44
Make the delete tool selection-aware:
when something is selected delete it instead of switching to delete-mode.
On the other hand, when nothing is selected, change the mouse cursor such that
it indicates that what is clicked next will be removed.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2010 at 1:22
When aligning left or top a selection containing a concave hexagon the
resulting coordinates are wrong.
getBBox() of a concave hexagon returns the leftmost coordinate of the shape
(which is negative) instead of the left side of the bounding box.
the same happens with convex hexagons!
Original issue reported on code.google.com by [email protected]
on 24 Aug 2010 at 11:58
Document how new stencils can be added.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 1:49
The svg may be allowed to be bigger than the container by giving it fixed
dimensions and setting 'overflow: auto' on the container.
The should also be made to scroll automatically when dragging something.
Still it would be interesting to have zoom and pan abilities implemented using
svg transformations.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 4:19
When something is selected, dragging on the background moves the selected
elements. Instead should do nothing (or start box selection).
When dragging a deselected element moves the already selected elements, instead
it should clear the selection and move the element under the cursor.
Original issue reported on code.google.com by [email protected]
on 11 Aug 2010 at 9:57
The view is separated, but it is left open which features shall be part of the
view.
Dragging will be available in view-only but disabled by default.
Layout will not be in the view-only. But they might be useful: e.g. give a
graph to the view and tell with which algorithm it should be displayed, the
resulting view still being static.
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 11:53
When a view is created it should draw the whole graph.
Original issue reported on code.google.com by [email protected]
on 25 Aug 2010 at 4:13
Problem in function
jsdot_load_svg_shapes
defined in shapes.js
When using XMLHttpRequest the file to load (shapes.svg) must be in the same
folder as the html file. Instead, it should be in ../img/
This is a limitation in a workaround: if, when adding e.g. a marker-end using a
url(), the browser would load the referenced file, then we wouldn't even need
this function.
Note that using url(../img/shapes.svg#Arrow) works in FF when viewing a static
svg (where the marker-end is not added by js but already resent).
Original issue reported on code.google.com by [email protected]
on 12 Jul 2010 at 4:37
Reproduce:
1. in menu select node
2. select "help"
4. quit by clicking the X in the upper right corner of the poopup
3. click on the drawing area
A node is drawn, even thought the node tool is not selected.
Either nothing should be drawn or the node tool should still be selected.
The same happens with edges and other "no-state" tools.
Original issue reported on code.google.com by [email protected]
on 17 Dec 2009 at 5:29
node shape
___________________
\ /
\ /
/ \
/_________________\
Original issue reported on code.google.com by [email protected]
on 19 Jul 2010 at 12:10
Use the id of the div to which it is attached to identify an instance of JSDot.
That shall also be used as prefix for each other id generated by the instance.
Original issue reported on code.google.com by [email protected]
on 2 Jul 2010 at 8:11
When dragging on the background draw a box and select the elements which lay
inside this box.
This can be implemented as a listener, like JSDot.Drag is done.
Original issue reported on code.google.com by [email protected]
on 26 Aug 2010 at 4:06
Don't forget to make a public (possibly single .js file) release :-)
Original issue reported on code.google.com by [email protected]
on 17 Dec 2009 at 3:37
It would be great to be able to choose (and possibly switch) the shape of
the graph nodes to rectangles as in the early days of the project
Original issue reported on code.google.com by [email protected]
on 17 Dec 2009 at 3:35
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.