package d2layouts
Import Path
oss.terrastruct.com/d2/d2layouts (on go.dev)
Dependency Relation
imports 14 packages, and imported by one package
Involved Source Files
d2layouts.go
Package-Level Type Names (total 2)
const ConstantNearGraph
const DefaultGraphType
const GridDiagram
const SequenceDiagram
DiagramType DiagramType
IsConstantNear bool
func NestedGraphInfo(obj *d2graph.Object) (gi GraphInfo)
func LayoutNested(ctx context.Context, g *d2graph.Graph, graphInfo GraphInfo, coreLayout d2graph.LayoutGraph, edgeRouter d2graph.RouteEdges) error
Package-Level Functions (total 9)
func ExtractSubgraph(container *d2graph.Object, includeSelf bool) (nestedGraph *d2graph.Graph, externalEdges []*d2graph.Edge, externalEdgeIDs []edgeIDs) func LayoutNested(ctx context.Context, g *d2graph.Graph, graphInfo GraphInfo, coreLayout d2graph.LayoutGraph, edgeRouter d2graph.RouteEdges) error func NestedGraphInfo(obj *d2graph.Object) (gi GraphInfo) func PositionNested(container *d2graph.Object, nestedGraph *d2graph.Graph) func SaveChildrenOrder(container *d2graph.Object) (restoreOrder func())
Package-Level Constants (total 4)
a grid diagram at a constant near is
a grid diagram at a constant near is
a grid diagram at a constant near is
a grid diagram at a constant near is
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |