Skip to content

Instantly share code, notes, and snippets.

some tools for diagrams in software documentation

Diagrams For Documentation

Obvious Choices

ASCII

@poliset
poliset / LinearStreamProccessingWithTplDataflow.cs
Created July 28, 2018 01:16 — forked from naraga/LinearStreamProccessingWithTplDataflow.cs
Linear stream proccessing with TPL Dataflow
class Flow
{
private readonly TransformBlock<string, string> _controlAndConvertBlock;
private readonly ActionBlock<string> _acquisitionBlock;
public Flow()
{
_controlAndConvertBlock = new TransformBlock<string, string>(rec =>
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Reactive.Linq;
using System.Text;
using System.Threading;
@poliset
poliset / gist:fc26f7bae0ec5e338effae594ce90842
Created July 28, 2018 01:14 — forked from benfoster/gist:4416655
A lightweight message bus using TPL DataFlow
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
namespace TDFDemo
{
class Program
{