Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024

Original comment by [email protected] on 23 Oct 2008 at 11:10

  • Changed state: Started

from canviz.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
Safari didn't like r142. Fixed it in r148.

Original comment by [email protected] on 24 Oct 2008 at 9:50

from canviz.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 24, 2024
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)

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.