GithubHelp home page GithubHelp logo

Comments (8)

yymao avatar yymao commented on September 25, 2024 1

Yes, should put in the Categories section. Should format similarly as the nodes, i.e.:

Categories:
  - label: Models
    description: A "model" is a theoretical framework describing the physical mechanism governing the microphysics of dark matter.  Examples: warm dark matter, axion dark matter, primordial black hole dark matter, etc. 
  - label: Probes

from dark-matter-graph.

kadrlica avatar kadrlica commented on September 25, 2024

@yymao we should add descriptions for the categories themselves (i.e., Models, Probes, Measurements, Targets). Would it be better to do this in the Categories section -- i.e.,

Categories:
  - Models
      description: A "model" is a theoretical framework describing the physical mechanism governing the microphysics of dark matter.  Examples: warm dark matter, axion dark matter, primordial black hole dark matter, etc. 
  - Probes
  - Measurements
  - Targets

or in the individual section for each category -- i.e.

Models:
  description: A "model" is a theoretical framework describing the physical mechanism governing the microphysics of dark matter.  Examples: warm dark matter, axion dark matter, primordial black hole dark matter, etc.
  - key: wdm
    label: Warm dark matter
    description: >-
      Dark matter that acts like a thermal particle                                  
      with mass less than 1 GeV.
...

from dark-matter-graph.

johannct avatar johannct commented on September 25, 2024

Probably in Categories, if each category instance already has description levels. What else could be added within the Categories block?

from dark-matter-graph.

kadrlica avatar kadrlica commented on September 25, 2024

I've updated the Categories section to mirror other nodes:

Categories:
  - key: models
    label: Models
    description: >-
      A "model" is a theoretical framework describing the physical                   
      mechanism governing the microphysics of dark matter.  Examples:                
      warm dark matter, axion dark matter, primordial black hole dark                
      matter, etc.

@johannct other elements of the Categories section could define appearance (i.e., color, fontsize, etc.) or additional content (we imagine the description as a mouse-over tooltip, but we may want to add more).

from dark-matter-graph.

yymao avatar yymao commented on September 25, 2024

@kadrlica should we then use the key field in the rest of the yaml file? i.e.,

models: 
  - key: sidm
  #...
probes:
  #...

from dark-matter-graph.

kadrlica avatar kadrlica commented on September 25, 2024

@yymao I'm not sure I understand the question. I thought the key field was your addition, so I assumed that this is what we wanted. I believe this is the current format of the other sections

from dark-matter-graph.

kadrlica avatar kadrlica commented on September 25, 2024

Ok, offline chat resolved this. The point is that subsequent sections should match the key rather than the label in the Categories section. In actuality, this is a change in capitalization.

from dark-matter-graph.

kadrlica avatar kadrlica commented on September 25, 2024

This issue (and associated branch) have focused more on the format of the yaml file than the content. As such, I'm going to close this issue and start a new, more general branch for tracking input data.

from dark-matter-graph.

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.