Skip to content

如何在jointjs中实现自动生成无向布局呢? #126

Description

@yajunfan

So how do we automatically generate an undirected layout in JoinJS?
let graph = joint.layout.DirectedGraph.layout(this.graph, { dagre: dagre, graphlib:graphlib, ranker:"tight-tree", directed:false, setVertices:false, // setLinkVertices: true, rankDir: "TB",//LR align:"DL", rankSep: 100, marginX: 10, marginY: 10, nodeSep: 50, edgeSep: 50, // clusterPadding:10, resizeClusters:false, });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions