Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Unflatten Graphviz Command #149

Closed
borango opened this issue Jan 14, 2023 Discussed in #71 · 0 comments · Fixed by #150 or #237
Closed

Provide Unflatten Graphviz Command #149

borango opened this issue Jan 14, 2023 Discussed in #71 · 0 comments · Fixed by #150 or #237

Comments

@borango
Copy link

borango commented Jan 14, 2023

I am also interested in an Ecmascript (wasm?) port of Graphviz's unflatten tool.

Here is an example transformation:

graph {
	a -- 1;
	a -- 2;
	a -- 3;
	a -- 4;
	b;
	c;
	d;
	e;
}

unflatten -l 2 -c 1 unflatten-1-before.dot > unflatten-2-after.dot

graph {
	a -- 1	[minlen=1];
	a -- 2	[minlen=2];
	a -- 3	[minlen=1];
	a -- 4	[minlen=2];
	b -- c	[style=invis];
	d -- e	[style=invis];
}

... which looks something like this (styling added), before:

unflatten-1-before
... and after:
unflatten-2-after

Discussed in #71

Originally posted by saulshanabrook June 18, 2021
Does this library support the unflatten graphviz command that is useful for graphs with multiple unconnected parts? For example, it is provided by the a Python wrapper around Graphviz.

GordonSmith added a commit to GordonSmith/hpcc-js-wasm that referenced this issue Jan 14, 2023
GordonSmith added a commit to GordonSmith/hpcc-js-wasm that referenced this issue Jan 14, 2023
GordonSmith added a commit to GordonSmith/hpcc-js-wasm that referenced this issue Jan 14, 2023
GordonSmith added a commit to GordonSmith/hpcc-js-wasm that referenced this issue Jan 15, 2023
GordonSmith added a commit that referenced this issue Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant