question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The goal of this issue is to implement a data driven approach to the graph.

This approach will allow a structured syntax to handle layouts, layout properties, shapes, shape properties, lines and line properties. Here’s an example:

---
graph:
  layout: hierarchical
  properties:
    layout_direction: TD
    edge_weight: 100
    node_spacing: 100
  vertices:
    - name: myCircle
      shape: circle
      color: blue
    - name: myClass
      shape: class
      color: blue
      class_vars:
        - int foo
        - str bar
  edges:
    - A: myCircle
      Z: myClass
      A_end: circle
      Z_end: arrow
      line: dashed
      text: something interesting

mermaid code language would still be used. The above codeblock is using yml to provide syntax highlighting

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
jgroom33commented, May 2, 2019

I think what sets this tool apart is its inclusion in markdown rendering. These three types of diagrams are roughly similar:

  • ClassDiagram
  • Flowchart
  • git graph

They could be drawn using the current implementation (DSL) or drawn using a generic implementation (this issue).

This issue would provide development to address the above examples in a generic manner and also address the following issues(not a complete list): #822 #827 #825 #821 #820 #815 #814 #811 #806 #760 #770 #780

0reactions
stale[bot]commented, Jul 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

YAML Tutorial: Everything You Need to Get Started in Minutes
This YAML tutorial will demonstrate the language syntax with a guide and some simple coding examples in Python.
Read more >
YAML Syntax - Ansible Documentation
This page provides a basic overview of correct YAML syntax, which is how Ansible playbooks (our configuration management language) are expressed. We use...
Read more >
What is YAML? A beginner's guide - CircleCI
YAML is a digestible data serialization language often used to create configuration files with any programming language. Designed for human ...
Read more >
YAML Tutorial : A Complete Language Guide with Examples
Basic YAML Syntax · Maps/Dictionaries (YAML calls it mapping): The content of a mapping node is an unordered set of key/value node pairs,...
Read more >
YAML Syntax | Grav Documentation
YAML stands for "YAML Ain't Markup Language" and it is used extensively in Grav for its configuration files, blueprints, and also in page...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found