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.

[FEATURE] Expanded Documentation

See original GitHub issue

Is your feature request related to a problem? Please describe. As I am using this library in my game I have had a few issues starting with this library.

  1. It took me ages to find the wiki table of content as it was right next to the “documentation” link. That documentation shouldn’t be the first thing user see since it’s not great to start using the library.
  2. Took me a little while to understand the Edge class are oriented
  3. Took me a long while to understand how to filter edges in a search algorithm

Describe the solution you’d like I would like to contribute to the wiki in the following ways:

  1. Rename the table of content to “Getting started with Quick Graph”, or find a way to make it stand out more (maybe a second link a bit higher in the home page).

  2. Add a tooltip on the create graph page in order to remind people that the Edge class is oriented.

  3. I want to contribute on the depth first search example to add an example of filtering just to help people start :

Filtered search : When going through all the tree is undesired, QuikGraph can use the outEdgesFilter function to avoid going in undesirable areas of the graph. The following example shows how to filter edges of a currently visited vertex.

AdjacencyGraph<TVertex, Edge<TVertex>> graph;

// Setup your graph the way you want

IEnumerable<Edge<TVertex>> Filter(IEnumerable<Edge<TVertex>> edges)
{
    // Your filtering algorithm here
}

// Creation of the algorithm
var bfs = new DepthFirstSearchAlgorithm<TVertex, Edge<TVertex>>(null, graph, new QuikGraph.Collections.Queue<TVertex>(), new Dictionary<TVertex, GraphColor>(), Filter);

Additional context By the way, nice job maintaining the library man. It’s been a little hard to start using it but it works wonders.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Ownezxcommented, Oct 29, 2020

Ah yes, that is my mistake, I was using the bfs in my code.

0reactions
KeRNeLithcommented, Oct 29, 2020

Yep, do not hesitate!

Hum, note for the DFS algorithm, you’re maybe confusing with the BreadthFirstSearchAlgorithm (BFS), here in the example I used the DepthFirstSearchAlgorithm. The constructor difference between those algorithms is indeed the queue not needed in the first one.

Because the page is talking about DFS, I prefered using the DepthFirstSearchAlgorithm for the example rather than BreadthFirstSearchAlgorithm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature expansion and feature selection for general ...
This paper proposes an explicit polynomial feature expansion and feature selection method, which eliminates 'useless' features before designing a linear ...
Read more >
Expanding responses
The API has an Expand feature that allows you to retrieve linked objects in a single call, effectively replacing the object ID with...
Read more >
Collapse or expand parts of a document
To collapse or expand all the headings in your document, right-click the heading and click Expand/Collapse > Expand All Headings or Collapse All...
Read more >
Feature Gates
Feature Default Stage Since Until APIListChunking false Alpha 1.8 1.8 APIListChunking true Beta 1.9 APIPriorityAndFairness false Alpha 1.18 1.19
Read more >
Translated Levels Up Adaptive MT with Expanded Document ...
Expanded document -level adaptation enhances the translation of complex, detailed, or regulatory content, such as annual reports, legal documents ...
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