Longest path from node 0, in a acyclic directed graph(DAG)

I'm having some problems finding the longest path from node 0 to any other node, as long as it is the longest path from node 0.
I have done topological sorting from node 0.
I have also made another algorithm which returns a 2-D matrix of relative distance between the nodes.
For example:
A DAG of order 10 has the following adjacency list and matrix:
10(order)
0 0 0 0 0 0 0 0 1 0
1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 1 1
1 1 0 0 1 0 0 1 0 0
0 1 1 1 0 0 0 0 0 0
1 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0
10 (order)
8
0
5
0 7 8 9
0 1 4 7
1 2 3
0 2
9
The distance matrix values for the above graph are:
00 10 10 10 10 10 10 10 01 02
01 00 10 10 10 10 10 10 02 03
10 10 00 10 10 10 10 10 10 10
02 02 03 00 02 01 10 02 03 03
01 10 02 10 00 10 10 01 01 01
01 01 02 10 01 00 10 01 02 02
02 01 01 01 03 02 00 03 03 04
01 10 01 10 10 10 10 00 02 03
10 10 10 10 10 10 10 10 00 01
10 10 10 10 10 10 10 10 10 00
The distance matrix above shows the shortest path between nodes, unfortunatley I need to find the longest path.
Can someone please help me with the algorithm for that, I have been awake for a long time and I still can't figure it out.....

So you just want someone to write your entire script as soon as possible (today), so you can hand it in for homework? Seems sensible to me.

