Giter VIP home page Giter VIP logo

d3-state-visualizer's People

Contributors

alexeyraspopov avatar kachkaev avatar methuselah96 avatar romseguy avatar zalmoxisus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

d3-state-visualizer's Issues

Merging into `redux-devtools` monorepo

@kachkaev what do you think of merging this package and redux-devtools-chart-monitor to monorepo as discussed in reduxjs/redux-devtools#412 and romseguy/d3tooltip/issues/1? I already merged d3tooltip and map2tree. Also created related issues there. If you want to maintain it as a separate repository, that's ok.

@romseguy granted me npm access, so we can use the same packages. The problem is that we wouldn't want to keep orphaned/archived repositories in the org, so after merging to the monorepo we should probably transfer these two repositories back to @romseguy. Sorry that I wasn't active when the discussion about moving to the org started.

Possible enhancement

I'm hooking into the TreeChart's onClickText prop and using JSONTree to render my object to the right....(using your ChartMonitor in a seperate window).

Might be interesting to incorporate something like this as it sort of becomes a standalone dev tool (I've been using this on it's own all day and not even rendering the normal LogMonitor). Though hooking into the LogMonitor would probably be even cooler : )

statetree

Anyhow, thanks for this!

Upgrade to React 0.14.0

It would be really nice if this could be upgraded. I spent a while trying to do this myself, but ran into limitations with the map2tree library, which may also need to be upgraded.

Dealing with variable-depth state trees

One of my projects' state model contains a node tree of variable depth, representing a complex query. I have been trying to expand it in the visualizer, but to no avail. It simply shows children[i] nodes after 3 levels in.

screenshot_2016-01-27_19-13-13

I also don't think I can define a tree structure, because of its recursive definition.
Is there currently a way to achieve this without making other parts of the state expand, or this has to be implemented?

Nodes are not reused properly when adding/removing them

Hey guys!

Looks like there is an issue with how d3 reuses nodes. Here is what's happening when I add three leafs to a list at the very top one by one and then remove them (also one by one):

anim

The second (the largest) state branch is not affected at all, but there's quite a lot going on visually.

Those strange unexpected horisontal jumps probably happen because of how d3 treats ids of the nodes. If they are represented as an array and id = i, adding or removing an item in the middle of it is likely to bring in this effect.

Tooltip on chart view does not handle HTML entities correctly

To reproduce:

  • Dispatch an action that results in some state like book.title where title has a value of cars & trucks
  • Open the Redux devtool
  • Go to the chart view
  • Navigate the state chart from book to title
  • Hover over title so you can see its value

The tooltip incorrectly renders HTML contained within the state value. For example, you'd see something like cars & trucks when you should see cars & trucks.

If you click on title to see the table view then the HTML is rendered as expected.

Moved from zalmoxisus/redux-devtools-extension#462

Vertical view?

Is there any default option in the code to switch this to vertical view?

naming child nodes by index

Instead of using someArrayChild0 for the first element of someArray, it might be better to use someArray[0]. This is more intuitive and readable in a data visualization.

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.