Code Monkey home page Code Monkey logo

Comments (3)

aspect avatar aspect commented on May 27, 2024

DAGViz server has been updated with the latest release at https://dagviz.daglabs.com

This is a cumulative update on the DAGViz project:

@ey51 - please go over all the issues and re-test/close them. Please take a look and test #7, #8, #9 and perhaps establish "Iteration 4"; We have cleaned up and re-factored parts of the rendering engine significantly changing components related to previous bugs.

For remaining Iteration 2 and 3 features, this week we will be addressing block confirmations, orientation lock to N/E and graph direction indication.

There are currently 2 major issues:

  • We are experiencing isChainBlock state reconciliation issues described in #10
  • We have discovered that the rendering engine produces serious rendering artifacts due to FP precision issues that start becoming apparent only once the chain grows past 100k blocks. We are working on resolving the issue. Unfortunately, it will probably take a few days to tackle this as we will have to introduce additional translation or scale of all graph properties.

NOTE: The above-mentioned issue #10 ultimately results in the incorrect isChainBlock values which end up looking like SPC forks. These forks are not visible when using CENTER: FIXED mode for SPC block positioning (as in the fixed mode all SPC blocks are blindly forced to zero position on the layout axis).

In this update:

General

  • DAGViz will now reset it's database and chain state if it detects that Kasparov is publishing a new (significantly smaller) chain. This way it will self-reset and keep tracking the new chain if the underlying test/dev nets are reset.
  • We have refactored object creation and grouping in the rendering engine as well as implemented some optimizations resulting in a 3x performance increase.
  • Hovering over a block now highlights parent and child blocks using darker colors and slightly thicker links. Please feedback, suggest colors, etc.
  • Hovering over SPC blocks now shows links to all accepting blocks in the different color
  • Vertical graph orientation now positions navigator on the right side.
  • Auto-fit occurs on orientation change, but when the user enters vertical orientation the zoom is conservative, so you don't feel the auto-fit as much.
  • Tracking mode is now working properly - as long as the MQTT feed is live. However, if the user interacts with the platform, the tracking mode is suspended.

Synchronization

  • DAGViz currently uses two-stage synchronization where data is acquired via the REST API, until the chain is caught up, at which point DAGViz starts tracking the data strictly via MQTT.

Arrows

A number of experimental modes have been introduced for arrows:

  • OFF
  • SINGLE - creates a single (slightly larger) connector - works well with curves
  • MULTI-S - creates multiple connectors that are straight (perpendicular to the block) - works great with curve links
  • MULTI-R - creates multiple connectors that are rotated (toward the direction of the link) - works great with straight links

I think the best will be an eventual combination of 2 modes: CURVES: ON + ARROWS: MULTI-S; and CURVES: OFF + ARROWS: MULTI+R;

from dagviz.

ey51 avatar ey51 commented on May 27, 2024

DAGViz server has been updated with the latest release at https://dagviz.daglabs.com

Great version @aspect
I will give thorough feedback promptly.

from dagviz.

ey51 avatar ey51 commented on May 27, 2024

Closing this.
Opened #14 , #15 for vertical view.
Opened #16 for DAG direction signaling.

from dagviz.

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.