Similar Messages

  • Hierarchy - having longest paths for a value

    Hi there, I have a query which need to query hierarchical data from our chart of account (segment3). This parent-child relationship involve having many branches and leaves. I would like to be able to pull out the longest path for each of them and not all the values. Here's the case.
    Value 1121 is the lowest level and its hierarchiy look like this.
    1121
    4CQU TOUS
    3CQU
    2DES LQLO LT02
    | |
    1VTI LT01
    or
    1121 - 4CQU - 3CQU - 2DES - 1VTI
    1121 - 4CQU - 3CQU - LQLO
    1121 - 4CQU - 3CQU - LT02 - LT01
    1121 - TOUS
    With the following query
    SELECT SYS_CONNECT_BY_PATH(parent_flex_value, '.')||'.'||f1.flex_value path,level
    FROM fnd_flex_value_children_v f1
    WHERE f1.flex_value_set_id = 1005215
    AND f1.flex_value = '1121'
    CONNECT BY PRIOR flex_value = parent_flex_value;
    I get the following
    PATH LEVEL
    .1VTI.2DES.3CQU.4CQU.1121     4
    .2DES.3CQU.4CQU.1121     3
    .3CQU.4CQU.1121     2
    .4CQU.1121     1
    .LQLO.3CQU.4CQU.1121     3
    .LT01.LT02.3CQU.4CQU.1121     4
    .LT02.3CQU.4CQU.1121     3
    .TOUS.1121     1
    I would like to pull out only the following
    .1VTI.2DES.3CQU.4CQU.1121     4
    .LQLO.3CQU.4CQU.1121     3
    .LT01.LT02.3CQU.4CQU.1121     4
    .TOUS.1121     1
    Anyone knows how can this be done? I'm using 10g database along with 11.5.10.2 apps.
    Thanks a lot.
    Edited by: ChrisT1826 on 2010-07-21 06:56

    Hi,
    Apparantly, you're doing something like this now:
    SELECT  SYS_CONNECT_BY_PATH (id, ' - ')     AS path
    FROM     ...
    ;but you only want to get one row of results; in this case
    1121 - 4CQU - 3CQU - 2CQU - 2DES - 1VTIbecause it's the longest (6 levels).
    Is that right.
    Do something like this instead:
    WITH     connect_by_results     AS
         SELECT  SYS_CONNECT_BY_PATH (id, ' - ')     AS path
         ,     LEVEL                             AS lvl
         FROM     ...     -- The rest of your original CONNECT BY query goes here
    ,     got_rnk          AS
         SELECT     path
         ,     RANK () OVER (ORDER BY  lvl  DESC)     AS rnk
         FROM     connect_by_results
    SELECT     path
    FROM     got_rnk
    WHERE     rnk     = 1
    ;If there happens to be a tie (two or more rows with the same longest-length path) the query above will display all of the rows with the longest path.
    If that's not what you want, add tie-breakers to the end of the analytic ORDER BY clause, or use ROW_NUMBER instead of RANK.
    Analytic fucntions usually interfere with CONNECT BY when they're in the same query. That's why I used two sub-queries:
    (1) connect_by_results has all the CONNECT BY stuff, but no analytics
    (2) got_rnk has all the analytics, but no CONNECT BY stuff.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data.
    Edited by: Frank Kulash on Jul 21, 2010 10:16 AM
    This answers the original question, or at least what I remember as being on this site when I started writing. It looks like the question has changed.
    Definely post CREATE TABLE and INSERT statements for the sample data, and explain how you get those results.

  • GeneralException Node(( Context path of node ): cannot bind or add element,

    Hello all,
    Stack trace :
    GeneralException Node((<Context path of node>): cannot bind or add element, because it is already bound to a node
    I am trying to upload data from excel file in web dynpro context.In the process,  when I create and add  an element to the node which I want to populate with excel data, it throws the above mentioned exception.
    Any idea as to wht is causing the problem ?

    Hi,
    GeneralException Node((<Context path of node>): cannot bind or add element, because it is already bound to a node
    It seems that its a mapped node, try to bind or addelements at the source.
    Ex: If this node is mapped from controller to view try to add elements in contoller instead of doing in view.
    Regards
    Ayyapparaj

  • Print parent to child link or path from the same table

    create table dummy(nodeid number, parentid number, nodename varchar2(20));
    insert into dummy values(100,-1,'homegoods');
    insert into dummy values(101,100,'kitchen');
    insert into dummy values(102,101,'skillet');
    select * from dummy gives:
    nodeid     parentid   node_name
    100         -1         HOMEGOODS
    101         100       KITCHEN
    102         101       SKILLETnote: parent id is the node id in the same table except for the top node.
    select nodeid, nodename, 'i want complete path from parent to child here' as path from dummy where nodeid = 102
    expected result
    nodeid   name     path
    102       skillet     homegoods>kitchen>skillethow can I do this ?
    thanks

    I thought it worked but I guess i am stuck in with real data . Please bear with me. I have never done hierarchical queries -
    there are more ids and fields that I have to put in the condition so here are the new create/insert sample stmnts.
    drop table dummy;
    create table dummy(hdr_id number,node_id number, config_item_id number, parent_config_item_id number,ps_node_name varchar2(20));
    insert into dummy values(35981400,     21400,     24547505,     -1,     'AT2200-10H');
    insert into dummy values(35981400,     21420,     24547506,     24547505,     'AT2200-10H-UWMOD');
    insert into dummy values(35981400,     37020,     24547564,     24547506,     'Corona Treater');
    insert into dummy values(35981400,     37021,     24547565,     24547564,     'None');
    insert into dummy values(35981400,     37024,     24547566,     24547506,     'Corona Type');
    insert into dummy values(35981400,     1877321,25766779,     24547566,     'None');
    select ps_node_name name,'path' from dummy where hdr_id = 35981400
    --I have to have hdr_id=something as a condition as there are numerous rows with different ids.
    so when I query for names in one hrd_id, I should get all names in that session, with paths linking parent to child upto current level.
    expected result :
    AT2200-10H     
    AT2200-10H-UWMOD        AT2200-10H>AT2200-10H-UWMOD
    Corona Treater        AT2200-10H>AT2200-10H-UWMOD>Corona Treater
    None                        AT2200-10H>AT2200-10H-UWMOD>Corona Treater>None
    Corona Type        AT2200-10H>AT2200-10H-UWMOD>Corona Type
    None                        AT2200-10H>AT2200-10H-UWMOD>Corona Type>None
    sorry for the confusion.
    Edited by: OAF-dev on Nov 18, 2009 4:24 PM

  • Displaying the selected multiple records from node using onleadselect event

    Hi all,
    How to display the selected multiple records from node to node using onleadselect event.
    i came to know tht to fulfill this requirement i need to use the method get_selected_elements,
    how to use this method in my event??
    sree

    Hi Sree,
    Try below code..
    DATA : lo_nd_it_lips TYPE REF TO if_wd_context_node,             // This is first node
                 lo_el_it_lips TYPE REF TO if_wd_context_element,
                 ls_it_lips TYPE wd_this->Element_it_lips,
                 lt_it_lips TYPE wd_this->Elements_it_lips.
               DATA: wa_temp TYPE REF TO if_wd_context_element,
                lt_temp TYPE wdr_context_element_set.
    * navigate from <CONTEXT> to <IT_LIPS> via lead selection
          lo_nd_it_lips = wd_context->path_get_node( path = `ZRETURN_DEL_CHANGE.CHANGING_3.IT_LIPS` ).
          CALL METHOD lo_nd_it_lips->get_selected_elements
            EXPORTING
                INCLUDING_LEAD_SELECTION = ABAP_true
            RECEIVING
              set = lt_temp.
          DATA lo_nd_pack_mat TYPE REF TO if_wd_context_node.          //Second Node
          DATA lo_el_pack_mat TYPE REF TO if_wd_context_element.
          DATA ls_pack_mat TYPE wd_this->Element_pack_mat.
          DATA lt_pack_mat TYPE wd_this->Elements_pack_mat.
    * navigate from <CONTEXT> to <PACK_MAT> via lead selection
          lo_nd_pack_mat = wd_context->get_child_node( name = wd_this->wdctx_pack_mat ).
          lo_nd_pack_mat->get_static_attributes_table( importing table = lt_pack_mat ).
          LOOP AT lt_temp INTO wa_temp.
            CALL METHOD wa_temp->get_static_attributes
              IMPORTING
                static_attributes = ls_it_lips.
                  ls_pack_mat-vbeln = ls_it_lips-vbeln.
                  ls_pack_mat-material = ls_it_lips-matnr.
                  ls_pack_mat-vgbel = ls_it_lips-vgbel.
                    append ls_it_lips to lt_unpack.
                  CLEAR ls_pack_mat.
           ENDLOOP.
    Cheers,
    Kris.

  • Path from vnode pointer

    How can I get a path from vnode pointer?
    Thanks, Veselka

    Hi, Mike,
    Is the 'pathname' the full pathname or just the 'name'
    of the vnode ?The new facility caches the full pathname.
    Does vnode or inode structure in Solaris 10 also have
    info about its parent
    directory like the DNLC entry ?The vnode does not. The inode does not. Other filesystem-specific
    *nodes may of course do whatever they like.
    In Solaris 8 and 9, if the DNLC does not have the
    vnode entry that you search for,
    then in order to get the pathname and the parent
    directory vnode(dvp) for this
    vnode, what is the quick way to get those info from
    the file system ?If you have no cached info to help you at all, things are quite painful
    and you have to resort to either a find by inode number (which you
    can get from the inode), or a getcwd-style algorithm (which you can
    do if you can find the directory's vnode) where you look at all the
    directory entries of the parent dir until you find yours, and then
    recurse backward to find the parent's path, and so on. These are all
    the issues that we've automated in the new technology in Solaris 10.
    Eric Schrock did the work for this, BTW: his blog is at blogs.sun.com/eschrock/
    -Mike

  • Get path to nodes by value

    Can enybody please help me. I don't know really how to get path from xml
    for example, this is xml:
    <?xml version="1.0"?>
    <purchase_order>
    <po_items>
    <item>
    <name>#Name#</name>
    <quantity>#number#</quantity>
    </item>
    </po_items>
    </purchase_order>
    and get out path by variebles #Name# and #number#.
    In this case i need to get result:
    purchase_order/po_items/item/name
    and
    purchase_order/po_items/item/quantity

    Pitty you did not mention your db version.
    putting together some functions from FunctX one can write
    SQL> with t as (
    select xmltype('<?xml version="1.0"?>
    <purchase_order>
    <po_items>
    <item>
    <name>#Name#</name>
    <quantity>#number#</quantity>
    </item>
    </po_items>
    </purchase_order>') xml from dual
    select x.*
      from t t,
      xmltable('declare function local:index-of-node  ( $nodes as node()* ,  $nodeToFind as node() )  as xs:integer*
                       for $seq in (1 to count($nodes))  return $seq[$nodes[$seq] is $nodeToFind]
                   declare function local:path-to-node-with-pos  ( $node as node()? )  as xs:string
                       fn:string-join( for $ancestor in $node/ancestor-or-self::*
                                              let $sibsOfSameName := $ancestor/../*[fn:name() = fn:name($ancestor)]
                                           return fn:concat(fn:name($ancestor),
                                                                   if (fn:count($sibsOfSameName) <= 1)
                                                                   then ""  else fn:concat( "[", local:index-of-node($sibsOfSameName,$ancestor),"]"))
               element e {local:path-to-node-with-pos(//item/name[. = "#Name#"]), element name {//name}},
               element e {local:path-to-node-with-pos(//item/quantity[. = "#number#"]), element name {//quantity}}'
               passing t.xml
               columns value varchar2(50) path 'name',
                            path varchar2(50) path 'text()'
               ) x
    VALUE      PATH                                   
    #Name#     purchase_order/po_items/item/name      
    #number#   purchase_order/po_items/item/quantity  
    2 rows selected.

  • How to find out web-inf path from the physical drive?

    How to find out web-inf path from the physical drive?
    I have some user profiles in web-inf directory.SO I want to know the path from root directory like
    d:/program files/allaire/jrun/appname/web-inf/profiles/username like that.
    Presently I am able to get the path upto the application directory and from that I am concatinationg web-inf/profiles/username .
    But it is giving problems when it is deployed under unix or linux.Because web-inf there it treats as WEB_INF
    SO I want to get the path of web-inf directory with out hard coding.
    Thanku

    String path = application.getRealPath("/WEB-INF/profiles/username");
    Note sure why you need this, but you don't need the real path to read the file - you can get an InputStream using the relative path. See ServletContext getResource() and getResourceAsStream().

  • [b]HOW TO:[/b]  Copy and Paste THE Filename AND its PATH from Finder

    HOW TO DO THIS: Copy and Paste THE selected Filename AND its entire PATH from Finder to another application as in document footer reference, or document database which has a path field to aid in locating the file later.
    Finder, Spotlight and File Info (can be used to display Path) or using Command F, command I, etc. but user is not allowed to copy the path to clipboard.
    This is rudimentary, yet the word Path, is unknown to Mac Help.
    Message was edited by: jbov

    AJ,
    Isn't it amazing....There is no Command Key for this action? Apple Care was confounded too. And thanx, it'll be a help....
    Jim
    its tedious, but this should work:
    open a terminal window.
    Drag and drop the icon for the file in the terminal
    window.
    This will put the full path including the filename on
    the command line.
    Copy the path from the command line, and paste
    (wherever).
    Close the terminal window.

  • Trying to subtract a complex path from another, can't get the result I need

    I'd really appreciate some help on this. I'm not familiar with illustrator and am stuck trying to accomplish what I hope is an easy task. I've uploaded my .ai here just in case anyone can help.
    I have two layers, one is a collection of lines/paths which make up a line drawing of a tree, then the layer above that is a bunch of paths using a 'distressed' brush. I've read several tutorials on using the pathfinder tool to subtract one from the other but every time I'm left with way more of the tree deleted than I want. I tried a simple test case (subtracting a single distressed path from a rectangle shape) and it worked as expected. I don't know why this one isn't working other than maybe it's just too complex.
    On the left (tempoary red background) is what my layers look like, on the right is the effect I'm trying to achieve (the white parts removed from the black parts). I need this to end up being a vector so it can get cut out of a vinyl decal.
    Thanks a ton for any help, I'm really stuck on this as I spent 99% of my time in photoshop.

    That worked perfectly, thank you. I selected everything on the tree layer, made compound path, then did the same on the texture layer. Then the subtract worked great.
    Just so I understand what's going on here - make compound path means take all the selected stuff and make it into one single shape/path, vs. having a bunch of separate paths on the same layer?
    Really appreciate your help, thanks again.

  • How to display all value of metadata from nodes collection model in content presenter template

    Hi All,
    first of all the new look of OTN is great.
    coming to problem i am facing (i dont know whr to ask here or in portal forum).
    i am creating a content presenter template to display list of items.
    now as per requirement i need to create a drop down to filter the list.
    now while check- in a file author would choose a value in one metadata field lets say xCategory(which is a single select list).
    i have to display similar category list on portal to allow user to filter list.
    i could hv used view of xCategory but problem is files are targeted to role using ACL. so u see i cant display all category to all users.
    also customer wants this whole thing to be Dynamic i.e. they can add value of xCategory later that to could be only for specific role (on portal it should be role specific , author can see whole list not a problem there).
    so what i think is if content is given as search result so the category. so now if i can get the all xCategory metedata from 'nodes' collection model in template i can create drop down with out having any additional bean.
    somthing like this
    #{nodes.xCategory} (but this one is not correct).
    please suggest me any solution.
    thanks
    -somesh

    Hi,
    you can do all of what you said with JSF. ADF Faces provides drag and drop functionality (have a look at the Web Developer Guide) that allow you to move nodes within a tree. The drag and drop framework sends an event notification to the server with a reference to the changed node.You can also have context menus on a tree node to help users creating, deleting and editing a tree nodes. JavaScript isn't required at all, even if you wanted to drag and drop a row in a table on top of a tree node to create a new tree node.
    I just finished a book project in which we explained this usecase. As soon as I find the time, I'll follow up with a blog entry on this as it seems to be a common requirement. However, as mentioned, the web developer guide on OTN explains drag and drop in ADF Faces pretty well.
    However, if you choose the "Search" link above, choose JDeveloper and ADF as the product to search for and type drag and drop as the search string, then you get lots of code sample posted in the past to this forum
    Frank

  • How to find the OBIEE report  (Catelogue) path from BI enabled excel sheet

    Dear All,
    I have an excel sheet where the data is coming from BI server. How can I find the BI report name and path from the excel sheet.
    Regards
    Mustafa

    Sorry Friends,
    May be I am not conveying the message properly.
    Let me try to do it again.
    I have an excel sheet which is created by somebody else and send me by mail.
    This excel sheet is having connectivity to the BI server and pulling data from BI.
    What I want to know is to get the BI report and view name from the excel sheet so that I can do some modification in the report.
    Please not the owner of the excel file is un-reachable.
    Let say I have uploaded the sample Excel in the following URL http://www.fileflyer.com/view/VSHtOA8.
    This excel file is pulling data from our BI Server
    Could anybody tell me the report path, name and view name from the excel file
    Regards
    Mustafa

  • How can I script moving paths from one file to another?

    Hello. I have 1 image with various color correction layers. The other is the exact same size but only contains paths. How can I script moving paths from one file to another? Thanks, in advance, for any help you can offer. Thanks!

    Thanks! This one actually worked for me. Thanks for your help.
    http://forums.adobe.com/message/3305389#3305389

  • Issue with Getting the file path from InputFile component

    Hi,
    One of our requirement is like below:
    I am working on ADF 11g (latest release R1) page. User will select the file and when he/she clicks on the Save button we need to store the file path in the database.
    In the database file_path is varchar2(300). We need to store just the file path. I am using InputFile component but filepath is not getting inserted.
    This is really urgent. It would be really appreciate if anyone can guide me on this.
    Thanks
    MC

    Hi Mahesh,
    I have manage to store the file path from the InputFile component in Jdev 11g. I found the file upload script from this forum and manage to alter it so that i could save the file path to the database. But my problem is to retrieve it back to view as a document. Hope this will help you :)
    This is an example of what I have manage to save to my DB :
    (CLOB) //192.168.238.53/c$/Research/Docs/0906160744/EyeCandyLog.txt
    In my form, I save the file path first before I update the other fields. My code is something like this :
    public void uploadFile(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    InputStream in;
    FileOutputStream out;
    if(tanda == 0){
    try {
    // final Context context = getInitialContext();
    RS01Proposal rS01Proposal = (RS01Proposal)new InitialContext().lookup("Phase2-RS01Proposal#sr.model.RS01Proposal");
    id = rS01Proposal.dptProposalid();
    tanda = tanda + 1;
    System.out.println("tanda"+ tanda);
    } catch (Exception ex) {
    ex.printStackTrace();
    System.out.println("id"+id);
    proposal = id.substring(6);
    System.out.println("proposal"+proposal);
    UploadedFile file = (UploadedFile)valueChangeEvent.getNewValue();
    String fileUploadLoc = "//192.168.238.53/c$/Research/Docs/"+id+"/";//The place where file will saved
    //create upload directory
    boolean exists = (new File(fileUploadLoc)).exists();
    if (!exists) {
    (new File(fileUploadLoc)).mkdirs();
    if (file != null && file.getLength() > 0) {
    FacesContext context = FacesContext.getCurrentInstance();
    FacesMessage message =
    new FacesMessage("File Uploaded " + file.getFilename() +
    " (" + file.getLength() + " bytes)");
    *// extracting the file message to get the path*
    context.addMessage(valueChangeEvent.getComponent().getClientId(context), message);
    columnL = valueChangeEvent.getComponent().getClientId(context);
    column = columnL.substring(9);
    System.out.println(column);
    columnLengkap = "RS01"+column.toUpperCase();
    System.out.println("columnLengkap"+columnLengkap);
    *try {*
    out = new FileOutputStream(fileUploadLoc + "" + file.getFilename());
    in = file.getInputStream();
    *for (int bytes = 0; bytes < file.getLength(); bytes++) {*
    out.write(in.read());
    in.close();
    out.close();
    } catch (IOException e) {
    e.printStackTrace();
    } else {
    String filename = file != null ? file.getFilename() : null;
    String byteLength = file != null ? "" + file.getLength() : "0";
    FacesContext context = FacesContext.getCurrentInstance();
    FacesMessage message =
    new FacesMessage(FacesMessage.SEVERITY_WARN, " " + " " +
    filename + " (" + byteLength + " bytes)",
    null);
    context.addMessage(valueChangeEvent.getComponent().getClientId(context),
    message);
    System.out.println(fileUploadLoc+file.getFilename());
    a = fileUploadLoc+file.getFilename();
    b = b + 1;
    if (flagInsert == 0){
    try {
    // final Context context = getInitialContext();
    RS01Proposal rS01Proposal = (RS01Proposal)new InitialContext().lookup("Phase2-RS01Proposal#sr.model.RS01Proposal");
    rS01Proposal.insertDoc(id,proposal,columnLengkap,a);
    flagInsert = flagInsert + 1;
    System.out.println("tanda"+ tanda);
    //session
    ProposalSession.storeCurrentProposalId(id);
    } catch (Exception ex) {
    ex.printStackTrace();
    }else{
    // update proses
    try {
    // final Context context = getInitialContext();
    RS01Proposal rS01Proposal = (RS01Proposal)new InitialContext().lookup("Phase2-RS01Proposal#sr.model.RS01Proposal");
    rS01Proposal.updateDoc(id,proposal,columnLengkap,a);
    flagInsert = flagInsert + 1;
    //session
    ProposalSession.storeCurrentProposalId(id);
    System.out.println("tanda"+ tanda);
    } catch (Exception ex) {
    ex.printStackTrace();
    }

  • What is the best way to get PATHS from one Photoshop psd file to another?

    Hi! New on the site, and I signed up specifically to ask the best way to import one .psd file into another, including the paths on the paths palette.
    Almost all of my Photoshop drawings make heavy use of vector paths, which I then stroke using using PS natural-media brushes and the "stroke paths" function (usually with "simulate pressure" checked.) Also, my .psd files tend to be, um, HUGE... and I typically break up a whole drawing into separate PS files and then assemble all of them into one final finished graphic.
    I have no trouble moving raster stuff from file to file. Just put all the layers I want to transfer into a group and drag the group to the other .psd. Works fine, including layer masks. But I have not found a good way to get vector paths from the Paths palette of one .psd to another. Of course I can select paths and copy them to the Win clipboard, switch to the other .psd, and paste them back in. The drawback to that method is that I lose the correct size relation between the results of previously done "stroke paths" operations (on raster layers) and the paths that generated them. Sometimes the copied-in paths are way too large, sometimes way too small, never Just Right.
    As I'm sure most of you know, if you resize an entire Photoshop document from within PS, any paths it contains are correctly resized along with everything else. That's no longer true after grouped raster layers are dragged over to another document but paths are copied and pasted in. The size connection is lost. (Location placement, too.)
    I WANT those paths! After I bring a piece of a drawing into the full final drawing, what looked good when I was working on it separately often doesn't look right any longer and I want to re-stroke those paths using different brush diameter, opacity, etc., or maybe even a completely different brush.
    I've tried bring outside .psd files in as smart objects with the Place command but either that doesn't work or I'm not doing it right. Using Place, the paths in the Placed document don't come in at all.
    I'll be very grateful for any hints or strategies any of you knowledgeable folks can give me. Thanks very much!
    Jim
    Note, PS CS3 extended on Win 7 pro.

    Denny
    1. Connect the two macs - firewire, ethernet, sneakernet as suits you - and copy the iPhoto Library Folder from Old Machine to New Machine. Drag it from Home/Pictures to the same location on the new machine.
    2. Because all the files 'belong' to the account on the old machine, you have to update the file permissions: hence Download BatchMod from
    http://macchampion.com/arbysoft/
    And apply it to the iPhoto Library Folder using the settings found here:
    http://homepage.mac.com/toad.hall/.Pictures/Forum/BatChmod.png
    (Credit to Old Toad for this one).
    Note: This must be run on the new machine after copying the files over.
    3. Then launch iPhoto on the new machine.
    Regards
    TD

Maybe you are looking for