US20170084064A1 - Force-directed graphs - Google Patents

Force-directed graphs Download PDF

Info

Publication number
US20170084064A1
US20170084064A1 US15/376,743 US201615376743A US2017084064A1 US 20170084064 A1 US20170084064 A1 US 20170084064A1 US 201615376743 A US201615376743 A US 201615376743A US 2017084064 A1 US2017084064 A1 US 2017084064A1
Authority
US
United States
Prior art keywords
nodes
node
program instructions
dampening
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US15/376,743
Inventor
Raymond S. Glover
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to US15/376,743 priority Critical patent/US20170084064A1/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: GLOVER, RAYMOND S.
Publication of US20170084064A1 publication Critical patent/US20170084064A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N99/00Subject matter not provided for in other groups of this subclass
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/162Segmentation; Edge detection involving graph-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20072Graph-based image processing

Definitions

  • the present invention relates generally to the field of visualizing graphs and more specifically to using a dampening phase in heuristic approaches to graph layout to increase their stability.
  • Generic network layout algorithms are typically designed to generate aesthetically pleasing visualizations.
  • the visualizations of these networks are graphs containing points referred to as nodes which are connected by straight line segments referred to as edges.
  • Force-directed algorithms are a heuristic approach utilized to generate the visualizations.
  • the force-directed algorithms may not be as effective at generating aesthetically pleasing visualizations with larger or more complex networks. Iterations, attractive forces, repulsive forces, and dynamism of nodal positions lead to difficulties in generating aesthetically pleasing visualizations. Addressing these factors can be difficult, as the interplay between these factors are not readily resolved.
  • a method for visualizing elements of a graph comprising the steps of: determining, by one or more processors, a value associated with an interaction between a set of forces; determining, by one or more processors, a position of a set of at least two nodes, based on the value associated with the interaction between the set of forces; determining, by one or more processors, an impact value of a first node of the at least two nodes on a position of a second node of the at least two nodes; calculating, by one or more processors, a relative stability value of the first node of the at least two nodes; and displaying, by one or more processors, the at least two nodes in a graph.
  • Another embodiment of the present invention provides a computer program product for visualizing elements of a graph, based on the method described above.
  • Another embodiment of the present invention provides a computer system for visualizing elements of a graph, based on the method described above.
  • FIG. 1 is a functional block diagram illustrating a data processing environment, in accordance with an embodiment of the present invention
  • FIG. 2 is a functional block diagram depicting operational steps for utilizing a stability heuristic in order to determine the position of nodes, in accordance with an embodiment of the present invention
  • FIG. 3 is a flowchart depicting the operational steps for implementing the dampening heuristic, in accordance with an embodiment of the present invention
  • FIG. 4 is an example of a network of nodes with velocity vectors, in accordance with an embodiment of the present invention.
  • FIG. 5 depicts a block diagram of internal and external components of a computing device, in accordance with an embodiment of the present invention.
  • Networks are visualized using nodes and edges which connect the nodes. As networks are more complex and dynamic, obtaining aesthetically pleasing visualizations in an efficient manner becomes more difficult. In the more complex and dynamic networks, achieving a natural resting state for certain nodes is not feasible and hence difficult to visualize. Addressing factors such as speed of computation (i.e., efficiency), dynamic changes, attractions, repulsions, etc. in order to generate high quality visualizations of more complex and dynamic networks is ineffective. Addressing one factor may negatively impact an additional, or multiple other factors, and thus does not resolve the issue of generating aesthetically pleasing visualizations of larger or more complex networks. Embodiments of the present invention provide systems and methods for addressing multiple factors without negatively impacting other factors, while generating high quality visualizations of more complex and dynamic networks.
  • FIG. 1 is a functional block diagram illustrating a data processing environment, generally designated 100 , in accordance with one embodiment of the present invention.
  • FIG. 1 provides only an illustration of implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Modifications to data processing environment 100 may be made by those skilled in the art without departing from the scope of the invention as recited by the claims.
  • data processing environment 100 includes output module 120 and computing device 105 .
  • Output module 120 can be, for example, a monitor or any type of device which can display a set of graphics. Output module 120 may include internal or external hardware components, as depicted and described in further detail with respect to FIG. 5 .
  • Computing device 105 includes algorithm 115 and input interface 110 .
  • Computing device 105 may be a laptop computer, a tablet computer, a netbook computer, a personal computer (PC), a desktop computer, a personal digital assistant (PDA), a smart phone, a thin client, or any programmable electronic device capable of communicating with output module 120 .
  • Computing device 105 may include internal and external hardware components, as depicted and described in further detail with respect to FIG. 5 .
  • Input interface 110 may be for example, a graphical user interface (GUI) or a web user interface (WUI) and can display text, documents, web browser windows, user options, application interfaces, and instructions for operation, and includes the information (such as graphics, text, and sound) a program presents to a user and the control sequences the user employs to control the program.
  • Input interface 110 is capable of receiving data, user commands, and data input modifications from a user and is capable of communicating with algorithm 115 .
  • input interface 110 may be integrated with algorithm 115 .
  • algorithm 115 consists of a heuristic approach to generate a network of nodes and the edges which connect the nodes.
  • Algorithm 115 incorporates force-directed methods which take into account repulsion phases and attraction phases in order to calculate the position of nodes.
  • An iterative approach converges to a solution (i.e., “coming to same solutions after multiple trials”) in order to find equilibria and critical points such as energy minima (and maxima) positions.
  • Algorithm 115 applies a dampening phase in order to address dynamical considerations.
  • Algorithm 115 measures (on each iteration) how stable a node is in relation to those around it (i.e., the neighborhood surrounding the node), and to calculate a “dampening factor” which gets incorporated into other parts of the algorithm on subsequent iterations.
  • FIG. 2 is a functional block diagram depicting operational steps for utilizing a stability heuristic in order to determine the position of nodes, in accordance with an embodiment of the present invention.
  • algorithm 115 receives the original node positions of two nodes—N 1 and N 2 .
  • algorithm 115 can receive the positions of more than two nodes.
  • the positions of the nodes are in 2-dimensions in terms of Cartesian coordinates in the x-y plane.
  • the positions of nodes are in 3-dimensions in terms of Cartesian coordinates in the x, y, and z plane.
  • the nodes are points which can experience repulsions (forces which repel nodes away from each other) and can experience attractions (forces which bring nodes toward each other). Since a particular node can experience forces which repel the particular node from other nodes, and can experience forces which attract the particular node to other nodes, all of the nodes are sent to both a repulsions phase and an attractions phase.
  • step 205 algorithm 115 receives edges which connect two nodes.
  • E 1 is a straight line segment.
  • the nodes are connected by edges which are all of uniform length. The uniform length of the edges makes the network more visually pleasing.
  • the arrow from step 205 points toward step 215 , which represents the attractions phase.
  • edges are only associated with attractive forces and thus edges are applied to nodes when there is sufficient attraction to connect them.
  • step 210 algorithm 115 performs calculations to determine repulsions between nodes. Repulsions are calculated in order to find the separation between a set of nodes. More specifically, force-directed methods are employed to determine the repulsions amongst all nodes. Established force-directed methods or newer force-directed methods can be employed by algorithm 115 . There are multiple ways of applying force-directed methods to repelling elements within a network of nodes, such as Coloumbic laws for spherical charges. In this exemplary embodiment, a heuristic approach is utilized because the optimal solution is too complex and computationally demanding. The node positions act as an input where the repulsion phase incorporates inverse-gravitational forces which repel all nodes from one another.
  • inverse-gravitational functionals in algorithm 115 may be used on a network of nodes in order to describe the Van der Waal Forces in a molecular system.
  • Molecular systems are complex and have particles on at least the ⁇ 10 23 magnitude. The particles are treated as individual nodes.
  • the orientation of charges with respect to one another dictate the nature of repulsions which would take place among the inherent electric dipoles. If two negative charges or two positive charges are in close proximity to each other, there will be inherent repulsions.
  • Force-directed methods aim to find “energy minimum” positions, however repulsions increase the energy (i.e., move the position of two nodes away from each other). As two nodes move infinitesimally closer to each other, the energy becomes infinitely high and moves away from an optimal energy minimum.
  • step 215 algorithm 115 performs calculations to determine attractions between nodes. Attractions are calculated in order to determine the “pairing” of a set of nodes. More specifically, force-directed methods are employed to determine the attractions amongst all nodes. There are multiple ways of applying force-directed methods to attracting elements within a network of nodes, such as Hooke's Law for attractive forces resembling a spring connecting two endpoints together. In this exemplary embodiment, a heuristic approach is utilized because the optimal solution is too complex and computationally demanding. The node positions and edges act as an input where the attraction phase incorporates forces which attract nodes to one another.
  • Hooke's Law in algorithm 115 is used on a network of nodes in order to describe the Van der Waal Forces from the molecular system above.
  • the particles are treated as individual nodes.
  • the orientation of charges with respect to one another dictate the nature of attractions which would take place among the inherent electric dipoles. If a negative charge and a positive charge are within close proximity to each other, there will be an inherent attraction.
  • Force-directed methods aim to find “energy minimum” positions with attractive forces decreasing the energy (i.e., move the position of two nodes toward each other).
  • the edges can be described as a bond (i.e., attraction) between two nodes separated by an optimal distance and thus by definition edges are not inputted into the repulsion phase in step 210 .
  • step 220 algorithm 115 undergoes the integration phase. Integration merges the effects of repulsion and attraction.
  • the calculated forces of repulsion in step 210 and the calculated forces of attraction in step 215 are combined to produce new node positions.
  • the phase may use a step-size as an input for step 220 .
  • a standard technique to accomplish this is to increase the amount of work done per iteration via the step-size.
  • the step-size is global in nature, meaning the step-size treatment is monolithically applied to a system, even if the system has sub-systems where a monolithic technique is not an appropriate method.
  • the integration phase measures the displacement (Disp) of the nodes.
  • Disp displacement of the nodes.
  • N 1 and N 2 interact with one another. Both are neutral points as a whole with inherent electric dipoles where the opposite sides attract. Dynamic factors within each node induce repulsions, however, these induced repulsions are far weaker than the attraction of the inherent electric dipoles. There will be a net displacement (Disp ⁇ 0) from the original positions bringing the two nodes closer to each other.
  • step 225 algorithm 115 performs the dampening heuristic.
  • the dampening heuristic is used to address the changing and dynamic nature of certain systems to better visualize interactive systems.
  • the dampening heuristic of algorithm 115 can be applied to different types of systems in addition to interactive systems and can be plugged in to existing force-based algorithms. Issues addressed by the dampening heuristic include: improving run-time performance (i.e., increasing the amount of work done per iteration); laying out sub-regions of more complex networks of nodes correctly before equilibria or energy minima are met; and accommodating topological changes from nodes and edges being inserted and removed while algorithm 115 is running.
  • the stability of a particular node is measured by the stability of the particular node in relation to other nodes around it (the particular node's neighbourhood). Then, a calculated “dampening factor” gets fed in to other parts of the algorithm on subsequent iterations.
  • the dampening heuristic maintains an amount of dampening, d, for each node in the network.
  • the changes to the positions (displacements) of the nodes are analysed and as a result, the levels of dampening are adjusted depending on node stability where stable nodes receive less dampening (have more freedom of movement) and unstable nodes receive more dampening, until they reach a stable state.
  • a stable node state is a state where the node has freedom to move about but does not move.
  • this heuristic works well across networks of varying sizes consisting of varying number of nodes, edges, and structures.
  • the individual nodes are less sensitive to very large or small step-sizes (which are global in nature) indicating that the additional input from the dampening heuristic is outweighed by the larger step-sizes and thus total-running times are reduced.
  • the dampening is also effective at keeping inactive regions of a graph steady while topological changes concomitantly occur in other parts of the graph.
  • FIG. 3 is a flowchart depicting the operational steps for implementing the dampening heuristic, in accordance with an embodiment of the present invention.
  • step 300 algorithm 115 determines the sum of velocities for a node of interest by taking into account adjacent and nearby nodes.
  • the displacement of nodes which is denoted as Disp, acts as the input to produce the sum velocity of the nodes incident to a given node, where the nodes in its open neighbourhood are denoted as N( ⁇ ), the velocity of the node of interest is Dispv and the velocity of a neighbouring node, hoodVel( ⁇ ), is:
  • hoodVel ⁇ ( v ) ⁇ vAdj ⁇ N ⁇ ( v ) ⁇ Disp cAdj ⁇ N ⁇ ( v ) ⁇ ( Eq . ⁇ 1 )
  • the velocities of neighbouring nodes can be found in linear time by traversing the edge list once.
  • step 305 algorithm 115 determines the stability measurement of a node of interest. Using the velocity of a particular node (Disp ⁇ ) and its neighbourhood velocity (hoodVel( ⁇ )), followed by normalization as shown in Eq. 2, produces a value between ⁇ 1 (very unstable) and 1 (very stable).
  • the dot product of these two velocity vectors determines an angle between the two vectors. Further details with respect to the velocity of the particular node and its neighbourhood velocity are described in FIG. 4 .
  • step 310 algorithm 115 determines the dampening update.
  • a change in the stability of a node can dictate the amount of dampening for that node in the next iteration of the algorithm, using Eq. 3.
  • Constants ⁇ and ⁇ control the rate of change in the dampening of nodes, depending on the stable or unstable states, respectively. Values of 0.001 and 0.1 are selected, with ⁇ being the smaller end of the range assuming that the graph should only be allowed to be in an unstable state for shorter periods of time.
  • deg( ⁇ ) 2 the square of the degree of the node
  • the degree of the node is described in further detail with respect to FIG. 4 .
  • step 315 algorithm 115 determines propagation. Now that the node dampening has been updated, algorithm 115 can use Dampening ⁇ in the repulsion and attraction phases in steps 210 and 215 of FIG. 2 , respectively. An efficient way to do this is to simply scale the output forces of each node by the dampening of that node:
  • Eq. 4 accounts for changes in the system and relaying it to the repulsion and attraction phases.
  • FIG. 4 is an example of a network of nodes with velocity vectors, in accordance with an embodiment of the present invention.
  • a network of nodes are depicted.
  • Nodes 420 , 422 , 424 , 426 , and 428 are connected by edges 440 , 442 , 444 , 446 , and 448 .
  • Neighboring nodes influence the stability of a node.
  • node 420 is connected: to node 422 via edge 442 ; to node 426 via edge 446 ; and to node 428 via edge 448 .
  • Arrows 430 , 432 , and 434 are velocity vectors for nodes 422 , 426 , and 428 , respectively.
  • the node of interest is node 420 .
  • Node 420 has two vectors, 405 and 410 , which are the velocity vectors, hoodVel( ⁇ ) and Dispv, respectively.
  • the dot product of vectors 405 (which is associated with the neighboring nodes) and 410 (which is associated with the node of interest) generates angle 415 .
  • the angle between the hoodVel( ⁇ ) and Dispv vectors i.e., angle 415 ) measures the stability of the nodal position.
  • the degree of the node is the number of edges incident to a node, with the loop incident to the node counting for two degrees.
  • node 428 has a degree of 1 (as only a single edge, edge 448 , connects to node 428 )
  • node 420 has a degree of 3 (as three edges, edges 442 , 446 , and 448 , connect to node 420 ).
  • Nodes with a degree of 1 are not influenced by dampening, as at least a node with a degree of 2 is required in order to be influenced by dampening.
  • the rest of the algorithm is calibrated to work correctly for nodes with a degree of 1, and thus expected to stabilize naturally.
  • FIG. 5 depicts a block diagram of components of a computing device, generally designated 500 , in accordance with an illustrative embodiment of the present invention. It should be appreciated that FIG. 5 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environment may be made.
  • Computing device 500 includes communications fabric 502 , which provides communications between computer processor(s) 504 , memory 506 , persistent storage 508 , communications unit 510 , and input/output (I/O) interface(s) 512 .
  • Communications fabric 502 can be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system.
  • processors such as microprocessors, communications and network processors, etc.
  • Communications fabric 502 can be implemented with one or more buses.
  • Memory 506 and persistent storage 508 are computer readable storage media.
  • memory 506 includes random access memory (RAM) 514 and cache memory 516 .
  • RAM random access memory
  • cache memory 516 In general, memory 506 can include any suitable volatile or non-volatile computer readable storage media.
  • persistent storage 508 Program instructions and data used to practice embodiments of the present invention may be stored in persistent storage 508 for execution and/or access by one or more of the respective computer processors 504 via one or more memories of memory 506 .
  • persistent storage 508 includes a magnetic hard disk drive.
  • persistent storage 408 can include a solid state hard drive, a semiconductor storage device, read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, or any other computer readable storage media that is capable of storing program instructions or digital information.
  • the media used by persistent storage 508 may also be removable.
  • a removable hard drive may be used for persistent storage 508 .
  • Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer onto another computer readable storage medium that is also part of persistent storage 508 .
  • Communications unit 510 in these examples, provides for communications with other data processing systems or devices.
  • communications unit 510 includes one or more network interface cards.
  • Communications unit 510 may provide communications through the use of either or both physical and wireless communications links.
  • Program instructions and data used to practice embodiments of the present invention may be downloaded to persistent storage 508 through communications unit 510 .
  • I/O interface(s) 512 allows for input and output of data with other devices that may be connected to computing device 500 .
  • I/O interface 512 may provide a connection to external devices 518 such as a keyboard, keypad, a touch screen, and/or some other suitable input device.
  • External devices 518 can also include portable computer readable storage media such as, for example, thumb drives, portable optical or magnetic disks, and memory cards.
  • Software and data used to practice embodiments of the present invention, e.g., software and data can be stored on such portable computer readable storage media and can be loaded onto persistent storage 508 via I/O interface(s) 512 .
  • I/O interface(s) 512 also connect to a display 520 .
  • Display 520 provides a mechanism to display data to a user and may be, for example, a computer monitor.
  • the present invention may be a system, a method, and/or a computer program product.
  • the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
  • the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
  • the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or Flash memory erasable programmable read-only memory
  • SRAM static random access memory
  • CD-ROM compact disc read-only memory
  • DVD digital versatile disk
  • memory stick a floppy disk
  • a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon
  • a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
  • Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network a wide area network and/or a wireless network.
  • the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
  • Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
  • the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
  • the functions noted in the block may occur out of the order noted in the figures.
  • two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Image Generation (AREA)

