Skip to content

Add support group element. #11

Open

Description

@mhemesath

I think we can simulate the "g" element. In append if we treat "g" as a special case, we could return a special D3 group selection which is basically a Raphael set. If a transformation is applied to the group, it will apply it to every element in the set. Likewise, it will store the transformation string and apply it to all elements that are "appended" to it. This should be a pretty close simulation to actual SVG group elements except they can't be "selected" and directly apply all attributes to the elements in the set (unless we limit it to transformations).

Let me know your thoughts on this and I can probably start working on it.

Activity

  1. cronco commented on Sep 14, 2012

    @cronco

    Has anyone attempted any work on this?

  2. mhemesath commented on Sep 14, 2012

    @mhemesath
    CollaboratorAuthor

    I've stopped working on this project as I've gotten very little feedback from a pull request I've made. Since then, I've found a much easier way to extend D3 for IE compatibility so I just made my own project being it is almost entirely different.

    See: https://github.com/mhemesath/r2d3

  3. cronco commented on Sep 14, 2012

    @cronco

    Thanks for the quick reply.

    Your project seems like a good alternative, thanks, I'll give it a spin and
    maybe get involved. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions