Comments (5)
r131 should help a little. Now we actually know what type of entity each draw
command deals with. From here
we should be able to move to creating objects for each of those entities fairly
easily.
Original comment by [email protected]
on 21 Oct 2008 at 6:20
from canviz.
Original comment by [email protected]
on 23 Oct 2008 at 11:10
- Changed state: Started
from canviz.
As of r142, the graph is now kept in memory in a nested structure. The draw
commands
are stored in a separate drawAttrs variable in each entity, but the draw()
method
doesn't make use of this yet.
Original comment by [email protected]
on 23 Oct 2008 at 10:41
from canviz.
Safari didn't like r142. Fixed it in r148.
Original comment by [email protected]
on 24 Oct 2008 at 9:50
from canviz.
As of r188 the draw() method does use the drawAttrs in each entity. Now each
entity is called upon to draw itself.
In r191 I added the Entity.getAttr() method which can be used to get an
attribute from an entity. If the entity itself
doesn't define that attribute, then getAttr() looks at the default values in
each parent graph until the specified
attribute is found. This allowed me to fix issue #13 in r193.
So I think I can close this ticket as fixed. The graph structure does exist in
memory in canvizobj.graphs[0], Canviz
uses it, and you can use it in your apps if you need info about the graph.
Original comment by [email protected]
on 1 Nov 2008 at 7:46
- Changed state: Fixed
from canviz.
Related Issues (20)
- subgraph render fail HOT 1
- Makefile fails if "dot" is not found in the $PATH HOT 1
- Separate parsing from rendering HOT 6
- Project missing resources HOT 2
- Hello World example shows canviz div doesn't properly unclear itself HOT 3
- Links not working properly on large garphs HOT 2
- I think the BB is computing wrong HOT 3
- allow response to graph loaded
- Don't require Prototype; allow using jQuery or other libraries HOT 21
- Error 127 when compiling when dot is not in the path HOT 1
- Use Prototype from Google APIs HOT 2
- edges div-tag overlaps nodes a-tag HOT 2
- Remove global debug function from library
- Canviz does not compile in debian sid HOT 1
- I cannot make Canviz work on IE (9 or 10) and Chrome
- Support for xdot1.5? HOT 1
- Move to GitHub? HOT 3
- Feedback from first time user HOT 1
- Suggest drawing nodes after edges in class CanvizGraph
- Clearly indicate which files are required HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canviz.