Abstract

Embodiments of the present invention provide systems and methods for graphing networks. In one embodiment, a dampening heuristic is utilized to graph networks to increase their stability. Nodes are visualized by finding local and global minima and equilibrium positions. Factors such as the influence of neighboring nodes; attraction and repulsion phases; and dynamism of complex networks are addressed by embodiments of the present invention. The stability of nodes are measured quantitatively using vectors, degree of influence of neighboring nodes on other nodes, and updating dampening heuristics.

Description

    BACKGROUND OF THE INVENTION
  • The present invention relates generally to the field of visualizing graphs and more specifically to using a dampening phase in heuristic approaches to graph layout to increase their stability.
  • Generic network layout algorithms are typically designed to generate aesthetically pleasing visualizations. The visualizations of these networks are graphs containing points referred to as nodes which are connected by straight line segments referred to as edges. Force-directed algorithms are a heuristic approach utilized to generate the visualizations. The force-directed algorithms may not be as effective at generating aesthetically pleasing visualizations with larger or more complex networks. Iterations, attractive forces, repulsive forces, and dynamism of nodal positions lead to difficulties in generating aesthetically pleasing visualizations. Addressing these factors can be difficult, as the interplay between these factors are not readily resolved.
  • SUMMARY
  • According to one embodiment of the present invention, a method for visualizing elements of a graph is provided with the method comprising the steps of: determining, by one or more processors, a value associated with an interaction between a set of forces; determining, by one or more processors, a position of a set of at least two nodes, based on the value associated with the interaction between the set of forces; determining, by one or more processors, an impact value of a first node of the at least two nodes on a position of a second node of the at least two nodes; calculating, by one or more processors, a relative stability value of the first node of the at least two nodes; and displaying, by one or more processors, the at least two nodes in a graph.
  • Another embodiment of the present invention provides a computer program product for visualizing elements of a graph, based on the method described above.
  • Another embodiment of the present invention provides a computer system for visualizing elements of a graph, based on the method described above.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a functional block diagram illustrating a data processing environment, in accordance with an embodiment of the present invention;
  • FIG. 2 is a functional block diagram depicting operational steps for utilizing a stability heuristic in order to determine the position of nodes, in accordance with an embodiment of the present invention;
  • FIG. 3 is a flowchart depicting the operational steps for implementing the dampening heuristic, in accordance with an embodiment of the present invention;
  • FIG. 4 is an example of a network of nodes with velocity vectors, in accordance with an embodiment of the present invention; and
  • FIG. 5 depicts a block diagram of internal and external components of a computing device, in accordance with an embodiment of the present invention.
  • DETAILED DESCRIPTION
  • Networks are visualized using nodes and edges which connect the nodes. As networks are more complex and dynamic, obtaining aesthetically pleasing visualizations in an efficient manner becomes more difficult. In the more complex and dynamic networks, achieving a natural resting state for certain nodes is not feasible and hence difficult to visualize. Addressing factors such as speed of computation (i.e., efficiency), dynamic changes, attractions, repulsions, etc. in order to generate high quality visualizations of more complex and dynamic networks is ineffective. Addressing one factor may negatively impact an additional, or multiple other factors, and thus does not resolve the issue of generating aesthetically pleasing visualizations of larger or more complex networks. Embodiments of the present invention provide systems and methods for addressing multiple factors without negatively impacting other factors, while generating high quality visualizations of more complex and dynamic networks.
  • The present invention will now be described in detail with reference to the Figures. FIG. 1 is a functional block diagram illustrating a data processing environment, generally designated 100, in accordance with one embodiment of the present invention. FIG. 1 provides only an illustration of implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Modifications to data processing environment 100 may be made by those skilled in the art without departing from the scope of the invention as recited by the claims. In this exemplary embodiment, data processing environment 100 includes output module 120 and computing device 105.
  • Output module 120 can be, for example, a monitor or any type of device which can display a set of graphics. Output module 120 may include internal or external hardware components, as depicted and described in further detail with respect to FIG. 5.
  • Computing device 105 includes algorithm 115 and input interface 110. Computing device 105 may be a laptop computer, a tablet computer, a netbook computer, a personal computer (PC), a desktop computer, a personal digital assistant (PDA), a smart phone, a thin client, or any programmable electronic device capable of communicating with output module 120. Computing device 105 may include internal and external hardware components, as depicted and described in further detail with respect to FIG. 5.
  • Input interface 110 may be for example, a graphical user interface (GUI) or a web user interface (WUI) and can display text, documents, web browser windows, user options, application interfaces, and instructions for operation, and includes the information (such as graphics, text, and sound) a program presents to a user and the control sequences the user employs to control the program. Input interface 110 is capable of receiving data, user commands, and data input modifications from a user and is capable of communicating with algorithm 115. In some embodiments, input interface 110 may be integrated with algorithm 115.
  • In this exemplary embodiment, algorithm 115 consists of a heuristic approach to generate a network of nodes and the edges which connect the nodes. Algorithm 115 incorporates force-directed methods which take into account repulsion phases and attraction phases in order to calculate the position of nodes. An iterative approach converges to a solution (i.e., “coming to same solutions after multiple trials”) in order to find equilibria and critical points such as energy minima (and maxima) positions. In dynamical instances, changes in the repulsion and the attraction phases make high-quality visualization of nodes difficult. Algorithm 115 applies a dampening phase in order to address dynamical considerations. Algorithm 115 measures (on each iteration) how stable a node is in relation to those around it (i.e., the neighborhood surrounding the node), and to calculate a “dampening factor” which gets incorporated into other parts of the algorithm on subsequent iterations.
  • FIG. 2 is a functional block diagram depicting operational steps for utilizing a stability heuristic in order to determine the position of nodes, in accordance with an embodiment of the present invention.
  • In step 200, algorithm 115 receives the original node positions of two nodes—N1 and N2. In other instances, algorithm 115 can receive the positions of more than two nodes. In this exemplary embodiment, the positions of the nodes are in 2-dimensions in terms of Cartesian coordinates in the x-y plane. In other embodiments, the positions of nodes are in 3-dimensions in terms of Cartesian coordinates in the x, y, and z plane. The nodes are points which can experience repulsions (forces which repel nodes away from each other) and can experience attractions (forces which bring nodes toward each other). Since a particular node can experience forces which repel the particular node from other nodes, and can experience forces which attract the particular node to other nodes, all of the nodes are sent to both a repulsions phase and an attractions phase.
  • In step 205, algorithm 115 receives edges which connect two nodes. In this exemplary embodiment, only a single edge—E1—eventually connects N1 and N2. In other embodiments, algorithm 115 can work with various numbers of edges. E1 is a straight line segment. In other embodiments where there are multiple nodes, the nodes are connected by edges which are all of uniform length. The uniform length of the edges makes the network more visually pleasing. In FIG. 2, the arrow from step 205 points toward step 215, which represents the attractions phase. By definition, edges are only associated with attractive forces and thus edges are applied to nodes when there is sufficient attraction to connect them.
  • In step 210, algorithm 115 performs calculations to determine repulsions between nodes. Repulsions are calculated in order to find the separation between a set of nodes. More specifically, force-directed methods are employed to determine the repulsions amongst all nodes. Established force-directed methods or newer force-directed methods can be employed by algorithm 115. There are multiple ways of applying force-directed methods to repelling elements within a network of nodes, such as Coloumbic laws for spherical charges. In this exemplary embodiment, a heuristic approach is utilized because the optimal solution is too complex and computationally demanding. The node positions act as an input where the repulsion phase incorporates inverse-gravitational forces which repel all nodes from one another. For example, inverse-gravitational functionals in algorithm 115 may be used on a network of nodes in order to describe the Van der Waal Forces in a molecular system. Molecular systems are complex and have particles on at least the ˜1023 magnitude. The particles are treated as individual nodes. The orientation of charges with respect to one another dictate the nature of repulsions which would take place among the inherent electric dipoles. If two negative charges or two positive charges are in close proximity to each other, there will be inherent repulsions. Force-directed methods aim to find “energy minimum” positions, however repulsions increase the energy (i.e., move the position of two nodes away from each other). As two nodes move infinitesimally closer to each other, the energy becomes infinitely high and moves away from an optimal energy minimum.
  • In step 215, algorithm 115 performs calculations to determine attractions between nodes. Attractions are calculated in order to determine the “pairing” of a set of nodes. More specifically, force-directed methods are employed to determine the attractions amongst all nodes. There are multiple ways of applying force-directed methods to attracting elements within a network of nodes, such as Hooke's Law for attractive forces resembling a spring connecting two endpoints together. In this exemplary embodiment, a heuristic approach is utilized because the optimal solution is too complex and computationally demanding. The node positions and edges act as an input where the attraction phase incorporates forces which attract nodes to one another. For example, Hooke's Law in algorithm 115 is used on a network of nodes in order to describe the Van der Waal Forces from the molecular system above. Once again, the particles are treated as individual nodes. The orientation of charges with respect to one another dictate the nature of attractions which would take place among the inherent electric dipoles. If a negative charge and a positive charge are within close proximity to each other, there will be an inherent attraction. Force-directed methods aim to find “energy minimum” positions with attractive forces decreasing the energy (i.e., move the position of two nodes toward each other). The edges can be described as a bond (i.e., attraction) between two nodes separated by an optimal distance and thus by definition edges are not inputted into the repulsion phase in step 210. If two nodes are too far apart, the charge attraction forces among inherent electric dipoles are not (and cannot) be exerted on each other. In such an instance, the energy is substantially higher than the desired energy minimum. If the attractive forces are too great among the nodes, the system collapses further illustrating the importance of the optimal distance.
  • In step 220, algorithm 115 undergoes the integration phase. Integration merges the effects of repulsion and attraction. In this exemplary embodiment, the calculated forces of repulsion in step 210 and the calculated forces of attraction in step 215 are combined to produce new node positions. As an option, the phase may use a step-size as an input for step 220. To increase the efficiency and speed in order to generate a network layout of nodes, a standard technique to accomplish this is to increase the amount of work done per iteration via the step-size. The step-size is global in nature, meaning the step-size treatment is monolithically applied to a system, even if the system has sub-systems where a monolithic technique is not an appropriate method. The inherent heterogeneity and dynamism of certain systems make a monolithic method, such as the step-size treatment, a questionable and distracting method for visualizing areas of these systems. A natural resting state (i.e., “energy minimum) is not realized when utilizing the step-size. Regardless of the input, the integration phase measures the displacement (Disp) of the nodes. For example, the two nodes—N1 and N2—interact with one another. Both are neutral points as a whole with inherent electric dipoles where the opposite sides attract. Dynamic factors within each node induce repulsions, however, these induced repulsions are far weaker than the attraction of the inherent electric dipoles. There will be a net displacement (Disp≠0) from the original positions bringing the two nodes closer to each other.
  • In step 225, algorithm 115 performs the dampening heuristic. In this exemplary embodiment, the dampening heuristic is used to address the changing and dynamic nature of certain systems to better visualize interactive systems. The dampening heuristic of algorithm 115 can be applied to different types of systems in addition to interactive systems and can be plugged in to existing force-based algorithms. Issues addressed by the dampening heuristic include: improving run-time performance (i.e., increasing the amount of work done per iteration); laying out sub-regions of more complex networks of nodes correctly before equilibria or energy minima are met; and accommodating topological changes from nodes and edges being inserted and removed while algorithm 115 is running. The stability of a particular node is measured by the stability of the particular node in relation to other nodes around it (the particular node's neighbourhood). Then, a calculated “dampening factor” gets fed in to other parts of the algorithm on subsequent iterations. The dampening heuristic maintains an amount of dampening, d, for each node in the network. On each iteration of the algorithm, the changes to the positions (displacements) of the nodes are analysed and as a result, the levels of dampening are adjusted depending on node stability where stable nodes receive less dampening (have more freedom of movement) and unstable nodes receive more dampening, until they reach a stable state. A stable node state is a state where the node has freedom to move about but does not move. For example, this heuristic works well across networks of varying sizes consisting of varying number of nodes, edges, and structures. The individual nodes are less sensitive to very large or small step-sizes (which are global in nature) indicating that the additional input from the dampening heuristic is outweighed by the larger step-sizes and thus total-running times are reduced. The dampening is also effective at keeping inactive regions of a graph steady while topological changes concomitantly occur in other parts of the graph.
  • FIG. 3 is a flowchart depicting the operational steps for implementing the dampening heuristic, in accordance with an embodiment of the present invention.
  • In step 300, algorithm 115 determines the sum of velocities for a node of interest by taking into account adjacent and nearby nodes. The displacement of nodes, which is denoted as Disp, acts as the input to produce the sum velocity of the nodes incident to a given node, where the nodes in its open neighbourhood are denoted as N(ν), the velocity of the node of interest is Dispv and the velocity of a neighbouring node, hoodVel(ν), is:
  • hoodVel ( v ) = vAdj N ( v ) Disp cAdj N ( v ) ( Eq . 1 )
  • Also, the velocities of neighbouring nodes can be found in linear time by traversing the edge list once.
  • In step 305, algorithm 115 determines the stability measurement of a node of interest. Using the velocity of a particular node (Dispν) and its neighbourhood velocity (hoodVel(ν)), followed by normalization as shown in Eq. 2, produces a value between −1 (very unstable) and 1 (very stable).
  • stability ( v ) = Disp v Disp v · hoodVel ( v ) hoodVel ( v ) ( Eq . 2 )
  • The dot product of these two velocity vectors determines an angle between the two vectors. Further details with respect to the velocity of the particular node and its neighbourhood velocity are described in FIG. 4.
  • In step 310, algorithm 115 determines the dampening update. A change in the stability of a node can dictate the amount of dampening for that node in the next iteration of the algorithm, using Eq. 3.
  • Dampening v - ( 1 - 1 deg ( v ) 2 ) · stability ( v ) · { α if stability ( v ) 0 β if stability ( v ) 0 ( Eq . 3 )
  • Constants α and β control the rate of change in the dampening of nodes, depending on the stable or unstable states, respectively. Values of 0.001 and 0.1 are selected, with α being the smaller end of the range assuming that the graph should only be allowed to be in an unstable state for shorter periods of time. The role of deg(ν)2 (the square of the degree of the node) is used to spread out, over several iterations, the influence nodes of a higher degree receive from their neighbours in order to prevent the violent oscillations that such nodes can otherwise be prone to. The degree of the node is described in further detail with respect to FIG. 4.
  • In step 315, algorithm 115 determines propagation. Now that the node dampening has been updated, algorithm 115 can use Dampeningν in the repulsion and attraction phases in steps 210 and 215 of FIG. 2, respectively. An efficient way to do this is to simply scale the output forces of each node by the dampening of that node:

  • Forceν·(1−Dampeningν)  (Eq. 4)
  • Eq. 4 accounts for changes in the system and relaying it to the repulsion and attraction phases.
  • FIG. 4 is an example of a network of nodes with velocity vectors, in accordance with an embodiment of the present invention.
  • In this exemplary embodiment, a network of nodes are depicted. Nodes 420, 422, 424, 426, and 428 are connected by edges 440, 442, 444, 446, and 448. Neighboring nodes influence the stability of a node. For example, node 420 is connected: to node 422 via edge 442; to node 426 via edge 446; and to node 428 via edge 448. Arrows 430, 432, and 434 are velocity vectors for nodes 422, 426, and 428, respectively.
  • In this exemplary embodiment, the node of interest is node 420. Node 420 has two vectors, 405 and 410, which are the velocity vectors, hoodVel(ν) and Dispv, respectively. The dot product of vectors 405 (which is associated with the neighboring nodes) and 410 (which is associated with the node of interest) generates angle 415. The angle between the hoodVel(ν) and Dispv vectors (i.e., angle 415) measures the stability of the nodal position.
  • In this exemplary embodiment, the degree of the node is the number of edges incident to a node, with the loop incident to the node counting for two degrees. For example, node 428 has a degree of 1 (as only a single edge, edge 448, connects to node 428) whereas node 420 has a degree of 3 (as three edges, edges 442, 446, and 448, connect to node 420). Nodes with a degree of 1 are not influenced by dampening, as at least a node with a degree of 2 is required in order to be influenced by dampening. The rest of the algorithm is calibrated to work correctly for nodes with a degree of 1, and thus expected to stabilize naturally.
  • FIG. 5 depicts a block diagram of components of a computing device, generally designated 500, in accordance with an illustrative embodiment of the present invention. It should be appreciated that FIG. 5 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environment may be made.
  • Computing device 500 includes communications fabric 502, which provides communications between computer processor(s) 504, memory 506, persistent storage 508, communications unit 510, and input/output (I/O) interface(s) 512. Communications fabric 502 can be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system. For example, communications fabric 502 can be implemented with one or more buses.
  • Memory 506 and persistent storage 508 are computer readable storage media. In this embodiment, memory 506 includes random access memory (RAM) 514 and cache memory 516. In general, memory 506 can include any suitable volatile or non-volatile computer readable storage media.
  • Program instructions and data used to practice embodiments of the present invention may be stored in persistent storage 508 for execution and/or access by one or more of the respective computer processors 504 via one or more memories of memory 506. In this embodiment, persistent storage 508 includes a magnetic hard disk drive. Alternatively, or in addition to a magnetic hard disk drive, persistent storage 408 can include a solid state hard drive, a semiconductor storage device, read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, or any other computer readable storage media that is capable of storing program instructions or digital information.
  • The media used by persistent storage 508 may also be removable. For example, a removable hard drive may be used for persistent storage 508. Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer onto another computer readable storage medium that is also part of persistent storage 508.
  • Communications unit 510, in these examples, provides for communications with other data processing systems or devices. In these examples, communications unit 510 includes one or more network interface cards. Communications unit 510 may provide communications through the use of either or both physical and wireless communications links. Program instructions and data used to practice embodiments of the present invention may be downloaded to persistent storage 508 through communications unit 510.
  • I/O interface(s) 512 allows for input and output of data with other devices that may be connected to computing device 500. For example, I/O interface 512 may provide a connection to external devices 518 such as a keyboard, keypad, a touch screen, and/or some other suitable input device. External devices 518 can also include portable computer readable storage media such as, for example, thumb drives, portable optical or magnetic disks, and memory cards. Software and data used to practice embodiments of the present invention, e.g., software and data, can be stored on such portable computer readable storage media and can be loaded onto persistent storage 508 via I/O interface(s) 512. I/O interface(s) 512 also connect to a display 520.
  • Display 520 provides a mechanism to display data to a user and may be, for example, a computer monitor.
  • The programs described herein are identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature herein is used merely for convenience and thus, the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.
  • The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
  • The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
  • Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
  • Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
  • Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
  • The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.

Claims (1)

What is claimed is:
1. A computer system for visualizing elements of a graph of a set of at least two nodes, the computer system comprising:
one or more computer processors;
one or more non-transitory computer readable storage media; and
program instructions stored on the one or more non-transitory computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:
responsive to combining a set of attractive forces and a set of repulsive forces of the set of at least two nodes, program instructions to generate a set of new node positions;
program instructions to determine a position of the set of at least two nodes is based on a set of vectors of the set of at least two nodes, wherein each node is a common point to the set of vectors and is associated with an angle;
program instructions to calculate a relative stability value of a first node of the set of at least two nodes based on a dampening heuristic, wherein the dampening heuristic is based on: a degree of nodes, any variations in vector magnitude due to non-resting states and to fluxional stability of the at least two nodes, and any changes in the set of attractive forces and the set of repulsive forces of the set of at least two nodes;
wherein the fluxional stability indicates a level of dynamic behavior exhibited by the at least two nodes;
program instructions to assess a position of the set of at least two nodes as either a global minimum, a local minimum, or an equilibrium; and
program instructions to display the set of at least two nodes in the graph by linking at least two nodes from the set of new node positions with an edge, based, at least in part, on: the set of attractive forces and the set of repulsive forces, a distance, and the relative stability value determined to be above a threshold value.
US15/376,743 2015-06-05 2016-12-13 Force-directed graphs Abandoned US20170084064A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/376,743 US20170084064A1 (en) 2015-06-05 2016-12-13 Force-directed graphs

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US14/731,837 US10269152B2 (en) 2015-06-05 2015-06-05 Force-directed graphs
US14/971,338 US9418457B1 (en) 2015-06-05 2015-12-16 Force-directed graphs
US15/157,946 US9547925B2 (en) 2015-06-05 2016-05-18 Force-directed graphs
US15/376,743 US20170084064A1 (en) 2015-06-05 2016-12-13 Force-directed graphs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/157,946 Continuation US9547925B2 (en) 2015-06-05 2016-05-18 Force-directed graphs

Publications (1)

Publication Number Publication Date
US20170084064A1 true US20170084064A1 (en) 2017-03-23

Family

ID=56610766

Family Applications (4)

Application Number Title Priority Date Filing Date
US14/731,837 Expired - Fee Related US10269152B2 (en) 2015-06-05 2015-06-05 Force-directed graphs
US14/971,338 Expired - Fee Related US9418457B1 (en) 2015-06-05 2015-12-16 Force-directed graphs
US15/157,946 Active US9547925B2 (en) 2015-06-05 2016-05-18 Force-directed graphs
US15/376,743 Abandoned US20170084064A1 (en) 2015-06-05 2016-12-13 Force-directed graphs

Family Applications Before (3)

Application Number Title Priority Date Filing Date
US14/731,837 Expired - Fee Related US10269152B2 (en) 2015-06-05 2015-06-05 Force-directed graphs
US14/971,338 Expired - Fee Related US9418457B1 (en) 2015-06-05 2015-12-16 Force-directed graphs
US15/157,946 Active US9547925B2 (en) 2015-06-05 2016-05-18 Force-directed graphs

Country Status (1)

Country Link
US (4) US10269152B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061921A (en) * 2019-12-04 2020-04-24 智器云南京信息科技有限公司 Image layout implementation method, system, terminal equipment and storage medium
US10803577B2 (en) 2017-12-28 2020-10-13 Techinsights Inc. Reverse engineering data analysis system, and integrated circuit component data processing tool and method thereof
US11388065B1 (en) * 2021-02-28 2022-07-12 Nozomi Networks Sagl Method for representing objects of a network in a GUIs
US20230245357A1 (en) * 2022-02-02 2023-08-03 Nozomi Networks Sagl Method for representing objects of a network in a gui with a graph clustering

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9988295B2 (en) 2016-02-15 2018-06-05 FOMS Inc. Fiber optic manufacturing in space
US10550028B2 (en) 2016-02-15 2020-02-04 FOMS Inc. Fiber optic manufacturing in space
CN108683448B (en) * 2018-04-24 2020-10-09 中国民航大学 Influence node identification method and system suitable for aviation network
US10706376B2 (en) * 2018-07-09 2020-07-07 GoSpace AI Limited Computationally-efficient resource allocation
US10216546B1 (en) * 2018-07-09 2019-02-26 Insitu Software Limited Computationally-efficient resource allocation
WO2021014256A1 (en) * 2019-07-19 2021-01-28 株式会社半導体エネルギー研究所 Method and system for converting object into text
US11424039B1 (en) 2022-01-13 2022-08-23 Capitol AI, Inc. Generating easy-to-understand graphs of large data sets
US11436773B1 (en) * 2022-01-13 2022-09-06 Capitol AI, Inc. Modifying data visualizations to permit improved display of clustered data points

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050180330A1 (en) * 2004-02-17 2005-08-18 Touchgraph Llc Method of animating transitions and stabilizing node motion during dynamic graph navigation
US20080319719A1 (en) * 2007-06-25 2008-12-25 Grose David L Methods and systems for displaying network information
US20130229416A1 (en) * 2013-02-01 2013-09-05 Concurix Corporation Transformation Function Insertion for Dynamically Displayed Tracer Data

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5995114A (en) 1997-09-10 1999-11-30 International Business Machines Corporation Applying numerical approximation to general graph drawing
EP1628229A1 (en) * 2003-05-28 2006-02-22 Celestar Lexico-Sciences, Inc. Pathway information display device
US7318199B2 (en) * 2003-09-11 2008-01-08 Oracle International Corporation Algorithm for automatic layout of objects in a database
US7275014B1 (en) 2005-02-10 2007-09-25 At&T Corporation Distributed graph layout for sensor node networks
US20060290697A1 (en) 2005-06-24 2006-12-28 Tom Sawyer Software System for arranging a plurality of relational nodes into graphical layout form
US8902231B2 (en) * 2006-10-20 2014-12-02 Alcatel Lucent Method and apparatus for displaying graphical representations of graph layouts
US7792816B2 (en) 2007-02-01 2010-09-07 Icosystem Corporation Method and system for fast, generic, online and offline, multi-source text analysis and visualization
US7685141B2 (en) * 2007-06-06 2010-03-23 Yahoo! Inc. Connection sub-graphs in entity relationship graphs
US20090287991A1 (en) 2008-05-19 2009-11-19 Battelle Memorial Institute Generation of fusible signatures for fusion of heterogenous data
US8497863B2 (en) * 2009-06-04 2013-07-30 Microsoft Corporation Graph scalability
US8676864B2 (en) * 2011-08-19 2014-03-18 Salesforce.Com, Inc. Methods and systems for providing schema layout in an on-demand services environment
US20140089287A1 (en) * 2012-09-25 2014-03-27 Information Exploration, LLC Information space exploration tool system and method
US20130232452A1 (en) 2013-02-01 2013-09-05 Concurix Corporation Force Directed Graph with Time Series Data
US20140317019A1 (en) 2013-03-14 2014-10-23 Jochen Papenbrock System and method for risk management and portfolio optimization
CN103500237A (en) 2013-07-03 2014-01-08 国家电网公司 Automatic image forming method for power distribution network based on logic layout
CN104217073B (en) 2014-08-26 2017-07-25 重庆邮电大学 A kind of visual layout's method of network community gravitation guiding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050180330A1 (en) * 2004-02-17 2005-08-18 Touchgraph Llc Method of animating transitions and stabilizing node motion during dynamic graph navigation
US20080319719A1 (en) * 2007-06-25 2008-12-25 Grose David L Methods and systems for displaying network information
US20130229416A1 (en) * 2013-02-01 2013-09-05 Concurix Corporation Transformation Function Insertion for Dynamically Displayed Tracer Data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10803577B2 (en) 2017-12-28 2020-10-13 Techinsights Inc. Reverse engineering data analysis system, and integrated circuit component data processing tool and method thereof
US11301988B2 (en) 2017-12-28 2022-04-12 Techinsights Inc. Reverse engineering data analysis system, and integrated circuit component data processing tool and method thereof
CN111061921A (en) * 2019-12-04 2020-04-24 智器云南京信息科技有限公司 Image layout implementation method, system, terminal equipment and storage medium
US11388065B1 (en) * 2021-02-28 2022-07-12 Nozomi Networks Sagl Method for representing objects of a network in a GUIs
US20230245357A1 (en) * 2022-02-02 2023-08-03 Nozomi Networks Sagl Method for representing objects of a network in a gui with a graph clustering
US11983803B2 (en) * 2022-02-02 2024-05-14 Nozomi Networks Sagl Method for representing objects of a network in a GUI with a graph clustering

Also Published As

Publication number Publication date
US10269152B2 (en) 2019-04-23
US20160358353A1 (en) 2016-12-08
US9418457B1 (en) 2016-08-16
US9547925B2 (en) 2017-01-17
US20160358350A1 (en) 2016-12-08

Similar Documents

Publication Publication Date Title
US9547925B2 (en) Force-directed graphs
KR102271262B1 (en) CGR Neural Networks
US10657304B1 (en) Mapping logical qubits on a quantum circuit
US9921797B2 (en) Displaying user activity in real-time collaborative editing systems
Bae et al. A fast continuous max-flow approach to non-convex multi-labeling problems
WO2013070556A1 (en) Shared edge for a display environment
US11461694B2 (en) Machine learning implementation in processing systems
JP7235788B2 (en) Map coordinate processing method, map coordinate processing device, electronic device, storage medium and computer program product
US20150378553A1 (en) Dynamic hover grace period
US11003354B2 (en) Compensating for user hand tremors when using hand-held electronic devices
US20200189098A1 (en) Selecting actions to be performed by a robotic agent
US11697205B2 (en) Determining control policies for robots with noise-tolerant structured exploration
CN113711246A (en) Multi-control quantum state inversion gate
US11263551B2 (en) Machine learning based process flow engine
US11238043B2 (en) Automatic quantum searching of object databases
Duffell et al. High-frequency Voronoi noise reduced by smoothed-mesh motion
US11410077B2 (en) Implementing a computer system task involving nonstationary streaming time-series data by removing biased gradients from memory
US20160132179A1 (en) Three Dimensional Object Manipulation Through A Flexible Display Device
WO2021229320A1 (en) Matrix sketching using analog crossbar architectures
CN112749697A (en) Accelerated object tagging using a priori geometric knowledge
Moro et al. Directional algorithms for the frequency isolation problem in undamped vibrational systems
US8812278B2 (en) Sobolev Pre-conditioner for optimizing III-conditioned functionals
US10423293B2 (en) Controlling cursor motion
US20110082645A1 (en) Variable grid for finite difference computation
US20240020528A1 (en) Training a neural network using an accelerated gradient with shuffling

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GLOVER, RAYMOND S.;REEL/FRAME:040718/0352

Effective date: 20150605

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO PAY ISSUE FEE