Spec-Zone.ru › Graphviz

fdp

stands for Force-Directed Placement.

spring model layouts similar to those of neato, but does this by reducing forces rather than working with energy.

fdp implements the Fruchterman-Reingold heuristic1 including a multigrid solver that handles larger graphs and clustered undirected graphs.

  • PDF Manual
  • Browse code

Attributes for fdp features

  • dim – Set the number of dimensions used for the layout. Valid on: Graphs.
  • dimen – Set the number of dimensions used for rendering. Valid on: Graphs.
  • inputscale – Scales the input positions to convert between length units. Valid on: Graphs.
  • K – Spring constant used in virtual physical model. Valid on: Graphs, Clusters.
  • len – Preferred edge length, in inches. Valid on: Edges.
  • maxiter – Sets the number of iterations used. Valid on: Graphs.
  • normalize – normalizes coordinates of final layout. Valid on: Graphs.
  • overlap_scaling – Scale layout by factor, to reduce node overlap.. Valid on: Graphs.
  • pin – Keeps the node at the node's given input position. Valid on: Nodes.
  • pos – Position of node, or spline control points. Valid on: Edges, Nodes.
  • sep – Margin to leave around nodes when removing node overlap. Valid on: Graphs.
  • start – Parameter used to determine the initial layout of nodes. Valid on: Graphs.


  1. Fruchterman, T.M.J. and Reingold, E.M. (1991), Graph drawing by force-directed placement. Softw: Pract. Exper., 21: 1129-1164. ↩︎

© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/layouts/fdp/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API