Module v.dotgraph stdlib

v.dotgraph
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
1
Imported by:
3
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn new

fn new(name string, label string, color string) &DotGraph

#fn node_name

fn node_name(name string, context voidptr) string

#fn start_digraph

JavaScript
fn start_digraph()

#fn start_digraph

fn start_digraph()

Structs

#struct DotGraph

heap
pub struct DotGraph {
mut:
	sb strings.Builder
}

#fn (&DotGraph) writeln

fn (mut d &DotGraph) writeln(line string)

#fn (&DotGraph) finish

fn (mut d &DotGraph) finish()

#fn (&DotGraph) new_node

fn (mut d &DotGraph) new_node(nlabel string, cfg NewNodeConfig)

#fn (&DotGraph) new_edge

fn (mut d &DotGraph) new_edge(source string, target string, cfg NewEdgeConfig)

#struct NewNodeConfig

pub struct NewNodeConfig {
	node_name        string
	should_highlight bool
	tooltip          string
	ctx              voidptr = unsafe { nil }
	name2node_fn     FnLabel2NodeName = node_name
}

#struct NewEdgeConfig

pub struct NewEdgeConfig {
	should_highlight bool
	ctx              voidptr = unsafe { nil }
	name2node_fn     FnLabel2NodeName = node_name
}

Interfaces

This section is empty.

Enums

This section is empty.