Coder Social home page Coder Social logo

Comments (5)

gertjanssenswillen avatar gertjanssenswillen commented on July 17, 2024 1

Secondary functionality is added.

image

The arguments are currently sec and sec_nodes and sec_edges. They work the same as for the primary metric: you can use separate views for nodes and edges if you like. But if sec is provided, both nodes and edges will inherit this. By default, the secondary metric is NULL.

These arguments use the same functions, i.e. frequency, performance and custom. Some of the arguments will be ignored if used for secondary, e.g. color info won't be used, only the values will be used. (as in Disco).

Currently, the primary values are shown first, and secondary values are shown second and between brackets. It's not possible (or at least not easy) to differentiate the format (e.g. shown secondary smaller or in grey); the whole node and edge labels use the same format.

If you have any suggestions about appearance or about the used terminology (argument names for instance), please share them!

from processmapr.

gertjanssenswillen avatar gertjanssenswillen commented on July 17, 2024

This is a functionality that has been on the wish list for quite some time. I'm now refactoring the process map functions (separating the different types from the map itself, so that types can be changed or added more easily). Once that's done, the secondary metric will be easier to add. Hope to finish it during the next days.

from processmapr.

frkbr avatar frkbr commented on July 17, 2024

👍

from processmapr.

frkbr avatar frkbr commented on July 17, 2024

This looks very good, thank you for that feature!

As you mentioned, the secondary metric is shown between brackets inside the nodes. On the edges the secondary metric appears without brackets. Maybe that's intentional, otherwise my suggestion would be to display the secondary metric between brackets on the edges too.

from processmapr.

gertjanssenswillen avatar gertjanssenswillen commented on July 17, 2024

Correct, brackets are added to edges now also.

from processmapr.

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.